Skip to content

Commit cff6d8a

Browse files
Arta AsadiArta Asadi
authored andcommitted
fix: fix tasks\
1 parent 15f474b commit cff6d8a

File tree

4 files changed

+38
-38
lines changed

4 files changed

+38
-38
lines changed

tasks/container_grype_check.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,5 @@ scale_config:
1313
max_replica: 5
1414
run_schedule:
1515
- params: {}
16-
interval:
17-
months: 0
18-
days: 2
19-
hours: 0
20-
minutes: 0
16+
frequency: "2d"
2117
timeout: 120

tasks/container_sbom_vulnerabilities.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,5 @@ scale_config:
1414
run_schedule:
1515
- params:
1616
"query_id": "list_all_unique_packages"
17-
interval:
18-
months: 1
19-
days: 0
20-
hours: 0
21-
minutes: 0
17+
frequency: "1m"
2218
timeout: 120

tasks/container_syft_check.yaml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
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
1+
id: "container-syft"
2+
name: "Container SYFT"
3+
description: "Check if all container artifacts are free of vulnerabilities using SYFT"
4+
is_enabled: true
5+
image_url: "ghcr.io/opengovern/og-task-syft:v0.10.25"
6+
command: "/og-task-syft"
7+
result_type: "artifact_sbom"
8+
workload_type: "deployment"
9+
env_vars: {}
10+
scale_config:
11+
lag_threshold: "1"
12+
min_replica: 0
13+
max_replica: 5
14+
run_schedule:
15+
- params:
16+
"query_to_execute": "SELECT id, name, digest, platform_integration_id FROM github_container_package;"
17+
frequency: "1d"
18+
timeout: 120

tasks/nve_lookup.yaml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
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
1+
id: "nve-lookup"
2+
name: "NVE Lookup"
3+
description: "Get CVE Details with NVE Lookup"
4+
is_enabled: true
5+
image_url: "ghcr.io/opengovern/og-task-nve-lookup:v0.0.9"
6+
command: "/og-task-nve-lookup"
7+
result_type: "cve_details"
8+
workload_type: "deployment"
9+
env_vars: {}
10+
scale_config:
11+
lag_threshold: "1"
12+
min_replica: 0
13+
max_replica: 5
14+
run_schedule:
15+
- params:
16+
"query_to_execute": "SELECT id, name, digest, platform_integration_id FROM github_container_package;"
17+
frequency: "1d"
18+
timeout: 120

0 commit comments

Comments
 (0)