Skip to content

Commit

Permalink
change Common Controls 3.1 rego to should
Browse files Browse the repository at this point in the history
  • Loading branch information
buidav committed Nov 1, 2024
1 parent f2389af commit 615818a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rego/Commoncontrols.rego
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ NonCompliantOUs3_1 contains {

tests contains {
"PolicyId": "GWS.COMMONCONTROLS.3.1v0.3",
"Criticality": "Shall",
"Criticality": "Should",
"ReportDetails": utils.NoSuchEventDetails(DefaultSafe, utils.TopLevelOU),
"ActualValue": "No relevant event for the top-level OU in the current logs",
"RequirementMet": DefaultSafe,
Expand All @@ -520,7 +520,7 @@ if {

tests contains {
"PolicyId": "GWS.COMMONCONTROLS.3.1v0.3",
"Criticality": "Shall",
"Criticality": "Should",
# Empty list on the next line as this setting can't be set at the group level
"ReportDetails": utils.ReportDetails(NonCompliantOUs3_1, []),
"ActualValue": {"NonCompliantOUs": NonCompliantOUs3_1},
Expand Down

0 comments on commit 615818a

Please sign in to comment.