Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename rule argument filters to data filters #4031

Open
yanivagman opened this issue May 8, 2024 · 0 comments · May be fixed by #4073
Open

Rename rule argument filters to data filters #4031

yanivagman opened this issue May 8, 2024 · 0 comments · May be fixed by #4073
Assignees
Milestone

Comments

@yanivagman
Copy link
Collaborator

Since the new event structure has "data" field to describe event data, and we no longer have "arguments" as part of the event data, it makes sense to rename argument filters to data filters so we keep things consistent.
This also implies that the syntax used by a data filter will change, for example:

    rules:
        event: security_file_open
        filters:
        - args.pathname=/tmp*

will now become:

    rules:
        event: security_file_open
        filters:
        - data.pathname=/tmp*

To keep backward compatibility we can treat both of these options valid, and fully deprecate args.xxx syntax in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants