-
Notifications
You must be signed in to change notification settings - Fork 905
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
new(falco): add CLI option to print syscall list and docs in markdown format #1939
Conversation
Signed-off-by: Luca Guerra <luca@guerra.sh>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM!
Just left a suggestion!
/approve
LGTM label has been added. Git tree hash: 0a791a8c98227152b232687cd1af053f56eaaa09
|
/milestone 0.32.0 |
Signed-off-by: Luca Guerra <luca@guerra.sh> Co-authored-by: Leonardo Grasso <me@leonardograsso.com>
LGTM label has been added. Git tree hash: 426293133ed9ac6d5481936b4e7a741e0f045303
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jasondellaluce, leogr, LucaGuerra 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:
Approvers can indicate their approval by writing |
Signed-off-by: Luca Guerra luca@guerra.sh
What type of PR is this?
/kind documentation
/kind feature
Any specific area of the project related to this PR?
/area engine
What this PR does / why we need it:
This PR adds two options to the Falco CLI:
--list-syscall-events
: prints the list of syscall events, i.e. the ones that we can use in "evt.type" in Falco rules--markdown
: when used with--list
or--list-syscall-events
will print in markdown format, the same as https://falco.org/docs/rules/supported-fields/ and https://falco.org/docs/rules/supported-events/ .This should make it easy to update the documentation website when a new version is released!
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: