Skip to content

Commit

Permalink
Update Library Templates (automated)
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jun 17, 2024
1 parent 35447cd commit b59e4af
Showing 1 changed file with 17 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"displayName": "Deploy Microsoft Defender for Cloud Security Contacts",
"description": "Deploy Microsoft Defender for Cloud Security Contacts",
"metadata": {
"version": "1.1.0",
"version": "2.0.0",
"category": "Security Center",
"source": "https://github.com/Azure/Enterprise-Scale/",
"alzCloudEnvironments": [
Expand All @@ -20,14 +20,14 @@
},
"parameters": {
"emailSecurityContact": {
"type": "string",
"type": "String",
"metadata": {
"displayName": "Security contacts email address",
"description": "Provide email address for Azure Security Center contact details"
"description": "Provide email addresses (semi-colon separated) for Defender for Cloud contact details"
}
},
"effect": {
"type": "string",
"type": "String",
"defaultValue": "DeployIfNotExists",
"allowedValues": [
"DeployIfNotExists",
Expand All @@ -39,7 +39,7 @@
}
},
"minimalSeverity": {
"type": "string",
"type": "String",
"defaultValue": "High",
"allowedValues": [
"High",
Expand Down Expand Up @@ -77,20 +77,12 @@
"contains": "[parameters('emailSecurityContact')]"
},
{
"field": "Microsoft.Security/securityContacts/alertNotifications.minimalSeverity",
"contains": "[parameters('minimalSeverity')]"
},
{
"field": "type",
"equals": "Microsoft.Security/securityContacts"
"field": "Microsoft.Security/securityContacts/isEnabled",
"equals": true
},
{
"field": "Microsoft.Security/securityContacts/alertNotifications",
"equals": "On"
},
{
"field": "Microsoft.Security/securityContacts/alertsToAdmins",
"equals": "On"
"field": "Microsoft.Security/securityContacts/notificationsSources[*].Alert.minimalSeverity",
"contains": "[parameters('minimalSeverity')]"
}
]
},
Expand Down Expand Up @@ -128,19 +120,22 @@
{
"type": "Microsoft.Security/securityContacts",
"name": "default",
"apiVersion": "2020-01-01-preview",
"apiVersion": "2023-12-01-preview",
"properties": {
"emails": "[parameters('emailSecurityContact')]",
"isEnabled": true,
"notificationsByRole": {
"state": "On",
"roles": [
"Owner"
]
},
"alertNotifications": {
"state": "On",
"minimalSeverity": "[parameters('minimalSeverity')]"
}
"notificationsSources": [
{
"sourceType": "Alert",
"minimalSeverity": "[parameters('minimalSeverity')]"
}
]
}
}
],
Expand Down

0 comments on commit b59e4af

Please sign in to comment.