-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompliance_criterial.json
More file actions
56 lines (53 loc) · 964 Bytes
/
compliance_criterial.json
File metadata and controls
56 lines (53 loc) · 964 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
46
47
48
49
50
51
52
53
54
55
56
{
"name": "compliance_criterial",
"revision": 2,
"project": "key",
"mode": "decision",
"rules":
[
{
"name": "compliance",
"mode": "advisory",
"conditions":
[
{
"eval": "filecontents.compliance.*._source.compliant",
"op": "=",
"value": "true",
"reportType": "Attributes",
"reportAttributes":
[
"filecontents.compliance.*._source.description",
"filecontents.compliance.*._source.reason"
]
},
{
"eval": "eventType",
"op": "=",
"value": "SecurityCompliance"
}
]
},
{
"name": "vulnerability",
"conditions":
[
{
"eval": "filecontents.vulnerability.*._source.vulnerable",
"op": "=",
"value": false,
"reportType": "Attributes",
"reportAttributes":
[
"filecontents.vulnerability.*._source.namespace"
]
},
{
"eval": "eventType",
"op": "=",
"value": "SecurityCompliance"
}
]
}
]
}