Share via


Microsoft.Security standards

Choose a deployment language

Bicep resource definition

The standards resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Security/standards resource, add the following Bicep to your template.

Bicep
resource symbolicname 'Microsoft.Security/standards@2021-08-01-preview' = {
  etag: 'string'
  kind: 'string'
  location: 'string'
  name: 'string'
  properties: {
    category: 'string'
    components: [
      {
        key: 'string'
      }
    ]
    description: 'string'
    displayName: 'string'
    supportedClouds: [
      'string'
    ]
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.Security/standards

Name Description Value
etag Entity tag is used for comparing two or more entities from the same requested resource. string
kind Kind of the resource string
location Location where the resource is stored string
name The resource name string (required)
properties Properties of a security standard StandardProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

StandardComponentProperties

Name Description Value
key Component Key matching componentMetadata string

StandardProperties

Name Description Value
category category of the standard provided string
components List of component objects containing component unique keys (such as assessment keys) to apply to standard scope. Currently only supports assessment keys. StandardComponentProperties[]
description description of the standard string
displayName display name of the standard, equivalent to the standardId string
supportedClouds List of all standard supported clouds. String array containing any of:
'AWS'
'GCP'

Tags

Name Description Value

ARM template resource definition

The standards resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Security/standards resource, add the following JSON to your template.

JSON
{
  "type": "Microsoft.Security/standards",
  "apiVersion": "2021-08-01-preview",
  "name": "string",
  "etag": "string",
  "kind": "string",
  "location": "string",
  "properties": {
    "category": "string",
    "components": [
      {
        "key": "string"
      }
    ],
    "description": "string",
    "displayName": "string",
    "supportedClouds": [ "string" ]
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.Security/standards

Name Description Value
apiVersion The api version '2021-08-01-preview'
etag Entity tag is used for comparing two or more entities from the same requested resource. string
kind Kind of the resource string
location Location where the resource is stored string
name The resource name string (required)
properties Properties of a security standard StandardProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Security/standards'

StandardComponentProperties

Name Description Value
key Component Key matching componentMetadata string

StandardProperties

Name Description Value
category category of the standard provided string
components List of component objects containing component unique keys (such as assessment keys) to apply to standard scope. Currently only supports assessment keys. StandardComponentProperties[]
description description of the standard string
displayName display name of the standard, equivalent to the standardId string
supportedClouds List of all standard supported clouds. String array containing any of:
'AWS'
'GCP'

Tags

Name Description Value

Usage Examples

Terraform (AzAPI provider) resource definition

The standards resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Security/standards resource, add the following Terraform to your template.

Terraform
resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Security/standards@2021-08-01-preview"
  name = "string"
  etag = "string"
  kind = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      category = "string"
      components = [
        {
          key = "string"
        }
      ]
      description = "string"
      displayName = "string"
      supportedClouds = [
        "string"
      ]
    }
  })
}

Property Values

Microsoft.Security/standards

Name Description Value
etag Entity tag is used for comparing two or more entities from the same requested resource. string
kind Kind of the resource string
location Location where the resource is stored string
name The resource name string (required)
properties Properties of a security standard StandardProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Security/standards@2021-08-01-preview"

StandardComponentProperties

Name Description Value
key Component Key matching componentMetadata string

StandardProperties

Name Description Value
category category of the standard provided string
components List of component objects containing component unique keys (such as assessment keys) to apply to standard scope. Currently only supports assessment keys. StandardComponentProperties[]
description description of the standard string
displayName display name of the standard, equivalent to the standardId string
supportedClouds List of all standard supported clouds. String array containing any of:
'AWS'
'GCP'

Tags

Name Description Value