Skip to content
New issue

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

falco load k8s audit rules failed #550

Closed
woniuzhang opened this issue Dec 6, 2024 · 6 comments · Fixed by falcosecurity/charts#799
Closed

falco load k8s audit rules failed #550

woniuzhang opened this issue Dec 6, 2024 · 6 comments · Fixed by falcosecurity/charts#799
Assignees
Labels
kind/bug Something isn't working

Comments

@woniuzhang
Copy link

/etc/falco/k8s_audit_rules.yaml | schema validation: failed for [11]: Value type not permitted by 'type' constraint.

Using helm chart install falco and use values-k8saudit.yaml as value file

Chart.yaml
apiVersion: v2
appVersion: 0.39.1
dependencies:

@woniuzhang woniuzhang added the kind/bug Something isn't working label Dec 6, 2024
@woniuzhang
Copy link
Author

I download the rule file k8s-audit.yaml , it seems like L82 is unnecessary.

图片

@woniuzhang
Copy link
Author

container falcoctl-artifact-install log
{"level":"INFO","msg":"Preparing to pull artifact","ref":"ghcr.io/falcosecurity/plugins/ruleset/k8saudit:0.7","timestamp":"2024-12-06 02:15:38"}

@alacuku
Copy link
Member

alacuku commented Dec 6, 2024

Hey @woniuzhang, thanks for the issue.

I'm seeing the same issue but it does not seem to be related to line 82:

.

I will investigate in the coming days and report back here.

@woniuzhang
Copy link
Author

@leogr
Copy link
Member

leogr commented Dec 12, 2024

/assign

I'm on it

Also I'm moving this issue to the plugins repo, since the problem is there.

@leogr leogr transferred this issue from falcosecurity/falco Dec 12, 2024
@leogr
Copy link
Member

leogr commented Dec 12, 2024

Hey @woniuzhang

The problem has been fixed already, you should use the latest plugins and rules version, which is 0.11.

I've also prepared falcosecurity/charts#799 for our helm charts to bump k8saudit to the latest version.

Please let me know if that solves your issue. Thank you 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants