Skip to content

Commit eba1898

Browse files
committed
Update nikto docker image for the nikto 2.6.0
Nikto now requires some additional perl packages. Nikto uses a older alpine version some of the deps have moved since: perl-json-pp → no longer a separate package; it's bundled into perl-json (which pulls in JSON::PP) perl-time-piece and perl-time-seconds → these are core Perl modules, bundled in the main perl package in newer Alpine versions perl-libxml → renamed to perl-xml-libxml perl-md5 → no longer separate; bundled in the main perl package (Digest::MD5 is a core module) Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
1 parent e8ae117 commit eba1898

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

scanners/nikto/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ type: application
1010
# version - gets automatically set to the secureCodeBox release version when the helm charts gets published
1111
version: v3.1.0-alpha1
1212
# appVersion - Nikto doesn't really version its releases
13-
appVersion: 2.5.0
13+
appVersion: 2.6.0
1414
kubeVersion: ">=v1.11.0-0"
1515

1616
annotations:

scanners/nikto/scanner/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ COPY --chown=root:root --chmod=755 wrapper.sh /wrapper.sh
1616
RUN apk add --update --no-cache --virtual .build-deps \
1717
perl \
1818
perl-net-ssleay \
19+
perl-json \
20+
perl-io-socket-ssl \
21+
perl-xml-writer \
22+
perl-mime-base64 \
23+
perl-xml-libxml \
1924
&& addgroup -g 1001 nikto \
2025
&& adduser -G nikto -s /bin/sh -D -u 1001 nikto
2126

0 commit comments

Comments
 (0)