Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update defender.bicep #775

Merged
merged 2 commits into from
Jun 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/bicep/mlz.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_generator": {
"name": "bicep",
"version": "0.10.61.36676",
"templateHash": "5303941002554581033"
"templateHash": "7571148492037470327"
}
},
"parameters": {
Expand Down Expand Up @@ -4941,7 +4941,7 @@
"_generator": {
"name": "bicep",
"version": "0.10.61.36676",
"templateHash": "12766624793953465210"
"templateHash": "16504472308304917287"
}
},
"parameters": {
Expand Down Expand Up @@ -4970,7 +4970,7 @@
},
"policySetDescription": {
"type": "string",
"defaultValue": "The Azure Security Benchmark initiative represents the policies and controls implementing security recommendations defined in Azure Security Benchmark v2, see https://aka.ms/azsecbm. This also serves as the Microsoft Defender for Cloud default policy initiative. You can directly assign this initiative, or manage its policies and compliance results within Microsoft Defender.",
"defaultValue": "The Microsoft Cloud Security Benchmark initiative represents the policies and controls implementing security recommendations defined in Microsoft Cloud Security Benchmark v2, see https://aka.ms/azsecbm. This also serves as the Microsoft Defender for Cloud default policy initiative. You can directly assign this initiative, or manage its policies and compliance results within Microsoft Defender.",
"metadata": {
"description": "Policy Initiative description field"
}
Expand Down Expand Up @@ -5023,7 +5023,7 @@
{
"type": "Microsoft.Authorization/policyAssignments",
"apiVersion": "2020-09-01",
"name": "Azure Security Benchmark",
"name": "Microsoft Cloud Security Benchmark",
"properties": {
"displayName": "Defender Default",
"description": "[parameters('policySetDescription')]",
Expand Down Expand Up @@ -5070,7 +5070,7 @@
"_generator": {
"name": "bicep",
"version": "0.10.61.36676",
"templateHash": "12766624793953465210"
"templateHash": "16504472308304917287"
}
},
"parameters": {
Expand Down Expand Up @@ -5099,7 +5099,7 @@
},
"policySetDescription": {
"type": "string",
"defaultValue": "The Azure Security Benchmark initiative represents the policies and controls implementing security recommendations defined in Azure Security Benchmark v2, see https://aka.ms/azsecbm. This also serves as the Microsoft Defender for Cloud default policy initiative. You can directly assign this initiative, or manage its policies and compliance results within Microsoft Defender.",
"defaultValue": "The Microsoft Cloud Security Benchmark initiative represents the policies and controls implementing security recommendations defined in Microsoft Cloud Security Benchmark v2, see https://aka.ms/azsecbm. This also serves as the Microsoft Defender for Cloud default policy initiative. You can directly assign this initiative, or manage its policies and compliance results within Microsoft Defender.",
"metadata": {
"description": "Policy Initiative description field"
}
Expand Down Expand Up @@ -5152,7 +5152,7 @@
{
"type": "Microsoft.Authorization/policyAssignments",
"apiVersion": "2020-09-01",
"name": "Azure Security Benchmark",
"name": "Microsoft Cloud Security Benchmark",
"properties": {
"displayName": "Defender Default",
"description": "[parameters('policySetDescription')]",
Expand Down
4 changes: 2 additions & 2 deletions src/bicep/modules/defender.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ param logAnalyticsWorkspaceId string
param emailSecurityContact string

@description('Policy Initiative description field')
param policySetDescription string = 'The Azure Security Benchmark initiative represents the policies and controls implementing security recommendations defined in Azure Security Benchmark v2, see https://aka.ms/azsecbm. This also serves as the Microsoft Defender for Cloud default policy initiative. You can directly assign this initiative, or manage its policies and compliance results within Microsoft Defender.'
param policySetDescription string = 'The Microsoft Cloud Security Benchmark initiative represents the policies and controls implementing security recommendations defined in Microsoft Cloud Security Benchmark v2, see https://aka.ms/azsecbm. This also serves as the Microsoft Defender for Cloud default policy initiative. You can directly assign this initiative, or manage its policies and compliance results within Microsoft Defender.'

// defender

Expand Down Expand Up @@ -81,7 +81,7 @@ resource securityNotifications 'Microsoft.Security/securityContacts@2017-08-01-p
}

resource securityPoliciesDefault 'Microsoft.Authorization/policyAssignments@2020-09-01' = {
name: 'Azure Security Benchmark'
name: 'Microsoft Cloud Security Benchmark'
scope: subscription()
properties: {
displayName: 'Defender Default'
Expand Down