Microsoft.Security alertsSuppressionRules

Bicep リソース定義

alertsSuppressionRules リソースの種類は、次をターゲットとする操作でデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.Security/alertsSuppressionRules リソースを作成するには、次の Bicep をテンプレートに追加します。

resource symbolicname 'Microsoft.Security/alertsSuppressionRules@2019-01-01-preview' = {
  name: 'string'
  properties: {
    alertType: 'string'
    comment: 'string'
    expirationDateUtc: 'string'
    reason: 'string'
    state: 'string'
    suppressionAlertsScope: {
      allOf: [
        {
          field: 'string'
          {customized property}: any()
        }
      ]
    }
  }
}

プロパティ値

alertsSuppressionRules

名前 説明
name リソース名 string (必須)

文字制限: 1 から 260

有効な文字:
英数字、アンダースコア、およびハイフン。
properties AlertsSuppressionRule プロパティについて説明します AlertsSuppressionRuleProperties

AlertsSuppressionRuleProperties

名前 説明
alertType 自動的に抑制するアラートの種類。 すべてのアラートの種類に対して、'*' を使用します string (必須)
コメント ルールに関するコメント string
expirationDateUtc ルールの有効期限 (値が指定されていない場合、または null として指定された場合)、有効期限はまったくありません string
reason アラートを無視する理由 string (必須)
state ルールの考えられる状態 'Disabled'
'Enabled'
'Expired' (必須)
suppressionAlertsScope 抑制条件 SuppressionAlertsScope

SuppressionAlertsScope

名前 説明
allOf アラートを抑制するには、内部のすべての条件が true である必要があります ScopeElement[] (必須)

ScopeElement

名前 説明
フィールド 抑制するアラート エンティティの種類。 string
{カスタマイズされたプロパティ} Bicep の場合は、 any() 関数を使用できます。

ARM テンプレート リソース定義

alertsSuppressionRules リソースの種類は、次をターゲットとする操作でデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.Security/alertsSuppressionRules リソースを作成するには、テンプレートに次の JSON を追加します。

{
  "type": "Microsoft.Security/alertsSuppressionRules",
  "apiVersion": "2019-01-01-preview",
  "name": "string",
  "properties": {
    "alertType": "string",
    "comment": "string",
    "expirationDateUtc": "string",
    "reason": "string",
    "state": "string",
    "suppressionAlertsScope": {
      "allOf": [
        {
          "field": "string",
          "{customized property}": {}
        }
      ]
    }
  }
}

プロパティ値

alertsSuppressionRules

名前 説明
type リソースの種類 'Microsoft.Security/alertsSuppressionRules'
apiVersion リソース API のバージョン '2019-01-01-preview'
name リソース名 string (必須)

文字制限: 1 から 260

有効な文字:
英数字、アンダースコア、およびハイフン。
properties AlertsSuppressionRule プロパティについて説明します AlertsSuppressionRuleProperties

AlertsSuppressionRuleProperties

名前 説明
alertType 自動的に抑制するアラートの種類。 すべてのアラートの種類に対して、'*' を使用します string (必須)
コメント ルールに関するコメント string
expirationDateUtc ルールの有効期限日。値が指定されていない場合、または null として指定された場合、有効期限はまったくありません string
reason アラートを無視する理由 string (必須)
state ルールの考えられる状態 'Disabled'
'Enabled'
'Expired' (必須)
suppressionAlertsScope 抑制条件 SuppressionAlertsScope

SuppressionAlertsScope

名前 説明
allOf アラートを抑制するには、内部のすべての条件が true である必要があります ScopeElement[] (必須)

ScopeElement

名前 説明
フィールド 抑制するアラート エンティティの種類。 string
{カスタマイズされたプロパティ}

Terraform (AzAPI プロバイダー) リソース定義

alertsSuppressionRules リソースの種類は、次を対象とする操作と共にデプロイできます。

  • サブスクリプション

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.Security/alertsSuppressionRules リソースを作成するには、次の Terraform をテンプレートに追加します。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Security/alertsSuppressionRules@2019-01-01-preview"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      alertType = "string"
      comment = "string"
      expirationDateUtc = "string"
      reason = "string"
      state = "string"
      suppressionAlertsScope = {
        allOf = [
          {
            field = "string"
          }
        ]
      }
    }
  })
}

プロパティ値

alertsSuppressionRules

名前 説明
type リソースの種類 "Microsoft.Security/alertsSuppressionRules@2019-01-01-preview"
name リソース名 string (必須)

文字数制限: 1 から 260

有効な文字:
英数字、アンダースコア、およびハイフン。
parent_id サブスクリプションにデプロイするには、そのサブスクリプションの ID を使用します。 string (必須)
properties AlertsSuppressionRule プロパティについて説明します AlertsSuppressionRuleProperties

AlertsSuppressionRuleProperties

名前 説明
alertType 自動的に抑制するアラートの種類。 すべてのアラートの種類に対して、'*' を使用します string (必須)
コメント ルールに関するコメント string
expirationDateUtc ルールの有効期限日。値が指定されていない場合、または null として指定された場合、有効期限はまったくありません string
reason アラートを無視する理由 string (必須)
state ルールの考えられる状態 "無効"
"有効"
"期限切れ" (必須)
suppressionAlertsScope 抑制条件 SuppressionAlertsScope

SuppressionAlertsScope

名前 説明
allOf アラートを抑制するには、内部のすべての条件が true である必要があります ScopeElement[] (必須)

ScopeElement

名前 説明
フィールド 抑制するアラート エンティティの種類。 string
{カスタマイズされたプロパティ}