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

rule (Write below monitored dir): Clean up and use glob matching. #1560

Merged
merged 2 commits into from
Mar 12, 2021
Merged

rule (Write below monitored dir): Clean up and use glob matching. #1560

merged 2 commits into from
Mar 12, 2021

Conversation

shane-lawrence
Copy link
Contributor

@shane-lawrence shane-lawrence commented Feb 20, 2021

Signed-off-by: Shane Lawrence [email protected]

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

If contributing rules or changes to rules, please make sure to also uncomment one of the following line:

/kind rule-update

/kind rule-create

Any specific area of the project related to this PR?

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

/area build

/area engine

/area rules

/area tests

/area proposals

What this PR does / why we need it:
This cleans up the Write below monitored dir rule by changing its lists and macros. The user_ssh_directory macro was created with a less precise condition while awaiting draios/sysdig#1152, but the fix has been widely available for some time now.

Which issue(s) this PR fixes:
Clean up only, no bug fixes.

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:
I hope not!

rule(macro user_ssh_directory): using glob operator

Signed-off-by: Shane Lawrence <[email protected]>
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.

👍

@poiana
Copy link
Contributor

poiana commented Feb 22, 2021

LGTM label has been added.

Git tree hash: 37cc2fda5ac9cb2256eef55a976d9993fe240726

@leogr
Copy link
Member

leogr commented Mar 4, 2021

/milestone 0.28.0

@poiana poiana added this to the 0.28.0 milestone Mar 4, 2021
@leogr
Copy link
Member

leogr commented Mar 5, 2021

/hold

to let other PRs get merged, feel free to un-hold once approved by the 2 maintainers

@poiana
Copy link
Contributor

poiana commented Mar 12, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fntlnz, 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:

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

@leogr
Copy link
Member

leogr commented Mar 12, 2021

/hold cancel

@poiana poiana merged commit 2f0e09b into falcosecurity:master Mar 12, 2021
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