Skip to content

docs: How can I use Hooks (if at all) in Tracee Policies? #3402

@AnaisUrlichs

Description

@AnaisUrlichs

As part of our extra events, we specify hooks e.g. file_modified is a hook within file_modification
Can I just use the hook directly as the event within the file section of the policy or do I need to specify it differently?

spec:
    scope:
      - container
    rules:
      - event: file_modified

https://aquasecurity.github.io/tracee/v0.17/docs/events/builtin/extra/file_modification/#hooks

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions