You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create an exception for the following rule trigger where some of the fields are null. I want to disregard the alert if k8s.pod.name = null and some other conditions are true. I have tried several different conditions without success (not exists and != '""').
Given other issues here regarding the null value, I have thought about whether k8s.pod.name shouldn't be null in the first place. But I only see the fields as null with this specific proc.cmdline, so I'm assuming this is expected.
I tried both not exists and != '""'. I used both the condition syntax and the exception syntax. Example:
- rule: Unexpected UDP Trafficdesc: > Detecting UDP traffic ...condition: > inbound_outbound and fd.l4proto=udp and not expected_udp_traffic and not container.id = host and not (proc.args startswith /image/hello/../world.py and proc.name = python3 and user.uid = 1000 and fd.lport = 433 and not k8s.pod.name exists)
I am trying to create an exception for the following rule trigger where some of the fields are
null
. I want to disregard the alert ifk8s.pod.name = null
and some other conditions are true. I have tried several different conditions without success (not exists
and!= '""'
).Given other issues here regarding the
null
value, I have thought about whetherk8s.pod.name
shouldn't benull
in the first place. But I only see the fields as null with this specificproc.cmdline
, so I'm assuming this is expected.Here is the
stdout
from Falco.I tried both
not exists
and!= '""'
. I used both thecondition
syntax and theexception
syntax. Example:and
I would really appreciate some guidance on how to write the filter correctly.
Thank you for all your hard work!
The text was updated successfully, but these errors were encountered: