mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-02-23 16:36:39 +01:00
move audit rules default path variable
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
50ca5fc7ff
commit
dc369a6bad
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@
|
|||
# Returns the absolute path of a given string
|
||||
abspath () { case "$1" in /*)printf "%s\n" "$1";; *)printf "%s\n" "$PWD/$1";; esac; }
|
||||
|
||||
# Audit rules default path
|
||||
auditrules="/etc/audit/audit.rules"
|
||||
|
||||
# Compares versions of software of the format X.Y.Z
|
||||
do_version_check() {
|
||||
[ "$1" = "$2" ] && return 10
|
||||
|
|
Loading…
Reference in a new issue