Skip to content

Commit 0595594

Browse files
committed
Add condition to policy rule for unknown recommendation category in defender export policy
1 parent 8b1b04a commit 0595594

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎policyDefinitions/mdc/pol-deploy-defender-export-law.json‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,12 @@
233233
"propertyType": "String",
234234
"expectedValue": "Microsoft.Security/assessments",
235235
"operator": "Contains"
236+
},
237+
{
238+
"propertyJPath": "properties.metadata.recommendationCategory",
239+
"propertyType": "String",
240+
"expectedValue": "Unknown",
241+
"operator": "Equals"
236242
}
237243
]
238244
}

0 commit comments

Comments
 (0)