Skip to content

Commit 56d8d4a

Browse files
authored
feat: Update vulnerability DB every 6 hours
1 parent dcdf340 commit 56d8d4a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ workflows:
7575
update_vulnerability_dbs:
7676
triggers:
7777
- schedule:
78-
# run at 00:30 UTC (30 minutes after being updated on the source)
79-
cron: "30 0 * * *"
78+
# run at 30 minutes past every 6th hour. 00:30 06:30 12:30 18:30
79+
# https://github.com/aquasecurity/trivy-db?tab=readme-ov-file#update-interval
80+
cron: "30 */6 * * *"
8081
filters:
8182
branches:
8283
only:

0 commit comments

Comments
 (0)