Microsoft.Security customAssessmentAutomations 2021-07-01-preview

Bicep resource definition

The customAssessmentAutomations 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/customAssessmentAutomations resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Security/customAssessmentAutomations@2021-07-01-preview' = {
  name: 'string'
  properties: {
    compressedQuery: 'string'
    description: 'string'
    displayName: 'string'
    remediationDescription: 'string'
    severity: 'string'
    supportedCloud: 'string'
  }
}

Property values

customAssessmentAutomations

Name Description Value
name The resource name string (required)
properties describes Custom Assessment Automation request properties. CustomAssessmentAutomationRequestPropertiesOrCustomA...

CustomAssessmentAutomationRequestPropertiesOrCustomA...

Name Description Value
compressedQuery Base 64 encoded KQL query representing the assessment automation results required. string
description The description to relate to the assessments generated by this assessment automation. string
displayName The display name of the assessments generated by this assessment automation. string
remediationDescription The remediation description to relate to the assessments generated by this assessment automation. string
severity The severity to relate to the assessments generated by this assessment automation. 'High'
'Low'
'Medium'
supportedCloud Relevant cloud for the custom assessment automation. 'AWS'
'GCP'

ARM template resource definition

The customAssessmentAutomations 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/customAssessmentAutomations resource, add the following JSON to your template.

{
  "type": "Microsoft.Security/customAssessmentAutomations",
  "apiVersion": "2021-07-01-preview",
  "name": "string",
  "properties": {
    "compressedQuery": "string",
    "description": "string",
    "displayName": "string",
    "remediationDescription": "string",
    "severity": "string",
    "supportedCloud": "string"
  }
}

Property values

customAssessmentAutomations

Name Description Value
type The resource type 'Microsoft.Security/customAssessmentAutomations'
apiVersion The resource api version '2021-07-01-preview'
name The resource name string (required)
properties describes Custom Assessment Automation request properties. CustomAssessmentAutomationRequestPropertiesOrCustomA...

CustomAssessmentAutomationRequestPropertiesOrCustomA...

Name Description Value
compressedQuery Base 64 encoded KQL query representing the assessment automation results required. string
description The description to relate to the assessments generated by this assessment automation. string
displayName The display name of the assessments generated by this assessment automation. string
remediationDescription The remediation description to relate to the assessments generated by this assessment automation. string
severity The severity to relate to the assessments generated by this assessment automation. 'High'
'Low'
'Medium'
supportedCloud Relevant cloud for the custom assessment automation. 'AWS'
'GCP'

Terraform (AzAPI provider) resource definition

The customAssessmentAutomations 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/customAssessmentAutomations resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Security/customAssessmentAutomations@2021-07-01-preview"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      compressedQuery = "string"
      description = "string"
      displayName = "string"
      remediationDescription = "string"
      severity = "string"
      supportedCloud = "string"
    }
  })
}

Property values

customAssessmentAutomations

Name Description Value
type The resource type "Microsoft.Security/customAssessmentAutomations@2021-07-01-preview"
name The resource name string (required)
parent_id To deploy to a resource group, use the ID of that resource group. string (required)
properties describes Custom Assessment Automation request properties. CustomAssessmentAutomationRequestPropertiesOrCustomA...

CustomAssessmentAutomationRequestPropertiesOrCustomA...

Name Description Value
compressedQuery Base 64 encoded KQL query representing the assessment automation results required. string
description The description to relate to the assessments generated by this assessment automation. string
displayName The display name of the assessments generated by this assessment automation. string
remediationDescription The remediation description to relate to the assessments generated by this assessment automation. string
severity The severity to relate to the assessments generated by this assessment automation. "High"
"Low"
"Medium"
supportedCloud Relevant cloud for the custom assessment automation. "AWS"
"GCP"