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

How to I stop events generating for particular pod. #2805

Open
manojdeshmukh45 opened this issue Sep 13, 2023 · 14 comments
Open

How to I stop events generating for particular pod. #2805

manojdeshmukh45 opened this issue Sep 13, 2023 · 14 comments

Comments

@manojdeshmukh45
Copy link

I need to drop all events related one particular container

I Userd this rule

  • rule: Exclude All Alerts and Drop Events for Specific Pod Name
    desc: Exclude all alerts and drop events for a specific pod name
    condition: container.name == "b2auto-re"
    drop: true

Here its giving me error that there is no output an dpriority key, if I add those two again ill get an alert as "INFO Exclude All Alerts and Drop Events for Specific Pod Name".

where I dont need an alert at all.

@Andreagit97 Andreagit97 added this to the TBD milestone Sep 13, 2023
@Andreagit97
Copy link
Member

Andreagit97 commented Sep 13, 2023

ei @manojdeshmukh45 probably you need to add container.name != "b2auto-re" in all the rules from which you don't want to receive alerts

The rule you posted do nothing in the Falco lingo :/

@Andreagit97 Andreagit97 self-assigned this Sep 13, 2023
@Andreagit97
Copy link
Member

I read the thread here https://kubernetes.slack.com/archives/CMWH3EH32/p1694596477483489, this seems more a feature request than a bug so i will change the label

@Andreagit97
Copy link
Member

maybe we could add the equivalent of -p but for the conditions, WDYT? @falcosecurity/falco-maintainers ?

@leogr
Copy link
Member

leogr commented Sep 15, 2023

maybe we could add the equivalent of -p but for the conditions, WDYT? @falcosecurity/falco-maintainers ?

Not sure. Since this directly affects rules evaluation, it should be part of a rules file (and not an option), IMO.

Anyway, I agree we should think about this feature. It looks like a global condition exception.

@poiana
Copy link
Contributor

poiana commented Jan 15, 2024

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

@leogr
Copy link
Member

leogr commented Jan 16, 2024

/remove-lifecycle stale

@poiana
Copy link
Contributor

poiana commented Apr 15, 2024

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

@Andreagit97
Copy link
Member

/remove-lifecycle stale

@poiana
Copy link
Contributor

poiana commented Jul 14, 2024

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

@Andreagit97
Copy link
Member

/remove-lifecycle stale

@poiana
Copy link
Contributor

poiana commented Oct 13, 2024

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

@leogr
Copy link
Member

leogr commented Oct 14, 2024

/remove-lifecycle stale

@poiana
Copy link
Contributor

poiana commented Jan 12, 2025

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

@leogr
Copy link
Member

leogr commented Jan 13, 2025

/remove-lifecycle stale

@Andreagit97 Andreagit97 removed their assignment Jan 13, 2025
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

4 participants