-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathreport.sarif
52 lines (52 loc) · 1.71 KB
/
report.sarif
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
{
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
"version": "2.1.0",
"runs": [
{
"tool": {
"driver": {
"name": "nctl",
"version": "3.3.8",
"informationUri": "https://docs.nirmata.io/nctl/",
"rules": [
{
"id": "validate-host-namespace",
"shortDescription": {
"text": "Host namespace settings are properly configured"
},
"help": {
"text": "Host namespace settings (hostIPC, hostPID, hostNetwork) are incorrectly set to true, which is insecure.",
"markdown": "**Current Configuration:** The deployment has insecure host namespace settings. Change it to the following:\n```yaml\nspec:\n template:\n spec:\n hostIPC: false\n hostPID: false\n hostNetwork: false\n```"
},
"properties": {
"category": "Pod Security Standards (Baseline)"
}
}
]
}
},
"results": [
{
"ruleId": "validate-host-namespace",
"level": "warning",
"message": {
"text": "Host namespace settings should be properly configured with hostIPC: false, hostPID: false, and hostNetwork: false"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "config-files/k8s/bad-deployment.yaml"
},
"region": {
"startLine": 17,
"endLine": 19
}
}
}
]
}
]
}
]
}