UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 7816c987 authored by Brett Charrier's avatar Brett Charrier
Browse files

justification

parent 8f2f560e
No related branches found
No related tags found
No related merge requests found
Pipeline #1255851 passed with warnings
......@@ -56,6 +56,7 @@ violations: # Try to keep this in alpha order to make it easier to find keys
- logging/logging-fluent-bit-.*
{{- end }}
{{- if .Values.neuvector.enabled }}
# Neuvector needs access to host to inspect network traffic
- neuvector/neuvector-enforcer-pod.*
- neuvector/neuvector-controller-pod.*
{{- end }}
......@@ -77,6 +78,7 @@ violations: # Try to keep this in alpha order to make it easier to find keys
bannedImageTags:
parameters:
excludedResources:
# Neuvector scanner pods must run the most up to date version in order to have up to date CVE lists
- neuvector/neuvector-scanner-pod.*
{{- end }}
......@@ -99,6 +101,7 @@ violations: # Try to keep this in alpha order to make it easier to find keys
- twistlock/twistlock-defender-ds-.*
{{- end }}
{{- if .Values.neuvector.enabled }}
# Neuvector needs access to host to inspect network traffic
- neuvector/neuvector-enforcer-pod.*
{{- end }}
{{- end }}
......@@ -116,6 +119,7 @@ violations: # Try to keep this in alpha order to make it easier to find keys
# Fluentbit needs privileged to read and store the buffer for tailing logs from the nodes
- logging/fluent-bit
{{- if .Values.neuvector.enabled }}
# Neuvector needs priviledge to inspect network traffic
- neuvector/neuvector-enforcer-pod.*
- neuvector/neuvector-controller-pod.*
{{- end }}
......@@ -185,7 +189,7 @@ violations: # Try to keep this in alpha order to make it easier to find keys
- logging/logging-promtail-.*
{{- end }}
{{- if .Values.neuvector.enabled }}
# Neuvecotr requires hostpath volume types
# Neuvector requires hostpath volume types
# https://github.com/neuvector/neuvector-helm/blob/master/charts/core/templates/enforcer-daemonset.yaml#L108
- neuvector/neuvector-enforcer-pod.*
- neuvector/neuvector-controller-pod.*
......
......@@ -30,6 +30,7 @@ policies:
- twistlock-defender-ds*
{{- end }}
{{- if .Values.neuvector.enabled }}
# Neuvector needs access to host to inspect network traffic
- resources:
namespaces:
- neuvector
......@@ -72,6 +73,7 @@ policies:
enabled: true
validationFailureAction: enforce
{{- if .Values.neuvector.enabled }}
# Neuvector scanner pods must run the most up to date version in order to have up to date CVE lists
exclude:
any:
- resources:
......@@ -112,6 +114,7 @@ policies:
- logging-fluent-bit*
{{- end }}
{{- if .Values.neuvector.enabled }}
# Neuvector needs priviledge to inspect network traffic
- resources:
namespaces:
- neuvector
......@@ -488,6 +491,11 @@ policies:
- twistlock-defender-ds*
{{- end }}
{{- if .Values.neuvector.enabled }}
# Neuvector mounts the following hostPaths:
# `/var/neuvector`: for Neuvector's buffering and persistent state
# `/var/run`:
# `/proc`:
# `/sys/fs/cgroup`:
- resources:
namespaces:
- neuvector
......@@ -535,6 +543,8 @@ policies:
- twistlock-defender-ds*
{{- end }}
{{- if .Values.neuvector.enabled }}
# Neuvector mounts the following hostPaths as writeable:
# `/var/neuvector`: for Neuvector's buffering and persistent state
- resources:
namespaces:
- neuvector
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment