Skip to content

Allow k8s filterchecks with analyzer#1160

Merged
mstemm merged 1 commit intodevfrom
allow-k8s-filterchecks-analyzer
Jul 9, 2018
Merged

Allow k8s filterchecks with analyzer#1160
mstemm merged 1 commit intodevfrom
allow-k8s-filterchecks-analyzer

Conversation

@mstemm
Copy link
Contributor

@mstemm mstemm commented Jun 26, 2018

Allow k8s filterchecks when compiling with the analyzer. This matches
what we do for mesos--the filterchecks may not actually match events, as
we don't directly connect the inspector to external mesos/k8s servers,
but they will at least be defined.

This also ensures that a falco rules file validated with open source
falco will also be validated by the sysdig agent.

@mstemm mstemm requested a review from mattpag June 26, 2018 19:07
@mstemm mstemm force-pushed the allow-k8s-filterchecks-analyzer branch from 9bcccd2 to 25918f0 Compare June 26, 2018 19:46
Allow k8s filterchecks when compiling with the analyzer. This matches
what we do for mesos--the filterchecks may not actually match events, as
we don't directly connect the inspector to external mesos/k8s servers,
but they will at least be defined.

This also ensures that a falco rules file validated with open source
falco will also be validated by the sysdig agent.

As the analyzer does not have the necessary backing information for some
previously ifdef'd out filterchecks, when HAS_ANALYZER is defined
replace these with stubs that just return NULL/empty lists.
@mstemm mstemm force-pushed the allow-k8s-filterchecks-analyzer branch from 31d8c0a to 66d8fdc Compare June 26, 2018 21:29
@mstemm mstemm requested a review from bertocci June 26, 2018 21:30
@mstemm mstemm merged commit 44c3bf3 into dev Jul 9, 2018
@mstemm mstemm deleted the allow-k8s-filterchecks-analyzer branch July 9, 2018 21:42
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

Successfully merging this pull request may close these issues.

2 participants