Skip to content

Commit

Permalink
Enhance PBMM policy assignment to disable diagnostic settings metrics (
Browse files Browse the repository at this point in the history
…Azure#156)

Ensure diagnostic settings policy only checks for logs
  • Loading branch information
SenthuranSivananthan authored Feb 4, 2022
1 parent 61afd59 commit b628c68
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions policy/builtin/assignments/pbmm.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ resource policySetAssignment 'Microsoft.Authorization/policyAssignments@2020-03-
listOfMembersToIncludeInWindowsVMAdministratorsGroup: {
value: listOfMembersToIncludeInWindowsVMAdministratorsGroup
}
'logsEnabled-7f89b1eb-583c-429a-8828-af049802c1d9': {
value: true
}
'metricsEnabled-7f89b1eb-583c-429a-8828-af049802c1d9': {
value: false
}
}
enforcementMode: enforcementMode
}
Expand Down

0 comments on commit b628c68

Please sign in to comment.