Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update report.sarif #45

Merged
merged 1 commit into from
Feb 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 2 additions & 37 deletions report.sarif
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"id": "validate-host-namespace",
"shortDescription": {
"text": "Host namespace settings should be properly configured"
"text": "Host namespace settings are properly configured"
},
"help": {
"text": "Host namespace settings (hostIPC, hostPID, hostNetwork) are incorrectly set to true, which is insecure.",
Expand Down Expand Up @@ -40,45 +40,10 @@
},
"region": {
"startLine": 17,
"startColumn": 7,
"endLine": 19,
"endColumn": 29,
"snippet": {
"text": " hostIPC: true\n hostPID: true\n hostNetwork: true"
}
"endLine": 19
}
}
}
],
"fixes": [
{
"description": {
"text": "Set host namespace settings to false for better security"
},
"artifactChanges": [
{
"artifactLocation": {
"uri": "config-files/k8s/bad-deployment.yaml"
},
"replacements": [
{
"deletedRegion": {
"startLine": 17,
"startColumn": 7,
"endLine": 19,
"endColumn": 29,
"snippet": {
"text": " hostIPC: true\n hostPID: true\n hostNetwork: true"
}
},
"insertedContent": {
"text": " hostIPC: false\n hostPID: false\n hostNetwork: false"
}
}
]
}
]
}
]
}
]
Expand Down
Loading