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: use of "tag" instead of "tags" in default rules #1081

Merged
merged 1 commit into from
Mar 10, 2020

Conversation

vicenteherrera
Copy link
Contributor

@vicenteherrera vicenteherrera commented Mar 9, 2020

Signed-off-by: Vicente Herrera vicenteherrera@vicenteherrera.com

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 examples

/area rules

/area integrations

/area tests

/area proposals

What this PR does / why we need it:

Fix rules that used wrong 'tag' keyword to use the right one, 'tags'.

Which issue(s) this PR fixes:

Some rules where using 'tag' keyword instead of valid 'tags' keyword. That prevented using tags to filter them.

Fixes #

Special notes for your reviewer:

After this change, when using command line switches -T to disable rules by certain tag, or -t to only run rules with a certain tag, a different set with more rules will match as now they are more rules correctly tagged.

Does this PR introduce a user-facing change?:

Yes

fix: -T (to disable rules by certain tag) or -t (to only run rules with a certain tag) work now

Signed-off-by: Vicente Herrera <vicenteherrera@vicenteherrera.com>
@vicenteherrera
Copy link
Contributor Author

/assign @Kaizhe

leodido
leodido previously approved these changes Mar 10, 2020
Copy link
Member

@leodido leodido left a comment

Choose a reason for hiding this comment

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

LGTM

@poiana
Copy link

poiana commented Mar 10, 2020

LGTM label has been added.

Git tree hash: adf9b237cca91a14bfbcc8c597a5bbb588feffdf

@leodido leodido dismissed their stale review March 10, 2020 19:50

The base branch was changed.

@leodido leodido changed the base branch from dev to master March 10, 2020 19:50
@poiana poiana removed the approved label Mar 10, 2020
@leodido leodido self-requested a review March 10, 2020 19:50
@poiana
Copy link

poiana commented Mar 10, 2020

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: leodido

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

@poiana poiana merged commit 085009a into falcosecurity:master Mar 10, 2020
@leodido
Copy link
Member

leodido commented Mar 10, 2020

/milestone 0.21.0

@poiana poiana added this to the 0.21.0 milestone Mar 10, 2020
@fntlnz
Copy link
Contributor

fntlnz commented Mar 10, 2020

This fixed issue #1082

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.

None yet

5 participants