Skip to content

Commit ec9ce0e

Browse files
committed
Add automated tests for nessus
Signed-off-by: Rony Xavier <[email protected]>
1 parent 9c00868 commit ec9ce0e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,9 @@ jobs:
6262
jq 'del(.version, .platform.release)' zap_output.json > zap_output_jq.json
6363
jq 'del(.version, .platform.release)' ./sample_jsons/zap_mapper/zero.webappsecurity.json > zap_sample.json
6464
diff zap_sample.json zap_output_jq.json
65+
- name: Test nessus_mapper
66+
run: |
67+
heimdall_tools nessus_mapper -x ./sample_jsons/nessus_mapper/sample_input_report/nessus_sample.nessus -o nessus.json
68+
jq 'del(.version, .platform.release)' nessus.json-ip-10-10-23-102.json > nessus_jq.json
69+
jq 'del(.version, .platform.release)' ./sample_jsons/nessus_mapper/nessus_sample_hdf.json > nessus_sample_hdf.json
70+
diff nessus_sample_hdf.json nessus_jq.json

0 commit comments

Comments
 (0)