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

k8s audit plug-ins for AKS and GCP #243

Open
Tracked by #228
alfredomagallon opened this issue Mar 23, 2023 · 24 comments · May be fixed by #551
Open
Tracked by #228

k8s audit plug-ins for AKS and GCP #243

alfredomagallon opened this issue Mar 23, 2023 · 24 comments · May be fixed by #551
Labels
help wanted Extra attention is needed kind/feature New feature or request

Comments

@alfredomagallon
Copy link

alfredomagallon commented Mar 23, 2023

Motivation

As today most projects are multi-cloud, we would need k8saudit plug-in for at least AKS and GCP

Feature

k8s audit plug-ins for AKS and GKE

Alternatives

Today's alternative is creating a messaging stack on each CSP to send logs to the falco Web service

@alfredomagallon alfredomagallon added the kind/feature New feature or request label Mar 23, 2023
@jasondellaluce
Copy link
Contributor

Moving this into the plugins repository.

@jasondellaluce jasondellaluce transferred this issue from falcosecurity/falco Mar 23, 2023
@poiana
Copy link
Contributor

poiana commented Jun 21, 2023

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

@jasondellaluce
Copy link
Contributor

/remove-lifecycle stale

@jasondellaluce
Copy link
Contributor

/help

@poiana
Copy link
Contributor

poiana commented Jun 21, 2023

@jasondellaluce:
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:

/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 poiana added the help wanted Extra attention is needed label Jun 21, 2023
@jasondellaluce
Copy link
Contributor

cc @ahmedameenaim

@poiana
Copy link
Contributor

poiana commented Sep 19, 2023

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
Copy link
Contributor

poiana commented Oct 19, 2023

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 18, 2023

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 18, 2023

@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 poiana closed this as completed Nov 18, 2023
@jasondellaluce
Copy link
Contributor

/remove-lifecycle rotten

/reopen

@poiana poiana reopened this Nov 20, 2023
@poiana
Copy link
Contributor

poiana commented Nov 20, 2023

@jasondellaluce: Reopened this issue.

In response to this:

/remove-lifecycle rotten

/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.

@poiana
Copy link
Contributor

poiana commented Feb 18, 2024

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

@Issif
Copy link
Member

Issif commented Mar 7, 2024

A plugin for GKE is in progress #424

@poiana
Copy link
Contributor

poiana commented Apr 6, 2024

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

@jasondellaluce
Copy link
Contributor

@alfredomagallon for GKE I think we should be all set now: https://github.com/falcosecurity/plugins/tree/main/plugins/k8saudit-gke

So I guess the only one remaining among the requested ones is the AKS integration. cc @leogr

/remove-lifecycle rotten

@jemag
Copy link

jemag commented Apr 30, 2024

Regarding the AKS plugin, this project was created a while ago by sysdig: https://github.com/sysdiglabs/aks-audit-log .

Since it wasn't too actively maintained and we wanted to be able to make modifications (and not too familiar with C#), we created our own version in Go here : https://github.com/dfo-mpo/aks-audit-log-go . It is still a fairly young project, but we are actively using it at the moment.

Not sure if our Go code fits the needs here, but if it does it could serve as a starting point or we could potentially consider giving out the codebase to the falcosecurity project (I would have to discuss this option internally first).

@leogr
Copy link
Member

leogr commented Apr 30, 2024

@jemag, have you considered transforming it into a plugin? 🤔
it would be the best option IMO, and in case you consider contributing it to falcosecurity org, we can help maintain it.

@jemag
Copy link

jemag commented Apr 30, 2024

To be honest, we never thought of it. Initially there was only the sysdig code available and doing a rewrite in Go with the same approach was the fastest route for us.

I think it seems like the most reasonable route to go for in the future. The problem is we are already pretty overloaded on our side and don't really have the bandwidth to allocate to transforming it, especially since it already works for us (we are a very small team). I doubt we would be able to work on this until at least a couple of months.

If anyone wants to use it as inspiration for creating a plugin in the meantime, feel free to do so. Otherwise, individuals waiting for the plugin can also use it as is in the meantime (we'll likely publish official container images in the very near future).

If things change on our side and we have some time to allocate to a transformation, I'll provide an update in the issue.

@leogr
Copy link
Member

leogr commented May 2, 2024

Thank you @jemag

I believe transforming it into a plugin would not require too much for a developer already familiar with our plugin ecosystem. I totally understand your point about the bandwidth, and it's totally fair 👍 Likely, @Issif can help (as he commented here) without any significant effort from your side.
Let's see what we can do :)

@poiana
Copy link
Contributor

poiana commented Jul 31, 2024

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 Jul 31, 2024

/remove-lifecycle stale

We only miss k8saudit for AKS. Although we don't have any estimation for that yet, I wanted to let you know that @alacuku , @Issif, and I are trying to make this happen. So stay tuned. Ofc, any help is welcome.

@poiana
Copy link
Contributor

poiana commented Oct 29, 2024

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 Oct 30, 2024

/remove-lifecycle stale

@leogr leogr linked a pull request Dec 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed kind/feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants