mitre / saf_action

GitHub Action for SAF CLI
https://github.com/marketplace/actions/saf-cli-action
Other
6 stars 0 forks source link

Documentation/Clarity #8

Open aaronlippold opened 2 years ago

aaronlippold commented 2 years ago

In reading through the README a few things came to mind

This is one use case

- name: Display our ${{ matrix.suite }} results summary
    uses: mitre/saf_action@v1
    with:
      command_string: 'view:summary -i spec/results/ec2_rhel-7_${{ matrix.suite }}.json'
 - name: Ensure the scan meets our ${{ matrix.suite }} results threshold
    uses: mitre/saf_action@v1
    with:
      command_string: 'validate:threshold -i spec/results/ec2_rhel-7_${{ matrix.suite }}.json -F ${{ matrix.suite }}.threshold.yml'
 - name: Save Test Result JSON
    uses: actions/upload-artifact@v2
    with:
      path: spec/results/