Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 08f65e2

Browse files
committed
Pin nmap Version to 7.80
1 parent 2a27bf3 commit 08f65e2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ jobs:
426426
- name: "nmap Integration Tests"
427427
run: |
428428
helm -n integration-tests install nmap ./scanners/nmap/ \
429-
--set="parserImage.tag=sha-$(git rev-parse --short HEAD)" \
429+
--set="parserImage.tag=7.80" \
430430
--set="image.tag=sha-$(git rev-parse --short HEAD)"
431431
cd tests/integration/
432432
npx jest --ci --color nmap

scanners/nmap/templates/nmap-scan-type.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
restartPolicy: OnFailure
1818
containers:
1919
- name: nmap
20-
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.Version }}"
20+
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default 7.80 }}"
2121
command: ["nmap", "-oX", "/home/securecodebox/nmap-results.xml"]
2222
resources:
2323
{{- toYaml .Values.scannerJob.resources | nindent 16 }}

scanners/nmap/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ parserImage:
55

66
image:
77
repository: docker.io/securecodebox/scanner-nmap
8-
# image.tag - defaults to the charts version
8+
# image.tag - defaults to nmap version 7.80
99
tag: null
1010
scannerJob:
1111
ttlSecondsAfterFinished: null

0 commit comments

Comments
 (0)