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

Commit 5e8ce33

Browse files
committed
Renamed the integration folder to scanner because it's more intuitive.
1 parent 4cddd57 commit 5e8ce33

File tree

170 files changed

+29
-29
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+29
-29
lines changed

.github/workflows/ci.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
run: ls
1111
- name: "Install npm dependencies in all parser sub projects"
1212
run: |
13-
for dir in integrations/*/parser/
13+
for dir in scanner/*/parser/
1414
do
1515
cd $dir
1616
if [ -f package.json ] && [ -f package-lock.json ]; then
@@ -35,7 +35,7 @@ jobs:
3535
- name: "Install npm test dependencies"
3636
run: |
3737
npm ci
38-
cd integrations/
38+
cd scanner/
3939
npm ci
4040
cd -
4141
cd hooks/
@@ -109,7 +109,7 @@ jobs:
109109
username: ${{ secrets.DOCKER_USERNAME }}
110110
password: ${{ secrets.DOCKER_PASSWORD }}
111111
repository: scbexperimental/parser-amass
112-
path: ./integrations/amass/parser/
112+
path: ./scanner/amass/parser/
113113
tag_with_ref: true
114114
tag_with_sha: true
115115
- uses: docker/build-push-action@v1
@@ -118,7 +118,7 @@ jobs:
118118
username: ${{ secrets.DOCKER_USERNAME }}
119119
password: ${{ secrets.DOCKER_PASSWORD }}
120120
repository: scbexperimental/parser-kube-hunter
121-
path: ./integrations/kube-hunter/parser/
121+
path: ./scanner/kube-hunter/parser/
122122
tag_with_ref: true
123123
tag_with_sha: true
124124
- uses: docker/build-push-action@v1
@@ -127,7 +127,7 @@ jobs:
127127
username: ${{ secrets.DOCKER_USERNAME }}
128128
password: ${{ secrets.DOCKER_PASSWORD }}
129129
repository: scbexperimental/parser-nikto
130-
path: ./integrations/nikto/parser/
130+
path: ./scanner/nikto/parser/
131131
tag_with_ref: true
132132
tag_with_sha: true
133133
- uses: docker/build-push-action@v1
@@ -136,7 +136,7 @@ jobs:
136136
username: ${{ secrets.DOCKER_USERNAME }}
137137
password: ${{ secrets.DOCKER_PASSWORD }}
138138
repository: scbexperimental/parser-nmap
139-
path: ./integrations/nmap/parser/
139+
path: ./scanner/nmap/parser/
140140
tag_with_ref: true
141141
tag_with_sha: true
142142
- uses: docker/build-push-action@v1
@@ -145,7 +145,7 @@ jobs:
145145
username: ${{ secrets.DOCKER_USERNAME }}
146146
password: ${{ secrets.DOCKER_PASSWORD }}
147147
repository: scbexperimental/parser-ssh-scan
148-
path: ./integrations/ssh_scan/parser/
148+
path: ./scanner/ssh_scan/parser/
149149
tag_with_ref: true
150150
tag_with_sha: true
151151
- uses: docker/build-push-action@v1
@@ -154,7 +154,7 @@ jobs:
154154
username: ${{ secrets.DOCKER_USERNAME }}
155155
password: ${{ secrets.DOCKER_PASSWORD }}
156156
repository: scbexperimental/parser-sslyze
157-
path: ./integrations/sslyze/parser/
157+
path: ./scanner/sslyze/parser/
158158
tag_with_ref: true
159159
tag_with_sha: true
160160
- uses: docker/build-push-action@v1
@@ -163,7 +163,7 @@ jobs:
163163
username: ${{ secrets.DOCKER_USERNAME }}
164164
password: ${{ secrets.DOCKER_PASSWORD }}
165165
repository: scbexperimental/parser-test-scan
166-
path: ./integrations/test-scan/parser/
166+
path: ./scanner/test-scan/parser/
167167
tag_with_ref: true
168168
tag_with_sha: true
169169
- uses: docker/build-push-action@v1
@@ -172,7 +172,7 @@ jobs:
172172
username: ${{ secrets.DOCKER_USERNAME }}
173173
password: ${{ secrets.DOCKER_PASSWORD }}
174174
repository: scbexperimental/parser-trivy
175-
path: ./integrations/trivy/parser/
175+
path: ./scanner/trivy/parser/
176176
tag_with_ref: true
177177
tag_with_sha: true
178178
- uses: docker/build-push-action@v1
@@ -181,7 +181,7 @@ jobs:
181181
username: ${{ secrets.DOCKER_USERNAME }}
182182
password: ${{ secrets.DOCKER_PASSWORD }}
183183
repository: scbexperimental/parser-zap
184-
path: ./integrations/zap/parser/
184+
path: ./scanner/zap/parser/
185185
tag_with_ref: true
186186
tag_with_sha: true
187187
hookImages:
@@ -252,7 +252,7 @@ jobs:
252252
username: ${{ secrets.DOCKER_USERNAME }}
253253
password: ${{ secrets.DOCKER_PASSWORD }}
254254
repository: scbexperimental/nmap
255-
path: ./integrations/nmap/scanner/
255+
path: ./scanner/nmap/scanner/
256256
# Note: not prefixed with a "v" as this seems to match nmap versioning standards
257257
tags: "7.80,7.80-1,latest"
258258
- uses: docker/build-push-action@v1
@@ -261,7 +261,7 @@ jobs:
261261
username: ${{ secrets.DOCKER_USERNAME }}
262262
password: ${{ secrets.DOCKER_PASSWORD }}
263263
repository: scbexperimental/kube-hunter
264-
path: ./integrations/kube-hunter/scanner/
264+
path: ./scanner/kube-hunter/scanner/
265265
# Note: not prefixed with a "v" as this matches the aquasec/kube-hunter tags
266266
tags: "0.3.0,latest"
267267
- uses: docker/build-push-action@v1
@@ -270,7 +270,7 @@ jobs:
270270
username: ${{ secrets.DOCKER_USERNAME }}
271271
password: ${{ secrets.DOCKER_PASSWORD }}
272272
repository: scbexperimental/test-scan
273-
path: ./integrations/test-scan/scanner/
273+
path: ./scanner/test-scan/scanner/
274274
# Note: not prefixed with a "v" as this seems to match nmap versioning standards
275275
tags: "latest"
276276
integrationTests:
@@ -336,23 +336,23 @@ jobs:
336336
--set="image.tag=sha-$(git rev-parse --short HEAD)" \
337337
--set="attribute.name=severity" \
338338
--set="attribute.value=high"
339-
helm -n integration-tests install test-scan ./integrations/test-scan/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
339+
helm -n integration-tests install test-scan ./scanner/test-scan/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
340340
cd tests/integration/
341341
npx jest --ci --color read-write-hook
342342
helm -n integration-tests uninstall test-scan update-category update-severity
343343
- name: "nmap Integration Tests"
344344
run: |
345-
helm -n integration-tests install nmap ./integrations/nmap/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
345+
helm -n integration-tests install nmap ./scanner/nmap/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
346346
cd tests/integration/
347347
npx jest --ci --color nmap
348348
- name: "kube-hunter Integration Tests"
349349
run: |
350-
helm -n integration-tests install kube-hunter ./integrations/kube-hunter/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
350+
helm -n integration-tests install kube-hunter ./scanner/kube-hunter/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
351351
cd tests/integration/
352352
npx jest --ci --color kube-hunter
353353
- name: "ssh-scan Integration Tests"
354354
run: |
355-
helm -n integration-tests install ssh-scan ./integrations/ssh_scan/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
355+
helm -n integration-tests install ssh-scan ./scanner/ssh_scan/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
356356
# Install dummy-ssh app
357357
helm -n demo-apps install dummy-ssh ./demo-apps/dummy-ssh/ --wait
358358
cd tests/integration/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"jest": {
3232
"projects": [
33-
"<rootDir>/integrations/",
33+
"<rootDir>/scanner/",
3434
"<rootDir>/hooks/",
3535
{
3636
"displayName": "lint",
Lines changed: 1 addition & 1 deletion
File renamed without changes.
File renamed without changes.

integrations/amass/parser/__snapshots__/parser.test.js.snap renamed to scanner/amass/parser/__snapshots__/parser.test.js.snap

File renamed without changes.

0 commit comments

Comments
 (0)