Skip to content

Commit

Permalink
2022-05-02-preview defender updates (#19172)
Browse files Browse the repository at this point in the history
* 2022-05-02-preview defender updates

* update example

* Typo

* Update sample

* typo

* another typo
  • Loading branch information
orparnes authored May 25, 2022
1 parent 1a939f0 commit c945c28
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@
}
},
"securityProfile": {
"azureDefender": {
"enabled": true,
"logAnalyticsWorkspaceResourceId": "/subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME"
"defender": {
"logAnalyticsWorkspaceResourceId": "/subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME",
"securityMonitoring": {
"enabled": true
}
}
}
}
Expand Down Expand Up @@ -143,9 +145,11 @@
}
},
"securityProfile": {
"azureDefender": {
"enabled": true,
"logAnalyticsWorkspaceResourceId": "/subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME"
"defender": {
"logAnalyticsWorkspaceResourceId": "/subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME",
"securityMonitoring": {
"enabled": true
}
}
}
}
Expand Down Expand Up @@ -235,9 +239,11 @@
}
},
"securityProfile": {
"azureDefender": {
"enabled": true,
"logAnalyticsWorkspaceResourceId": "/subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME"
"defender": {
"logAnalyticsWorkspaceResourceId": "/subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME",
"securityMonitoring": {
"enabled": true
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6006,9 +6006,9 @@
"ManagedClusterSecurityProfile": {
"type": "object",
"properties": {
"azureDefender": {
"$ref": "#/definitions/ManagedClusterSecurityProfileAzureDefender",
"description": "Azure Defender settings for the security profile."
"defender": {
"$ref": "#/definitions/ManagedClusterSecurityProfileDefender",
"description": "Microsoft Defender settings for the security profile."
},
"azureKeyVaultKms": {
"$ref": "#/definitions/AzureKeyVaultKms",
Expand All @@ -6021,19 +6021,29 @@
},
"description": "Security profile for the container service cluster."
},
"ManagedClusterSecurityProfileAzureDefender": {
"ManagedClusterSecurityProfileDefender": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether to enable Azure Defender"
},
"logAnalyticsWorkspaceResourceId": {
"type": "string",
"description": "Resource ID of the Log Analytics workspace to be associated with Azure Defender. When Azure Defender is enabled, this field is required and must be a valid workspace resource ID. When Azure Defender is disabled, leave the field empty."
"description": "Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty."
},
"securityMonitoring": {
"$ref": "#/definitions/ManagedClusterSecurityProfileDefenderSecurityMonitoring",
"description": "Microsoft Defender threat detection for Cloud settings for the security profile."
}
},
"description": "Microsoft Defender settings for the security profile."
},
"ManagedClusterSecurityProfileDefenderSecurityMonitoring": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether to enable Defender threat detection"
}
},
"description": "Azure Defender settings for the security profile."
"description": "Microsoft Defender settings for the security profile threat detection."
},
"ManagedClusterStorageProfile": {
"type": "object",
Expand Down

0 comments on commit c945c28

Please sign in to comment.