Skip to content

Commit

Permalink
Update to defender parameters and export group fix (#670)
Browse files Browse the repository at this point in the history
Co-authored-by: Anthony Watherston <[email protected]>
  • Loading branch information
anwather and Anthony Watherston authored Jun 12, 2024
1 parent 9882e91 commit 9dc7023
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,10 @@
"enableAscForKeyVault": "Disabled",
"enableAscForSqlOnVm": "Disabled",
"enableAscForArm": "Disabled",
"enableAscForDns": "Disabled",
"enableAscForOssDb": "Disabled",
"enableAscForCosmosDbs": "Disabled",
"enableAscForServersVulnerabilityAssessments": "Disabled",
"enableAscForApis": "Disabled",
"enableAscForCspm": "Disabled",
"vulnerabilityAssessmentProvider": "mdeTvm"
"enableAscForCspm": "Disabled"
},
"nonComplianceMessages": [
{
Expand Down
2 changes: 1 addition & 1 deletion Scripts/Operations/Export-AzPolicyResources.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ foreach ($pacSelector in $globalSettings.pacEnvironmentSelectors) {
}
$groupNames = $policyDefinitionIn.groupNames
if ($null -ne $groupNames -and $groupNames.Count -gt 0) {
Add-Member -InputObject $policyDefinitionOut -TypeName "NoteProperty" -NotePropertyName "groupNames" -NotePropertyValue $groupNames
$policyDefinitionOut.Add("groupNames", $groupNames)
}
$null = $policyDefinitionsOut.Add($policyDefinitionOut)
}
Expand Down

0 comments on commit 9dc7023

Please sign in to comment.