-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (39 loc) · 1.34 KB
/
burpsuite2hdf.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
heimdall_tools_conversion:
runs-on: ubuntu-latest
name: SAF CLI Convert Burpsuite to HDF
steps:
- name: Checkout
uses: actions/checkout@v3
# - name: Show Inspec Tools Action Deprecation
# uses: mitre/inspec_tools_action@main
# with:
# thresholdfile: spec/hardened.threshold.yml
# resultsfile: spec/ec2_rhel-7_hardened.json
# command: 'compliance'
# - name: Show Heimdall Tools Action Deprecation
# uses: mitre/heimdall_tools_action@deprecateInputs
# with:
# file: 'sample/burpsuite_sample.min'
# converter: 'burpsuite_mapper'
# - name: Get GitHub Action Path
# run: echo "GITHUB_ACTION_PATH is - ${{ toJSON(github) }}"
- name: Convert Burpsuite
uses: em-c-rod/saf_action_test@master
with:
command_string: 'convert burpsuite2hdf -i sample/burpsuite_sample.min -o burpsuite_hdf.json'
- name: Test view summary command
uses: em-c-rod/saf_action_test@v18
with:
command_string: 'view:summary -i test/sample_data/red_hat_good.json'
- name: Artifacts
uses: actions/upload-artifact@v1
if: success()
with:
name: burpsuite
path: burpsuite_hdf.json