Skip to content

Commit

Permalink
add Utils DLP license true case
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan-MITRE authored Mar 13, 2024
1 parent 9b00f72 commit f996684
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PowerShell/ScubaGear/Rego/Utils/Defender.rego
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@ ApplyLicenseWarningString(Status,_) := concat(" ", [ReportDetailsBoolean(Status)
])
}

DLPLicenseWarningString(Status, String) := ReportDetailsString(Status, String) if {
input.dlp_license == true
}

DLPLicenseWarningString(Status,_) := concat(" ", [ReportDetailsBoolean(Status), LicenseWarning]) if {
input.dlp_license == false
LicenseWarning := concat(" ", [
Expand Down

0 comments on commit f996684

Please sign in to comment.