We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
General Information
uname -a
To Reproduce
apiVersion: security.kubearmor.com/v1 kind: KubeArmorPolicy metadata: name: restricted-policy namespace: test spec: severity: 7 selector: matchLabels: repository: test file: matchDirectories: - dir: / recursive: true fromSource: - path: /usr/local/bin/test action: Block - dir: / recursive: true - dir: /tmp/ recursive: true fromSource: - path: /usr/local/bin/test - dir: /dev/pts/ recursive: true fromSource: - path: /usr/local/bin/test Action: Allow
Expected behavior
In the logs, we should expect to see the blocked policy name, but instead, we're getting 'DefaultPosture'
{ "Action": "Block", "container_name": "kubearmor-relay-server", "Data": "lsm=FILE_OPEN", "Enforcer": "BPFLSM", "Operation": "File", "ParentProcessName": "/usr/local/bin/test", "pod_name": "kubearmor-relay-67bcdcbf55-sh7lz", "PolicyName": "DefaultPosture", "ProcessName": "/usr/local/bin/test", "Resource": "/usr/bin/dash", "Result": "Permission denied", "Source": "/usr/local/bin/test", "Type": "MatchedPolicy" }
The text was updated successfully, but these errors were encountered:
daemon1024
Successfully merging a pull request may close this issue.
Bug Report
General Information
EKS
uname -a
)5.10.210
We've already discussed this on Slack. https://kubearmor.slack.com/archives/C01F9V3SEHY/p1710515251987349?thread_ts=1707315924.623569&cid=C01F9V3SEHY
To Reproduce
Expected behavior
In the logs, we should expect to see the blocked policy name, but instead, we're getting 'DefaultPosture'
The text was updated successfully, but these errors were encountered: