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

Commit b3412ce

Browse files
committed
Refactored name to a more generic one and added more tests. You need to reinstall the new hook (imperative-subsequent-scans) via helm and delete the old one (nmap-subsequent-scans) if you want to use this feature.
1 parent 1c277c8 commit b3412ce

File tree

20 files changed

+256
-69
lines changed

20 files changed

+256
-69
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,12 @@ jobs:
224224
path: ./hooks/generic-webhook/
225225
tag_with_ref: true
226226
- uses: docker/build-push-action@v1
227-
name: "Build & Push NmapSubsequentScans Hook Image"
227+
name: "Build & Push ImperativeSubsequentScans Hook Image"
228228
with:
229229
username: ${{ secrets.DOCKER_USERNAME }}
230230
password: ${{ secrets.DOCKER_PASSWORD }}
231-
repository: scbexperimental/hook-nmap-subsequent-scans
232-
path: ./hooks/nmap-subsequent-scans/
231+
repository: scbexperimental/hook-imperative-subsequent-scans
232+
path: ./hooks/imperative-subsequent-scans/
233233
tag_with_ref: true
234234
scannerImages:
235235
# Note we only build images for scanner that don't provider official public container images

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ helm install dummy-ssh ./demo-apps/dummy-ssh/
8282
# Deploy secureCodeBox Hooks
8383
helm install add-attributes ./hooks/add-attributes/
8484
helm install generic-webhook ./hooks/generic-webhook/
85-
helm install nmap-subsequent-scans ./hooks/nmap-subsequent-scans/
85+
helm install imperative-subsequent-scans ./hooks/imperative-subsequent-scans/
8686

8787
## Persistence Provider: Elasticsearch
8888
helm install persistence-elastic ./hooks/persistence-elastic/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

hooks/nmap-subsequent-scans/Chart.yaml renamed to hooks/imperative-subsequent-scans/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
2-
name: nmap-subsequent-scans
3-
description: Starts possible subsequent security scans based on nmap findings with open ports.
2+
name: imperative-subsequent-scans
3+
description: Starts possible subsequent security scans based on findings (e.g. open ports found by NMAP or subdomains found by AMASS).
44

55
type: application
66

File renamed without changes.

hooks/nmap-subsequent-scans/__mocks__/scan-helpers.js renamed to hooks/imperative-subsequent-scans/__mocks__/scan-helpers.js

File renamed without changes.

0 commit comments

Comments
 (0)