Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuperpoussin22 <vincent.nadal@orange.fr>2018-08-15 14:56:56 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2018-08-15 14:56:56 +0300
commit3b537fd8e81350011e75a96e557bf11a487372b3 (patch)
tree5f59964148754fbccbb589e3ccbffe568a790977 /include/helper_audit_dockerfile
parent6ba7bad34eb3fb10dab6bee9d51d54940798a86a (diff)
Missing quotes and better display (#570)
for KEY_USED
Diffstat (limited to 'include/helper_audit_dockerfile')
-rw-r--r--include/helper_audit_dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/helper_audit_dockerfile b/include/helper_audit_dockerfile
index 5b77e033..05c9ad6f 100644
--- a/include/helper_audit_dockerfile
+++ b/include/helper_audit_dockerfile
@@ -221,8 +221,8 @@ InsertSection "Basics"
Display --indent 2 --text "Integrity testing performed" --result "${SSL_USED}" --color ${COLOR}
HASHING_USED=$(egrep "(sha1sum|sha256sum|sha512sum)" ${AUDIT_FILE})
Display --indent 2 --text "Hashing" --result "${HASHING_USED}"
- KEYS_USED=$(egrep "(apt-key adv)" ${AUDIT_FILE})
- Display --indent 2 --text "Signing keys used" --result ${KEYS_USED}
+ KEYS_USED=$(egrep "(apt-key adv)" ${AUDIT_FILE}| sed 's/RUN apt-key adv//g'| sed 's/--keyserver/Key Server:/g' | sed 's/--recv/Key Value:/g')
+ Display --indent 2 --text "Signing keys used" --result "${KEYS_USED}"
Display --indent 2 --text "All downloads properly checked" --result "?"
else
Display --indent 2 --text "No files seems to be downloaded in this Dockerfile"