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

fix: force-set evt.type for plugin source events #1878

Merged
merged 5 commits into from
Jan 28, 2022

Conversation

FedeDP
Copy link
Contributor

@FedeDP FedeDP commented Jan 28, 2022

What type of PR is this?

/kind bug

Any specific area of the project related to this PR?

/area engine

/area tests

What this PR does / why we need it:

This completes the changes of #1875, by introducing protective logic on for the evttypes() method for the edge case of sources coming from plugins and k8s_audit. This prevents rules written from those sources to be unwillingly excluded from the rule index, which caused them to never match on any event.

This also bumps the plugin versions to the latest released versions, both in the CMake dependencies an in the aws_cloudtrail_rules.yaml ruleset.

Finally, semver check for required plugin versions has been added.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

…or "plugin" source events.

This workaround an issue in libs, targeting Falco 0.31.0.

Signed-off-by: Federico Di Pierro <[email protected]>

Co-authored-by: Leonardo Grasso <[email protected]>
Co-authored-by: Jason Dellaluce <[email protected]>
leogr and others added 2 commits January 28, 2022 12:55
Co-authored-by: Jason Dellaluce <[email protected]>
Co-authored-by: Federico Di Pierro <[email protected]>
Signed-off-by: Leonardo Grasso <[email protected]>
Co-authored-by: Jason Dellaluce <[email protected]
Signed-off-by: Leonardo Grasso <[email protected]>
@leogr
Copy link
Member

leogr commented Jan 28, 2022

Hoping this is the last set of last-minute fixes for this release

/milestone 0.31.0

Huge thank you to @FedeDP and @jasondellaluce 🤗

@poiana poiana added this to the 0.31.0 milestone Jan 28, 2022
Copy link
Member

@leogr leogr 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 Jan 28, 2022

LGTM label has been added.

Git tree hash: 68e5c3f748006accf74da48aaf3dc2c3edf16bc0

Copy link
Contributor

@jasondellaluce jasondellaluce 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 Jan 28, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: FedeDP, jasondellaluce, leogr

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 [jasondellaluce,leogr]

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

@poiana poiana merged commit 332d828 into falcosecurity:master Jan 28, 2022
@jasondellaluce jasondellaluce mentioned this pull request Jan 28, 2022
51 tasks
@FedeDP FedeDP deleted the evttype_fixes branch January 28, 2022 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants