event-generator icon indicating copy to clipboard operation
event-generator copied to clipboard

`K8s-Role.Clusterrolebinding-Created` is not triggered

Open leogr opened this issue 5 years ago • 14 comments

Describe the bug

The vanilla-role-rolebinding-serviceaccount.yaml should trigger different rules, but K8s-Role.Clusterrolebinding-Created is not triggered

How to reproduce it

Try to manually deploy the resource file or use the event-generator.

Expected behaviour

The rule K8s-Role.Clusterrolebinding-Created was triggered.

Screenshots

Environment

  • Falco version: 0.23.0
  • System info:
  • Cloud provider or hardware configuration:
  • OS:
  • Kernel:
  • Installation method: kubectl apply

Additional context

  • The file is going to be renamed by #31
  • We could create another action for the K8s-Serviceaccount-Created rule only

leogr avatar Jun 19 '20 15:06 leogr

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

poiana avatar Feb 08 '21 20:02 poiana

/remove-lifecycle stale /help

leogr avatar Feb 17 '21 07:02 leogr

@leogr: This request has been marked as needing help from a contributor.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-help command.

In response to this:

/remove-lifecycle stale /help

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 avatar Feb 17 '21 07:02 poiana

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

poiana avatar May 18 '21 10:05 poiana

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 avatar Jun 17 '21 14:06 poiana

/remove-lifecycle stale /remove-lifecycle rotten

leogr avatar Jun 17 '21 15:06 leogr

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

poiana avatar Sep 15 '21 20:09 poiana

/remove-lifecycle stale

leogr avatar Sep 16 '21 12:09 leogr

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

poiana avatar Dec 15 '21 15:12 poiana

/remove-lifecycle stale

leogr avatar Dec 20 '21 09:12 leogr

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

poiana avatar Jul 25 '22 15:07 poiana

/remove-lifecycle stale /help

leogr avatar Aug 03 '22 14:08 leogr

cc @alacuku

leogr avatar Aug 03 '22 14:08 leogr

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

poiana avatar Nov 01 '22 15:11 poiana

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 avatar Dec 01 '22 15:12 poiana

/remove-lifecycle stale

alacuku avatar Dec 02 '22 07:12 alacuku

/remove-lifecycle rotten

alacuku avatar Dec 02 '22 07:12 alacuku

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

poiana avatar Mar 02 '23 09:03 poiana

/remove-lifecycle stale

FedeDP avatar Mar 02 '23 10:03 FedeDP

Are you referring to this action https://github.com/falcosecurity/event-generator/blob/c70bca02787ba330ebe322737f25567d997ab87c/events/k8saudit/yaml/k8s-serviceaccount-created.yaml#L34? In that case I don't see any ref at a ClusterRole 🤔 @leogr

therealbobo avatar Apr 21 '23 10:04 therealbobo

Hey @therealbobo

That's probably the problem. Thus, we should either remove the action or create an action to trigger that rule.

leogr avatar Apr 21 '23 13:04 leogr

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

poiana avatar Jul 20 '23 19:07 poiana

/remove-lifecycle stale

therealbobo avatar Jul 20 '23 19:07 therealbobo

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

poiana avatar Oct 18 '23 21:10 poiana

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 avatar Nov 17 '23 21:11 poiana

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 avatar Dec 17 '23 21:12 poiana

@poiana: Closing this issue.

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 avatar Dec 17 '23 21:12 poiana