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

Standardisation capability of Falco rule output #3157

Open
samsson opened this issue Apr 8, 2024 · 2 comments
Open

Standardisation capability of Falco rule output #3157

samsson opened this issue Apr 8, 2024 · 2 comments
Milestone

Comments

@samsson
Copy link

samsson commented Apr 8, 2024

Motivation

When writing Falco rules, the output needs to be formatted separately for each rule. This must be copied from other rules of written from scratch that can easily introduce inconsistencies and overhead.
A way to create template(s) for output format would streamline work and ensure consistency.

Feature

A macro based or other template facilitates creating a Falco rule output format that can be used in one or more Falco rules.
The macro would contain the same information as the output contains today while the rule output could contain the macro.
Example:

macro: user_info_format
(username=%user.name loginuid=%user.loginuid)

- rule:....
  output: >
    detection rule triggered: user_info_format

Alternatives
Something else than macro

Additional context

The thought was briefly mentioned here: #577 (comment)
by: @mfdii

@Andreagit97 Andreagit97 added this to the TBD milestone Apr 9, 2024
@Andreagit97
Copy link
Member

Thank you for reporting this! This seems a useful feature, we will consider it!

@WoutResseler
Copy link

Plus one, would be very nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants