docs: How can I use Hooks (if at all) in Tracee Policies? #3407
-
As part of our extra events, we specify hooks e.g. spec:
scope:
- container
rules:
- event: file_modified https://aquasecurity.github.io/tracee/v0.17/docs/events/builtin/extra/file_modification/#hooks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The hooks mentioned there are where tracee will hook in order to generate the event, in this case, The user only uses events, and you can see the ones supported by running `tracee list. |
Beta Was this translation helpful? Give feedback.
The hooks mentioned there are where tracee will hook in order to generate the event, in this case,
file_modification
and they are not exposed to the user https://github.com/aquasecurity/tracee/blob/main/pkg/events/core.go#L10436-L10458The user only uses events, and you can see the ones supported by running `tracee list.