|
11 | 11 | strategy:
|
12 | 12 | matrix:
|
13 | 13 | platform: [ubuntu-16.04, ubuntu-latest, macos-latest, windows-latest]
|
14 |
| - ruby: [ 2.5, 2.6, 2.7, 3.0 ] |
| 14 | + ruby: [ 2.5, 2.6, 2.7 ] |
| 15 | + fail-fast: false |
15 | 16 | runs-on: ${{ matrix.platform }}
|
16 | 17 |
|
17 | 18 | steps:
|
|
31 | 32 | gem install heimdall_tools*.gem
|
32 | 33 | heimdall_tools help
|
33 | 34 | heimdall_tools version
|
| 35 | + - name: Test burpsuite mapper |
| 36 | + run: | |
| 37 | + heimdall_tools burpsuite_mapper -x ./sample_jsons/burpsuite_mapper/sample_input_report/zero.webappsecurity.com.min -o burpsuite_output.json |
| 38 | + jq 'del(.version, .platform.release)' burpsuite_output.json > burpsuite_output_jq.json |
| 39 | + jq 'del(.version, .platform.release)' ./sample_jsons/burpsuite_mapper/zero.webappsecurity.json > burpsuite_sample.json |
| 40 | + diff burpsuite_sample.json burpsuite_output_jq.json |
| 41 | + - name: Test jfrog xray mapper |
| 42 | + run: | |
| 43 | + heimdall_tools jfrog_xray_mapper -j ./sample_jsons/jfrog_xray_mapper/sample_input_report/jfrog_xray_sample.json -o jfrog_output.json |
| 44 | + jq 'del(.version, .platform.release)' jfrog_output.json > jfrog_output_jq.json |
| 45 | + jq 'del(.version, .platform.release)' ./sample_jsons/jfrog_xray_mapper/jfrog_xray_hdf.json > jfrog_sample.json |
| 46 | + diff jfrog_sample.json jfrog_output_jq.json |
| 47 | + - name: Test nikto mapper |
| 48 | + run: | |
| 49 | + heimdall_tools nikto_mapper -j ./sample_jsons/nikto_mapper/sample_input_jsons/zero.webappsecurity.json -o nikto_output.json |
| 50 | + jq 'del(.version, .platform.release)' nikto_output.json > nikto_output_jq.json |
| 51 | + jq 'del(.version, .platform.release)' ./sample_jsons/nikto_mapper/zero.webappsecurity.json > nikto_sample.json |
| 52 | + diff nikto_sample.json nikto_output_jq.json |
| 53 | + - name: Test zap mapper webgoat.json |
| 54 | + run: | |
| 55 | + heimdall_tools zap_mapper -j ./sample_jsons/zap_mapper/sample_input_jsons/webgoat.json -n "http://mymac.com:8191" -o zap_output_webgoat.json |
| 56 | + jq 'del(.version, .platform.release)' zap_output_webgoat.json > zap_output_webgoat_jq.json |
| 57 | + jq 'del(.version, .platform.release)' ./sample_jsons/zap_mapper/webgoat.json > zap_sample_webgoat.json |
| 58 | + diff zap_sample_webgoat.json zap_output_webgoat_jq.json |
| 59 | + - name: Test zap mapper zero.webappsecurity.json |
| 60 | + run: | |
| 61 | + heimdall_tools zap_mapper -j ./sample_jsons/zap_mapper/sample_input_jsons/zero.webappsecurity.json -n "http://zero.webappsecurity.com" -o zap_output.json |
| 62 | + jq 'del(.version, .platform.release)' zap_output.json > zap_output_jq.json |
| 63 | + jq 'del(.version, .platform.release)' ./sample_jsons/zap_mapper/zero.webappsecurity.json > zap_sample.json |
| 64 | + diff zap_sample.json zap_output_jq.json |
0 commit comments