Skip to content

Commit

Permalink
Add automated tests for nessus
Browse files Browse the repository at this point in the history
Signed-off-by: Rony Xavier <rx294@nyu.edu>
  • Loading branch information
rx294 committed May 1, 2021
1 parent 9c00868 commit ec9ce0e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,9 @@ jobs:
jq 'del(.version, .platform.release)' zap_output.json > zap_output_jq.json
jq 'del(.version, .platform.release)' ./sample_jsons/zap_mapper/zero.webappsecurity.json > zap_sample.json
diff zap_sample.json zap_output_jq.json
- name: Test nessus_mapper
run: |
heimdall_tools nessus_mapper -x ./sample_jsons/nessus_mapper/sample_input_report/nessus_sample.nessus -o nessus.json
jq 'del(.version, .platform.release)' nessus.json-ip-10-10-23-102.json > nessus_jq.json
jq 'del(.version, .platform.release)' ./sample_jsons/nessus_mapper/nessus_sample_hdf.json > nessus_sample_hdf.json
diff nessus_sample_hdf.json nessus_jq.json

0 comments on commit ec9ce0e

Please sign in to comment.