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

Feature Request: Let K8saudit plugin watch/tail file and parse new lines. #191

Open
Strigix opened this issue Dec 7, 2022 · 14 comments
Open
Labels
help wanted Extra attention is needed kind/feature New feature or request

Comments

@Strigix
Copy link

Strigix commented Dec 7, 2022

Motivation

As of now the plugin reads the given filepath (file or files in directory), parses it to create the alerts and stops there.
To have this more aligned with the functionality of Falco and make the filepath option of the plugin more viable I would like to request the k8saudit plugin to watch given file(s) and parse newly written k8saudit lines to generate alerts.
This would allow us to use both Falco's syscall parsing, k8saudit parsing, without the need to change API-server configuration/add another webhook in the cluster.

Feature

  • Let k8saudit plugin tail/watch a given file for new entries and parse those new lines when k8saudit logs events.
  • Let plugin check if current watched/tailed file is rotated (example: close file and reopen file with the name given in filepath if no new event has been generated for X-amount of time)

Additional context

This feature should probably be built in at the source.go file of the k8sauditplugin

image

@Strigix Strigix added the kind/feature New feature or request label Dec 7, 2022
@poiana
Copy link
Contributor

poiana commented Mar 7, 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

@RichardoC
Copy link
Contributor

/remove-lifecycle stale

@poiana
Copy link
Contributor

poiana commented Jun 5, 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

@RichardoC
Copy link
Contributor

/remove-lifecycle stale

@poiana
Copy link
Contributor

poiana commented Sep 3, 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

@poiana
Copy link
Contributor

poiana commented Dec 3, 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

@RichardoC
Copy link
Contributor

/remove-lifecycle stale

@poiana
Copy link
Contributor

poiana commented Mar 2, 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

@RichardoC
Copy link
Contributor

/remove-lifecycle stale

@leogr
Copy link
Member

leogr commented May 29, 2024

/help

@poiana
Copy link
Contributor

poiana commented May 29, 2024

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

/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 May 29, 2024
@poiana
Copy link
Contributor

poiana commented Aug 27, 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 Aug 28, 2024

/remove-lifecycle stale

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

No branches or pull requests

5 participants