UNCLASSIFIED - NO CUI
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bigbang
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Big Bang
bigbang
Commits
2a04b13f
Commit
2a04b13f
authored
2 years ago
by
Micah Nagel
Browse files
Options
Downloads
Patches
Plain Diff
Twistlock Defenders: Kyverno Policy exception for run as non-root
parent
6779f4ee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1653
Twistlock Defenders: Kyverno Policy exception for run as non-root
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
chart/templates/kyverno/policies/values.yaml
+27
-4
27 additions, 4 deletions
chart/templates/kyverno/policies/values.yaml
with
27 additions
and
4 deletions
chart/templates/kyverno/policies/values.yaml
+
27
−
4
View file @
2a04b13f
...
@@ -182,7 +182,7 @@ policies:
...
@@ -182,7 +182,7 @@ policies:
require-non-root-group
:
require-non-root-group
:
validationFailureAction
:
audit
validationFailureAction
:
audit
{{
- if $deployRestic
}}
{{
- if
or
$deployRestic
.Values.twistlock.enabled
}}
exclude
:
exclude
:
any
:
any
:
{{
- if $deployRestic
}}
{{
- if $deployRestic
}}
...
@@ -193,12 +193,23 @@ policies:
...
@@ -193,12 +193,23 @@ policies:
-
velero
-
velero
names
:
names
:
-
restic*
-
restic*
{{
- end
}}
{{
- end
}}
{{
- if .Values.twistlock.enabled
}}
# Twistlock Defenders run as root to perform real time scanning on the nodes/cluster, including:
# - read logs from `/var/log` to watch for malicious processes
# - audit modifications to `/etc/passwd` (watching for suspicious changes)
# - access the container runtime socket (observing all running containers on a node)
-
resources
:
namespaces
:
-
twistlock
names
:
-
twistlock-defender-ds*
{{
- end
}}
{{
- end
}}
{{
- end
}}
require-non-root-user
:
require-non-root-user
:
validationFailureAction
:
audit
validationFailureAction
:
audit
{{
- if $deployRestic
}}
{{
- if
or
$deployRestic
.Values.twistlock.enabled
}}
exclude
:
exclude
:
any
:
any
:
{{
- if $deployRestic
}}
{{
- if $deployRestic
}}
...
@@ -209,7 +220,19 @@ policies:
...
@@ -209,7 +220,19 @@ policies:
-
velero
-
velero
names
:
names
:
-
restic*
-
restic*
{{
- end
}}
{{
- end
}}
{{
- if .Values.twistlock.enabled
}}
# Twistlock Defenders run as root to perform real time scanning on the nodes/cluster, including:
# - read logs from `/var/log` to watch for malicious processes
# - audit modifications to `/etc/passwd` (watching for suspicious changes)
# - access the container runtime socket (observing all running containers on a node)
-
resources
:
namespaces
:
-
twistlock
names
:
-
twistlock-defender-ds*
{{
- end
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.twistlock.enabled
}}
{{
- if .Values.twistlock.enabled
}}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment