-
Notifications
You must be signed in to change notification settings - Fork 349
Expand file tree
/
Copy pathEXOConfig_10_test.rego
More file actions
45 lines (35 loc) · 932 Bytes
/
EXOConfig_10_test.rego
File metadata and controls
45 lines (35 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package exo_test
import rego.v1
import data.exo
import data.utils.report.DefenderMirrorDetails
import data.utils.key.TestResult
#
# Policy MS.EXO.10.1v1
#--
test_3rdParty_Correct_V1 if {
PolicyId := "MS.EXO.10.1v1"
Output := exo.tests with input as { }
ReportDetailString := DefenderMirrorDetails(PolicyId)
TestResult(PolicyId, Output, ReportDetailString, false) == true
}
#--
#
# Policy MS.EXO.10.2v1
#--
test_3rdParty_Correct_V2 if {
PolicyId := "MS.EXO.10.2v1"
Output := exo.tests with input as { }
ReportDetailString := DefenderMirrorDetails(PolicyId)
TestResult(PolicyId, Output, ReportDetailString, false) == true
}
#--
#
# Policy MS.EXO.10.3v1
#--
test_3rdParty_Correct_V3 if {
PolicyId := "MS.EXO.10.3v1"
Output := exo.tests with input as { }
ReportDetailString := DefenderMirrorDetails(PolicyId)
TestResult(PolicyId, Output, ReportDetailString, false) == true
}
#--