Where to find documentation of all available options for the $expand api param of the assessments endpoint

Dima Rozinov 0 Reputation points
2024-04-10T00:53:09.87+00:00

I'm trying to use this api: https://learn.microsoft.com/en-us/rest/api/defenderforcloud/assessments/list?view=rest-defenderforcloud-2020-01-01&tabs=HTTP

Even though not documented in the linked page, the $expand param is supported (this is documented in the related Get request documentation: https://learn.microsoft.com/en-us/rest/api/defenderforcloud/assessments/get?view=rest-defenderforcloud-2020-01-01&tabs=HTTP)

The Get documentation seems to indicate that only metadata and link are supported values to the expand param: https://learn.microsoft.com/en-us/rest/api/defenderforcloud/assessments/get?view=rest-defenderforcloud-2020-01-01&tabs=HTTP#expandenum

However, I also found this answer which mentions statusEvaluationDates. Tested and it also works: https://learn.microsoft.com/en-us/answers/questions/585183/how-to-filter-unhealthy-resources-through-assessme

My question is - is there a place where all available values to the $expand param are documented? I'm trying to get as much information as possible about assessments and related resources without having to execute too many queries.

Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
1,421 questions
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
404 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.