This commit is contained in:
Kornphan Muangbun 2021-10-01 18:43:37 +07:00 committed by GitHub
commit 12e9ee2f07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

22
ThunderScan API CLI Normal file
View file

@ -0,0 +1,22 @@
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# ThunderScan Action
- name: ThunderScan
uses: defensecode/thunderscan-action@v1.0
with:
api_url: 'http://localhost:8999'
client_path: '/opt/thunderscan/tsactioncli'
api_token: ${{ secrets.THUNDERSCAN_TOKEN }}
- name: Expose report
uses: actions/upload-artifact@v2
with:
name: SARIF results
path: thunderscan-sarif.json
# Uploads thunderscan-sarif.json to GitHub repository using the upload-sarif action
- uses: github/codeql-action/upload-sarif@v1
with:
# Path to SARIF file relative to the root of the repository
sarif_file: thunderscan-sarif.json