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

move falco_hostnetwork_images list to k8s_audit_rules.yaml to avoid a warning #1681

Merged
merged 3 commits into from
Jan 24, 2022

Conversation

leodido
Copy link
Member

@leodido leodido commented Jun 21, 2021

Signed-off-by: Leonardo Di Donato leodidonato@gmail.com

What type of PR is this?

/kind cleanup

/kind rule-update

Any specific area of the project related to this PR?

/area rules

What this PR does / why we need it:

The falco_hostnetwork_images list is defined in falco_rules.yaml but it's unused in it.

This PR moves it to avoid the warning when using only falco_rules.yaml.

When reading rules content: 1 warnings:
list falco_hostnetwork_images not referred to by any rule/macro/list

Which issue(s) this PR fixes:

NONE

Special notes for your reviewer:

The falco_hostnetwork_images list is only used in k8s_audit_rules.yaml.

Does this PR introduce a user-facing change?:

rule(list falco_hostnetwork_images): moved to k8s_audit_rules.yaml to avoid a warning when usng falco_rules.yaml only

@leodido
Copy link
Member Author

leodido commented Jun 21, 2021

/milestone 0.30.0

@poiana poiana added this to the 0.30.0 milestone Jun 21, 2021
Kaizhe
Kaizhe previously approved these changes Jun 21, 2021
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.

falco_hostnetwork_images is used in k8s_audit_rules.yaml.

It is also used by some integration tests (it seems they are failing for this reason).

Not sure if it makes sense to move the list to the k8s_audit_rules.yaml or leaving it as is now 🤔

@leodido
Copy link
Member Author

leodido commented Jun 23, 2021 via email

@leodido leodido changed the title remove falco_hostnetwork_images list (unused) move falco_hostnetwork_images list to k8s_audit_rules.yaml to avoid a warning regarding falco_rules.yaml Jun 23, 2021
@leodido leodido changed the title move falco_hostnetwork_images list to k8s_audit_rules.yaml to avoid a warning regarding falco_rules.yaml move falco_hostnetwork_images list to k8s_audit_rules.yaml to avoid a warning Jun 23, 2021
@leodido leodido requested a review from leogr June 23, 2021 17:04
@poiana
Copy link
Contributor

poiana commented Sep 21, 2021

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

@leogr
Copy link
Member

leogr commented Sep 22, 2021

Hey @leodido

Sorry, I had lost track of this PR. Is there any other issue other than the failing tests? Otherwise, it SGTM.

@leodido leodido force-pushed the leodido-remove-unused-list branch from 66a3729 to 594536f Compare September 22, 2021 10:40
@leodido
Copy link
Member Author

leodido commented Sep 22, 2021

Rebased

@leogr leogr modified the milestones: 0.30.0, 0.31.0 Sep 28, 2021
@poiana
Copy link
Contributor

poiana commented Oct 29, 2021

Stale issues rot after 30d of inactivity.

Mark the issue as fresh with /remove-lifecycle rotten.

Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle rotten

@poiana
Copy link
Contributor

poiana commented Nov 28, 2021

Rotten issues close after 30d of inactivity.

Reopen the issue with /reopen.

Mark the issue as fresh with /remove-lifecycle rotten.

Provide feedback via https://github.com/falcosecurity/community.
/close

@poiana
Copy link
Contributor

poiana commented Nov 28, 2021

@poiana: Closed this PR.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue with /reopen.

Mark the issue as fresh with /remove-lifecycle rotten.

Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@poiana poiana closed this Nov 28, 2021
@leogr
Copy link
Member

leogr commented Nov 29, 2021

Hey @leodido

Unfortunately, I lost track of this. Not sure if the PR is still in a consistent state. Let me know if I can help.

@leogr
Copy link
Member

leogr commented Jan 24, 2022

/reopen

@poiana poiana reopened this Jan 24, 2022
@poiana
Copy link
Contributor

poiana commented Jan 24, 2022

@leogr: Reopened this PR.

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

leodido and others added 2 commits January 24, 2022 12:42
The `falco_hostnetwork_images` list is unused.

This PR removes it to avoid the warning.

```console
When reading rules content: 1 warnings:
list falco_hostnetwork_images not refered to by any rule/macro/list
```

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Leonardo Grasso <me@leonardograsso.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
@leogr leogr force-pushed the leodido-remove-unused-list branch from 594536f to d3d3f57 Compare January 24, 2022 11:42
@leogr
Copy link
Member

leogr commented Jan 24, 2022

I've rebased this PR on the current master.

@leogr
Copy link
Member

leogr commented Jan 24, 2022

/remove-lifecycle rotten

Co-Authored-by: Jason Dellaluce <jasondellaluce@gmail.com>
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
@leogr
Copy link
Member

leogr commented Jan 24, 2022

/milestone 0.31.0

@leogr
Copy link
Member

leogr commented Jan 24, 2022

/unhold

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

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 24, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jasondellaluce, leodido, 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,leodido,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 9ae8d28 into master Jan 24, 2022
@poiana poiana deleted the leodido-remove-unused-list branch January 24, 2022 14:03
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.

5 participants