Skip to content

Scan

Scan #8

Workflow file for this run

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.CB_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 ${{ fromJson(steps.chain-bench.outputs.chain-bench-result) }} | toJSON