This repository was archived by the owner on Jun 16, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
80 lines (69 loc) · 2.38 KB
/
Copy pathdevguard-scanner.yml
File metadata and controls
80 lines (69 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# DevSecOps Workflow Definition
# This workflow is triggered on every push to the repository
name: DevGuard Workflow
on:
push:
permissions:
packages: write
contents: read
jobs:
devguard-scanner:
uses: ./.github/workflows/full.yml
with:
asset-name: "l3montree-cybersecurity/projects/devguard/assets/devguard-action"
disable-artifact-registry-as-image-store: true
api-url: https://api.main.devguard.org
secrets:
devguard-token: ${{ secrets.DEVGUARD_TOKEN }}
devguard-scanner-with-artifact:
uses: ./.github/workflows/full.yml
with:
asset-name: "l3montree-cybersecurity/projects/devguard/assets/devguard-action"
disable-artifact-registry-as-image-store: true
api-url: https://api.main.devguard.org
artifact-name: "demo-artifact"
image-suffix: demo-artifact
secrets:
devguard-token: ${{ secrets.DEVGUARD_TOKEN }}
build-test-image:
uses: ./.github/workflows/build-image.yml
with:
artifact-name: "test"
asset-name: l3montree-cybersecurity/projects/devguard/assets/devguard-action
api-url: https://api.main.devguard.org
image-suffix: "test"
secrets:
devguard-token: ${{ secrets.DEVGUARD_TOKEN }}
build-args: "--context=. --dockerfile=Dockerfile-test"
container-scanning-test:
uses: ./.github/workflows/container-scanning.yml
needs:
- build-test-image
with:
asset-name: l3montree-cybersecurity/projects/devguard/assets/devguard-action
api-url: https://api.main.devguard.org
artifact-name: "test"
image-suffix: "test"
secrets:
devguard-token: ${{ secrets.DEVGUARD_TOKEN }}
deploy-test:
uses: ./.github/workflows/deploy.yml
needs:
- container-scanning-test
with:
asset-name: l3montree-cybersecurity/projects/devguard/assets/devguard-action
api-url: https://api.main.devguard.org
image-suffix: "test"
secrets:
devguard-token: ${{ secrets.DEVGUARD_TOKEN }}
sbom-test:
uses: ./.github/workflows/dependency-risk-identification.yml
with:
asset-name: l3montree-cybersecurity/projects/devguard/assets/devguard-action
api-url: https://api.main.devguard.org
artifact-name: "source-code-sbom"
sbom-file: "sbom-in-repo.json"
fail-on-cvss: "none"
fail-on-risk: "none"
secrets:
devguard-token: ${{ secrets.DEVGUARD_TOKEN }}