Microsoft Azure

Azure Security Center: Security Assessment

API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider

Identity & security#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider

Endpoints 10

Assessments Metadata

  • GETAssessmentsMetadata_List/providers/Microsoft.Security/assessmentMetadataGet metadata information on all assessment types
  • GETAssessmentsMetadata_Get/providers/Microsoft.Security/assessmentMetadata/:assessmentMetadataNameGet metadata information on an assessment type
  • GETAssessmentsMetadata_ListBySubscription/subscriptions/:subscriptionId/providers/Microsoft.Security/assessmentMetadataGet metadata information on all assessment types in a specific subscription
  • GETAssessmentsMetadata_GetInSubscription/subscriptions/:subscriptionId/providers/Microsoft.Security/assessmentMetadata/:assessmentMetadataNameGet metadata information on an assessment type in a specific subscription
  • PUTAssessmentsMetadata_CreateInSubscription/subscriptions/:subscriptionId/providers/Microsoft.Security/assessmentMetadata/:assessmentMetadataNameCreate metadata information on an assessment type in a specific subscription
  • DELETEAssessmentsMetadata_DeleteInSubscription/subscriptions/:subscriptionId/providers/Microsoft.Security/assessmentMetadata/:assessmentMetadataNameDelete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription

Assessments

  • GETAssessments_List/:scope/providers/Microsoft.Security/assessmentsGet security assessments on all your scanned resources inside a scope
  • GETAssessments_Get/:resourceId/providers/Microsoft.Security/assessments/:assessmentName?$expand=linksGet a security assessment on your scanned resource
  • PUTAssessments_CreateOrUpdate/:resourceId/providers/Microsoft.Security/assessments/:assessmentNameCreate a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting…
  • DELETEAssessments_Delete/:resourceId/providers/Microsoft.Security/assessments/:assessmentNameDelete a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting…

API details

Base URL
https://management.azure.com
Authentication
OAuth 2.0 (implicit flow) with 1 scope
Operations
10 operations on 6 pathsGET 6PUT 2DELETE 2
Main resources
Assessments Metadata 6Assessments 4
Response formats
application/json
Description format
Swagger 2.0, API version 2025-05-04

How to test the Azure Security Center: Security Assessment in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Azure Security Center: Security Assessment collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “AssessmentsMetadata_List” (GET /providers/Microsoft.Security/assessmentMetadata), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Azure Security Center: Security Assessment?

API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider It is listed under Identity & security and has 10 endpoints.

Who publishes the Azure Security Center: Security Assessment?

It is listed from Microsoft Azure's public API description (an OpenAPI document), not published by Microsoft Azure on Swastik Codes. Anyone who controls azure.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Azure Security Center: Security Assessment?

Requests go to https://management.azure.com. Endpoint paths are added to this base URL.

How do I authenticate with the Azure Security Center: Security Assessment?

With OAuth 2.0 (implicit flow) with 1 scope.

How many endpoints does the Azure Security Center: Security Assessment have?

10 operations on 6 paths (6 GET, 2 PUT, 2 DELETE). The largest groups are Assessments Metadata, Assessments.

Is forking the Azure Security Center: Security Assessment free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.