Skip to content

Commit 8adc96e

Browse files
Arta AsadiArta Asadi
authored andcommitted
fix: add tasks into platform configuration
1 parent 95ad1d5 commit 8adc96e

File tree

4 files changed

+56
-0
lines changed

4 files changed

+56
-0
lines changed

tasks/container_grype_check.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
ID: "container-vulnerability-scanner"
2+
Name: "Container Vulnerability Scanner"
3+
Description: "Check if all container artifacts are free of vulnerabilities"
4+
ImageURL: "ghcr.io/opengovern/og-task-container-vulnerability:local-v0.0.71"
5+
Command: "/og-task-container-vulnerability"
6+
ResultType: "oci_container_vulnerabilities"
7+
WorkloadType: "deployment"
8+
EnvVars: {}
9+
Interval: 0 # Minutes
10+
Timeout: 120 # Minutes
11+
ScaleConfig:
12+
LagThreshold: "1"
13+
MinReplica: 0
14+
MaxReplica: 5
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
ID: "sbom-vulnerability-check"
2+
Name: "Sbom Vulnerability Check"
3+
Description: "Check if all container artifacts are free of vulnerabilities using SYFT"
4+
ImageURL: "ghcr.io/opengovern/og-task-sbom-vulnerability:v0.0.28"
5+
Command: "/og-task-sbom-vulnerability"
6+
ResultType: "sbom_vulnerabilities"
7+
WorkloadType: "deployment"
8+
EnvVars: {}
9+
Interval: 240
10+
Timeout: 120 # Minutes
11+
ScaleConfig:
12+
LagThreshold: "1"
13+
MinReplica: 0
14+
MaxReplica: 5

tasks/container_syft_check.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
ID: "container-syft"
2+
Name: "Container SYFT"
3+
Description: "Check if all container artifacts are free of vulnerabilities using SYFT"
4+
ImageURL: "ghcr.io/opengovern/og-task-syft:v0.10.25"
5+
Command: "/og-task-syft"
6+
ResultType: "artifact_sbom"
7+
WorkloadType: "deployment"
8+
EnvVars: {}
9+
Interval: 120
10+
Timeout: 120 # Minutes
11+
ScaleConfig:
12+
LagThreshold: "1"
13+
MinReplica: 0
14+
MaxReplica: 5

tasks/nve_lookup.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
ID: "nve-lookup"
2+
Name: "NVE Lookup"
3+
Description: "Get CVE Details with NVE Lookup"
4+
ImageURL: "ghcr.io/opengovern/og-task-nve-lookup:v0.0.9"
5+
Command: "/og-task-nve-lookup"
6+
ResultType: "cve_details"
7+
WorkloadType: "deployment"
8+
EnvVars: {}
9+
Interval: 300
10+
Timeout: 120 # Minutes
11+
ScaleConfig:
12+
LagThreshold: "1"
13+
MinReplica: 0
14+
MaxReplica: 5

0 commit comments

Comments
 (0)