mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-15 01:24:53 +00:00
feat: add back container policy hardening
This commit is contained in:
6
config/scripts/hardencontainerpolicy.sh
Normal file
6
config/scripts/hardencontainerpolicy.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Tell build process to exit if there are any errors.
|
||||
set -oue pipefail
|
||||
|
||||
sed -i 's/insecureAcceptAnything/reject/' /usr/etc/containers/policy.json
|
||||
Reference in New Issue
Block a user