Skip to content

Commit 69f931a

Browse files
Arta AsadiArta Asadi
authored andcommitted
fix: change tasks structure
1 parent 35aa728 commit 69f931a

File tree

4 files changed

+1
-17
lines changed

4 files changed

+1
-17
lines changed

tasks/container_grype_check.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ description: "Check if all container artifacts are free of vulnerabilities"
44
is_enabled: false
55
image_url: "ghcr.io/opengovern/og-task-container-vulnerability:local-v0.0.71"
66
command: "/og-task-container-vulnerability"
7-
result_type: "oci_container_vulnerabilities"
8-
workload_type: "deployment"
9-
env_vars: {}
107
scale_config:
118
lag_threshold: "1"
129
min_replica: 0

tasks/container_sbom_vulnerabilities.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ description: "Check if all container artifacts are free of vulnerabilities using
44
is_enabled: true
55
image_url: "ghcr.io/opengovern/og-task-sbom-vulnerability:v0.0.28"
66
command: "/og-task-sbom-vulnerability"
7-
result_type: "sbom_vulnerabilities"
8-
workload_type: "deployment"
9-
env_vars: {}
107
scale_config:
118
lag_threshold: "1"
129
min_replica: 0

tasks/container_syft_check.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ description: "Check if all container artifacts are free of vulnerabilities using
44
is_enabled: true
55
image_url: "ghcr.io/opengovern/og-task-syft:v0.10.25"
66
command: "/og-task-syft"
7-
result_type: "artifact_sbom"
8-
workload_type: "deployment"
9-
env_vars: {}
107
scale_config:
118
lag_threshold: "1"
129
min_replica: 0
@@ -15,8 +12,4 @@ run_schedule:
1512
- params:
1613
"query_to_execute": "SELECT id, name, digest, platform_integration_id FROM github_container_package;"
1714
frequency: "1d"
18-
timeout: 120
19-
- params:
20-
"query_to_execute": "SELECT id, name, digest, platform_integration_id FROM github_container_package;"
21-
frequency: "1d"
22-
timeout: 120
15+
timeout: "120m"

tasks/nve_lookup.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ description: "Get CVE Details with NVE Lookup"
44
is_enabled: true
55
image_url: "ghcr.io/opengovern/og-task-nve-lookup:v0.0.9"
66
command: "/og-task-nve-lookup"
7-
result_type: "cve_details"
8-
workload_type: "deployment"
9-
env_vars: {}
107
scale_config:
118
lag_threshold: "1"
129
min_replica: 0

0 commit comments

Comments
 (0)