Scan #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scan | |
on: | |
workflow_dispatch | |
jobs: | |
chain_bench_scan: | |
runs-on: ubuntu-latest | |
name: Chain Bench Scan | |
steps: | |
- name: Chain Bench | |
id: chain-bench | |
uses: aquasecurity/chain-bench-action@v1.1.1 | |
with: | |
repository-url: ${{ github.server_url }}/${{ github.repository }} # Compiles to https://github.com/aquasecurity/chain-bench-action | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
scm-platform: github #Optional parameter for dedicated SCM servers | |
# Using the github action output from the scan step "chain-bench-result" (JSON so you can run rego/jq against it) | |
- name: Echo | |
run: echo ${{ steps.chain-bench.outputs.chain-bench-result }} |