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

Make audit-sample-rules into a diff-style tool #274

Merged
merged 2 commits into from
Oct 9, 2024
Merged

Conversation

comps
Copy link
Contributor

@comps comps commented Oct 9, 2024

Based on recent discussions, turn the test into a diff-like tool the output of which is to be always reviewed by a human.

This is in contrast to the old (current) state which treats the test as a regression test, assuming it is meant to normally pass.
And that would make sense if we wanted to keep audit rule lists stored in the content identical with auditd samples, but we (CaC/content) do not want that.

Instead, the intention is to just alert about any differences, and let the humans decide whether they are significant enough to update the CaC/content audit rules, and how.

Based on recent discussions, turn the test into a diff-like tool
the output of which is to be always reviewed by a human.

This is in contrast to the old (current) state which treats the
test as a regression test, assuming it is meant to normally 'pass'.

And that would make sense if we wanted to keep audit rule lists stored
in the content identical with auditd samples, but we (CaC/content)
do not want that.

Instead, the intention is to just alert about any differences, and let
the humans decide whether they are significant enough to update the
CaC/content audit rules, and how.

Signed-off-by: Jiri Jaburek <[email protected]>
This makes it consistent with other diff-style tests.

Signed-off-by: Jiri Jaburek <[email protected]>
@mildas mildas merged commit e865e59 into main Oct 9, 2024
3 checks passed
@mildas mildas deleted the audit_samples_as_diff branch October 9, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants