Skip to content

Commit

Permalink
Update defender.bicep (#775)
Browse files Browse the repository at this point in the history
* Update defender.bicep

Updating Azure Security benchmark to new name -- Microsoft Cloud Security Benchmark

* GitHub Action: Build Bicep to JSON

---------

Co-authored-by: github-actions <[email protected]>
  • Loading branch information
kyle-hoyer and github-actions authored Jun 21, 2023
1 parent bf2a987 commit f404b41
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
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

0 comments on commit f404b41

Please sign in to comment.