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

Can't use -pk/-pc with k8s audit rules #466

Closed
mstemm opened this issue Nov 14, 2018 · 1 comment
Closed

Can't use -pk/-pc with k8s audit rules #466

mstemm opened this issue Nov 14, 2018 · 1 comment

Comments

@mstemm
Copy link
Contributor

mstemm commented Nov 14, 2018

If you try to run falco 0.13.0 with -pk/-pc, falco won't start:

Wed Nov 14 01:12:58 2018: Runtime error: Error loading rules: [string "-- Copyright (C) 2016-2018 Draios Inc dba Sys..."]:520: Invalid output format 'K8s Operation performed by user not in allowed list of users (user=%ka.user.name target=%ka.target.name/%ka.target.resource verb=%ka.verb uri=%ka.uri resp=%ka.response.code) k8s.pod=%k8s.pod.name container=%container.id': 'Could not parse format string "K8s Operation performed by user not in allowed list of users (user=%ka.user.name target=%ka.target.name/%ka.target.resource verb=%ka.verb uri=%ka.uri resp=%ka.response.code) k8s.pod=%k8s.pod.name container=%container.id": unknown filtercheck field k8s.pod.name container=%container.id'. Exiting.

The problem is that -pk/-pc add an implicit %container.info to the output of every rule. It should only do that for source=syscall rules.

@mfdii
Copy link
Member

mfdii commented Jan 23, 2019

fixed in #495

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants