Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaireAlma committed Feb 5, 2024
2 parents d0b0c01 + 0ade9d0 commit 07bdcdc
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/aqua.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Aqua
on:
pull_request:
branches:
- main

jobs:
aqua:
name: Aqua scanner
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run Aqua scanner
uses: docker://aquasec/aqua-scanner
with:
args: trivy fs --sast --reachability --scanners config,vuln,secret .
# To customize which severities add the following flag: --severity UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL
# To enable SAST scanning, add: --sast
# To enable reachability scanning, add: --reachability
# To enable npm/dotnet non-lock file scanning, add: --package-json / --dotnet-proj
env:
AQUA_KEY: ${{ secrets.AQUA_KEY }}
AQUA_SECRET: ${{ secrets.AQUA_SECRET }}
GITHUB_TOKEN: ${{ github.token }}
AQUA_URL: https://api.eu-1.supply-chain.cloud.aquasec.com
CSPM_URL: https://eu-1.api.cloudsploit.com
TRIVY_RUN_AS_PLUGIN: "aqua"
# For http/https proxy configuration add env vars: HTTP_PROXY/HTTPS_PROXY, CA-CRET (path to CA certificate)
4 changes: 2 additions & 2 deletions .github/workflows/e2e-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
app_id: ${{ secrets.ALMA_UPDATE_CHECKS_APP_ID }}
private_key: ${{ secrets.ALMA_UPDATE_CHECKS_APP_PEM }}

- uses: LouisBrunner/checks-action@v1.6.2
- uses: LouisBrunner/checks-action@v2.0.0
id: e2e_status
with:
token: ${{ steps.generate_token.outputs.token }}
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
"e2e_check_origin" : "${{ github.repository }}"
}
- uses: LouisBrunner/checks-action@v1.6.2
- uses: LouisBrunner/checks-action@v2.0.0
if: failure()
with:
token: ${{ steps.generate_token.outputs.token }}
Expand Down

0 comments on commit 07bdcdc

Please sign in to comment.