KubeArmor/pkg/KubeArmorOperator/recommend/harden-write-in-shm-dir.yaml
Charan 3db63ddd5d
Update maintainers and annotations in sample policies (#2722)
Signed-off-by: charankamal20 <charanksingh20@gmail.com>
2026-07-02 11:36:17 +05:30

23 lines
494 B
YAML

apiVersion: security.kubearmor.com/v1
kind: KubeArmorClusterPolicy
metadata:
annotations:
app.kubearmor.io/source: KubeArmor Operator
app.kubearmor.io/type: harden
name: harden-write-in-shm-dir
namespace: gmp-system
spec:
action: Audit
file:
matchDirectories:
- dir: /dev/shm/
readOnly: true
recursive: true
message: Alert! write to /dev/shm folder prevented.
selector:
matchExpressions:
severity: 5
tags:
- MITRE
- MITRE_TA0002_Execution