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

Provide mechanisms to ignore jails via prefix matching during audits #2146

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dlangille
Copy link
Contributor

This is primarily aimed at poudriere jails but could be used for any jails.

Sample test: with these entries in /etc/periodic.conf, both 405.pkg-base-audit and 410.pkg-audit will ignore jails whose names start with pkg01.131am64 or pkg01.131i386 (pkg01 being the name of the jail in which I run poudriere).

security_status_baseaudit_jails_ignore_wild="pkg01.131am64 pkg01.131i386" security_status_pkgaudit_jails_ignore_wild="pkg01.131am64 pkg01.131i386"

Background:

https://twitter.com/DLangille/status/1662774504207138816 https://gist.github.com/dlangille/c5dabf94a268f253a979c890a37aea38

Thank you

This is primarily aimed at poudriere jails but could be used
for any jails.

Sample test: with these entries in /etc/periodic.conf, both 405.pkg-base-audit
and 410.pkg-audit will ignore jails whose names start with pkg01.131am64
or pkg01.131i386 (pkg01 being the name of the jail in which I run poudriere).

security_status_baseaudit_jails_ignore_wild="pkg01.131am64 pkg01.131i386"
security_status_pkgaudit_jails_ignore_wild="pkg01.131am64 pkg01.131i386"

Background:

https://twitter.com/DLangille/status/1662774504207138816
https://gist.github.com/dlangille/c5dabf94a268f253a979c890a37aea38

Thank you
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.

None yet

1 participant