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

First Rule Wins / Rule Priority #1541

Closed
ossie-git opened this issue Jan 28, 2021 · 4 comments
Closed

First Rule Wins / Rule Priority #1541

ossie-git opened this issue Jan 28, 2021 · 4 comments

Comments

@ossie-git
Copy link

What to document

The fact that given an event, only the first rule / match triggers isn't currently documented. This is confusing (and makes writing rules more difficult).

For example, if a user runs the "ls" command with the below rules, only the first rule will run

- rule: ls run
  desc: ls run
  condition: spawned_process and proc.name=ls
  output: ls run
  priority: INFO
  tags: [process]
 
- rule: ls run - 2
  desc: ls run - 2
  condition: spawned_process and proc.name=ls
  output: ls run - 2
  priority: INFO
  tags: [process]

This is unexpected behavior and not documented anywhere. It would be great if this behavior was documented in:

  • the official documentation
  • the corresponding rules files as a reminder

to make it clear to users that this is Falco's behavior

@poiana
Copy link
Contributor

poiana commented Apr 28, 2021

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

@poiana
Copy link
Contributor

poiana commented May 28, 2021

Stale issues rot after 30d of inactivity.

Mark the issue as fresh with /remove-lifecycle rotten.

Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle rotten

@poiana
Copy link
Contributor

poiana commented Jun 27, 2021

Rotten issues close after 30d of inactivity.

Reopen the issue with /reopen.

Mark the issue as fresh with /remove-lifecycle rotten.

Provide feedback via https://github.com/falcosecurity/community.
/close

@poiana
Copy link
Contributor

poiana commented Jun 27, 2021

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue with /reopen.

Mark the issue as fresh with /remove-lifecycle rotten.

Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@poiana poiana closed this as completed Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants