tracee
tracee copied to clipboard
select rules by tag
signatures have a tags
field. tracee-rules --rules
should allow the user to select tags of rules in addition to individual rules.
should follow tracee-ebpf's flag conventions e.g -t event / event set
Using the new rules as events experience, we can have tags treated the same way as sets. @josedonizetti WDYT?
@yanivagman 100%, when creating the events from signatures we can pass all tags as sets https://github.com/aquasecurity/tracee/blob/main/pkg/events/events.go#L84
We can add a specific filter for it, but below it would be 100% the set logic, only an alias for it
Great! We should think how we can also choose signatures according to their severity level
would it make sense to make properties
dynamic? So for every property one could filter with --trace property. severity=3
? So any signature property can have the key
used as a filter under property.*
would it make sense to make
properties
dynamic? So for every property one could filter with--trace property. severity=3
? So any signature property can have thekey
used as a filter underproperty.*
Yes, that can work. @idanr1986 @AsafEitani any comments from your side about that?
Sounds good to me
feels like the only real use case of this is to filter by severity. I suggested to promote severity to event metadata so it can be filtered like other fields, if that makes sense to you (need to discuss over there), then maybe we don't need to generalize filter by any property