mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-03 19:40:05 +00:00
Added security capabilities, especially IPC_LOCK (#1671)
to Sniffer in case eBPF traffic capture mechanism is used.
This commit is contained in:
parent
af47154a8d
commit
7eef5efcd9
@ -155,6 +155,11 @@ spec:
|
|||||||
{{ print "- " . }}
|
{{ print "- " . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.tap.capabilities.ebpfCapture }}
|
||||||
|
{{- range .Values.tap.capabilities.ebpfCapture }}
|
||||||
|
{{ print "- " . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
drop:
|
drop:
|
||||||
- ALL
|
- ALL
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
|
@ -85,10 +85,6 @@ tap:
|
|||||||
filter: ""
|
filter: ""
|
||||||
canDownloadPCAP: true
|
canDownloadPCAP: true
|
||||||
canUseScripting: true
|
canUseScripting: true
|
||||||
scriptingPermissions:
|
|
||||||
canSave: true
|
|
||||||
canActivate: true
|
|
||||||
canDelete: true
|
|
||||||
canUpdateTargetedPods: true
|
canUpdateTargetedPods: true
|
||||||
canStopTrafficCapturing: true
|
canStopTrafficCapturing: true
|
||||||
showAdminConsoleLink: true
|
showAdminConsoleLink: true
|
||||||
@ -121,7 +117,6 @@ tap:
|
|||||||
- SYS_ADMIN
|
- SYS_ADMIN
|
||||||
- SYS_PTRACE
|
- SYS_PTRACE
|
||||||
- DAC_OVERRIDE
|
- DAC_OVERRIDE
|
||||||
- IPC_LOCK
|
|
||||||
ebpfCapture:
|
ebpfCapture:
|
||||||
- SYS_ADMIN
|
- SYS_ADMIN
|
||||||
- SYS_PTRACE
|
- SYS_PTRACE
|
||||||
@ -165,6 +160,7 @@ pcapdump:
|
|||||||
maxTime: 1h
|
maxTime: 1h
|
||||||
maxSize: 500MB
|
maxSize: 500MB
|
||||||
pcapSrcDir: pcapdump
|
pcapSrcDir: pcapdump
|
||||||
|
time: time
|
||||||
kube:
|
kube:
|
||||||
configPath: ""
|
configPath: ""
|
||||||
context: ""
|
context: ""
|
||||||
|
Loading…
Reference in New Issue
Block a user