Skip to content

Commit ea2640f

Browse files
authored
scan
1 parent 51e3f59 commit ea2640f

File tree

10 files changed

+37
-361
lines changed

10 files changed

+37
-361
lines changed

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/dependabot.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/lock.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/stale.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/branchbuild.txt

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 0 additions & 143 deletions
This file was deleted.

.github/workflows/scan.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CloudGuard Code Security
2+
3+
on: push
4+
5+
env:
6+
SPECTRAL_DSN: ${{ secrets.SPECTRAL_DSN }}
7+
8+
# JFrog platform url (for example: https://acme.jfrog.io)
9+
JF_URL: ${{ vars.JF_URL }}
10+
11+
# JFrog Platform access token
12+
JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }}
13+
14+
jobs:
15+
spectral:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: CloudGuard Code Security Scan
20+
uses: checkpointsw/spectral-github-action@v4
21+
with:
22+
spectral-dsn: ${{ env.SPECTRAL_DSN }}
23+
spectral-args: scan --fail-on-error --engines secrets,iac,oss --asset-mapping github.${{ github.repository_owner }}
24+
jas:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v4
28+
- uses: jfrog/setup-jfrog-cli@v4
29+
- run: |
30+
jf audit --sca --iac --secrets --sast
31+
xray:
32+
runs-on: ubuntu-latest
33+
steps:
34+
- uses: actions/checkout@v4
35+
- uses: jfrog/setup-jfrog-cli@v4
36+
- run: |
37+
jf s "*"

.github/workflows/test.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)