feat: add restrict_ptrace_scope

This commit is contained in:
thibault.dewailly
2024-12-24 09:13:16 +00:00
parent 9a225c6157
commit 679df5b9cf
2 changed files with 87 additions and 0 deletions

View File

@ -0,0 +1,16 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host
register_test retvalshouldbe 0
dismiss_count_for_test
# shellcheck disable=2154
run blank "${CIS_CHECKS_DIR}/${script}.sh" --audit-all
##################################################################
# For this test, we only check that it runs properly on a blank #
# host, and we check root/sudo consistency. But, we don't test #
# the apply function because it can't be automated or it is very #
# long to test and not very useful. #
##################################################################
}