Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/scan-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Scan Tests
on:
pull_request:
types: [opened, synchronize, reopened]
paths: ['scanners/**']

permissions:
id-token: write # Required for OIDC
Expand Down Expand Up @@ -32,7 +31,7 @@ jobs:
with:
fetch-depth: 0 # Need full history to detect changes
- name: Run Tests
uses: boostsecurityio/scan-test-action@2a784e92451e9ba1561ca749ba630b7621adfcbf
uses: boostsecurityio/scan-test-action@b61411c3651a93be06e3f31490ff6a94e901ae00
with:
provider: azure-devops
provider-config: |
Expand All @@ -44,6 +43,7 @@ jobs:
}
registry-repo: "${{ github.repository_owner }}/${{ github.event.repository.name }}"
base-ref: "${{ github.base_ref }}"
fallback-scanners: "boostsecurityio/trivy-fs,boostsecurityio/trivy-image"
bitbucket-action:
name: Bitbucket Pipelines
runs-on: ubuntu-latest
Expand All @@ -64,7 +64,7 @@ jobs:
with:
fetch-depth: 0 # Need full history to detect changes
- name: Run Tests
uses: boostsecurityio/scan-test-action@2a784e92451e9ba1561ca749ba630b7621adfcbf
uses: boostsecurityio/scan-test-action@b61411c3651a93be06e3f31490ff6a94e901ae00
with:
provider: bitbucket
provider-config: |
Expand All @@ -75,6 +75,7 @@ jobs:
}
registry-repo: "${{ github.repository_owner }}/${{ github.event.repository.name }}"
base-ref: "${{ github.base_ref }}"
fallback-scanners: "boostsecurityio/trivy-fs,boostsecurityio/trivy-image"

github-action:
name: Github Actions
Expand All @@ -93,7 +94,7 @@ jobs:
with:
fetch-depth: 0 # Need full history to detect changes
- name: Run Tests
uses: boostsecurityio/scan-test-action@2a784e92451e9ba1561ca749ba630b7621adfcbf
uses: boostsecurityio/scan-test-action@b61411c3651a93be06e3f31490ff6a94e901ae00
with:
provider: github-actions
provider-config: |
Expand All @@ -105,6 +106,7 @@ jobs:
}
registry-repo: "${{ github.repository_owner }}/${{ github.event.repository.name }}"
base-ref: "${{ github.base_ref }}"
fallback-scanners: "boostsecurityio/trivy-fs,boostsecurityio/trivy-image"

gitlab-ci:
name: Gitlab-CI
Expand All @@ -115,7 +117,7 @@ jobs:
with:
fetch-depth: 0 # Need full history to detect changes
- name: Run Tests
uses: boostsecurityio/scan-test-action@2a784e92451e9ba1561ca749ba630b7621adfcbf
uses: boostsecurityio/scan-test-action@b61411c3651a93be06e3f31490ff6a94e901ae00
with:
provider: gitlab-ci
provider-config: |
Expand All @@ -126,3 +128,4 @@ jobs:
}
registry-repo: "${{ github.repository_owner }}/${{ github.event.repository.name }}"
base-ref: "${{ github.base_ref }}"
fallback-scanners: "boostsecurityio/trivy-fs,boostsecurityio/trivy-image"
Loading