-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add auditd configuration #2024
Add auditd configuration #2024
Conversation
7154187
to
248be55
Compare
data_safe_haven/resources/workspace/ansible/files/etc/audit/rules.d/audit.rules
Outdated
Show resolved
Hide resolved
Using https://github.com/spdx/spdx-examples/tree/master/software/example3 as a reference for a package including a dependency in its source tree.
0fd9565
to
30d9243
Compare
@JimMadge Can you merge/rebase onto develop? Some of these changes should already be included there. |
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.
LGTM, just a couple of questions:
- why is the suffix on the rules file
.j2
? - in the previous version we combined all rules into one file to minimise the number of uploads - is there any benefit in separating them into multiple files here?
I think multiple files would let you set a rule priority as they are parsed in file name order. However, here it is only because CIS had an example of how to generate the list of executables with suid and sgid which I didn't want to re-implement in Ansible. If you could run a command to get just all of the paths then you could have a loop in the template file. |
✅ Checklist
Enable foobar integration
rather than515 foobar
).develop
.🚦 Depends on
Add auditd rules as set out by CIS Ubuntu 22.04 LTS benchmark
🌂 Related issues
🔬 Tests
Tested on deployed workspace by syncing desired state container and desired state service.