Skip to content

Merge pull request #11 from endorlabs/add-priv-key #30

Merge pull request #11 from endorlabs/add-priv-key

Merge pull request #11 from endorlabs/add-priv-key #30

Workflow file for this run

name: Scan
# test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
scan:
permissions:
security-events: write
contents: read
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: '17'
- name: Compile Package
run: mvn clean install
- name: Run endorctl
uses: endorlabs/github-action@bc51934f95a1ff5fc108c047b4e685aee4dc6b86
with:
namespace: "diamantis"
api: "https://api.staging.endorlabs.com"
enable_github_action_token: "true"
sarif_file: findings.sarif
additional_args: "--enable=git,analytics,secrets"
- name: Upload SARIF to github
uses: github/codeql-action/upload-sarif@9885f86fab4879632b7e44514f19148225dfbdcd
with:
sarif_file: findings.sarif