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

new(engine): add warning when appending an exception with no values #3133

Merged
merged 2 commits into from
Mar 27, 2024

Conversation

mrgian
Copy link
Contributor

@mrgian mrgian commented Mar 8, 2024

What type of PR is this?

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

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

/kind release

Any specific area of the project related to this PR?

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

/area build

/area engine

/area tests

/area proposals

/area CI

What this PR does / why we need it:
Adds a warning when a rule appends exceptions with no values.
Can be useful when an appended rule has a miswritten field.

Which issue(s) this PR fixes: #2354

Fixes #2354

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

new(engine): add warning when appending an exception with no values

Copy link

github-actions bot commented Mar 8, 2024

This PR may bring feature or behavior changes in the Falco engine and may require the engine version to be bumped.

Please double check userspace/engine/falco_engine_version.h file. See versioning for FALCO_ENGINE_VERSION.

/hold

jasondellaluce
jasondellaluce previously approved these changes Mar 25, 2024
@poiana
Copy link
Contributor

poiana commented Mar 25, 2024

LGTM label has been added.

Git tree hash: 0163b1c1ae43de80f9c60370d9bfe16c018233d3

Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
@poiana poiana added size/L and removed size/M labels Mar 26, 2024
@mrgian mrgian force-pushed the warning-append-no-values branch from ce69829 to 55444fb Compare March 26, 2024 11:23
@poiana poiana added the lgtm label Mar 26, 2024
@poiana
Copy link
Contributor

poiana commented Mar 26, 2024

LGTM label has been added.

Git tree hash: a19f926c9d029f485d2beb87c51a27a771be05a3

Copy link
Contributor

@FedeDP FedeDP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@poiana
Copy link
Contributor

poiana commented Mar 27, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: FedeDP, LucaGuerra, mrgian

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:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@FedeDP
Copy link
Contributor

FedeDP commented Mar 27, 2024

/milestone 0.38.0

@poiana poiana added this to the 0.38.0 milestone Mar 27, 2024
@FedeDP
Copy link
Contributor

FedeDP commented Mar 27, 2024

/unhold

@poiana poiana merged commit a8018a2 into falcosecurity:master Mar 27, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Falco validation does not catch an exception that is not defined correctly
5 participants