falcosecurity / rules

Falco rule repository
https://falcosecurity.github.io/rules/
Apache License 2.0
88 stars 64 forks source link

chore: remove `exe_flags=%evt.arg.flags` output from each non spawned_process rule #217

Closed incertum closed 5 months ago

incertum commented 5 months ago

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind feature

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area rules

/area registry

/area build

/area documentation

Proposed rule maturity level

Uncomment one (or more) /area <> lines (only for PRs that add or modify rules):

/area maturity-stable

/area maturity-incubating

/area maturity-sandbox

/area maturity-deprecated

What this PR does / why we need it:

chore: rename exe_flags= to flags= in output fields

Which issue(s) this PR fixes:

https://github.com/falcosecurity/rules/issues/176#issuecomment-1741234872

Fixes #

Special notes for your reviewer:

github-actions[bot] commented 5 months ago

Rules files suggestions

falco-incubating_rules.yaml

Comparing 24ed7b81e8394313552d2ce14ca84f4dc73aea8d with latest tag falco-incubating-rules-2.0.0

Minor changes:

Patch changes:

falco_rules.yaml

Comparing 24ed7b81e8394313552d2ce14ca84f4dc73aea8d with latest tag falco-rules-2.0.0

Minor changes:

Patch changes:

falco-sandbox_rules.yaml

Comparing 24ed7b81e8394313552d2ce14ca84f4dc73aea8d with latest tag falco-sandbox-rules-2.0.0

Patch changes:

incertum commented 5 months ago

I would prefer to keep the exe_flags=%evt.arg.flags in all rules with spawned_process and remove all the other usages instead of renaming them. exe_flags has a lot of value because it reports exe_writable/exe_upper_layer flag, in all other cases i don't see so much value, WDYT?

Indifferent at the end of the day. Let's wait to hear from more folks and go with what everyone prefers. Only asking for a final decision so that we update the style guide one more time now and hopefully afterwards things can stabilize.

loresuso commented 5 months ago

I agree with

I would prefer to keep the exe_flags=%evt.arg.flags in all rules with spawned_process and remove all the other usages instead of renaming them

+1 from me

incertum commented 5 months ago

Roger that plz help me double-checking if it is all correct. Thanks!

github-actions[bot] commented 5 months ago

Rules files suggestions

falco-incubating_rules.yaml

Comparing 8f52e05fb16d5c735d0f04d9361d3f7b2319bc88 with latest tag falco-incubating-rules-2.0.0

Minor changes:

Patch changes:

falco_rules.yaml

Comparing 8f52e05fb16d5c735d0f04d9361d3f7b2319bc88 with latest tag falco-rules-2.0.0

Minor changes:

Patch changes:

falco-sandbox_rules.yaml

Comparing 8f52e05fb16d5c735d0f04d9361d3f7b2319bc88 with latest tag falco-sandbox-rules-2.0.0

Patch changes:

poiana commented 5 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Andreagit97, incertum

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/falcosecurity/rules/blob/main/OWNERS)~~ [Andreagit97,incertum] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
poiana commented 5 months ago

LGTM label has been added.

Git tree hash: 502f5068f74538e8dc2bf16c29ba17c0f363dee6