Repository navigation
Schedule vuln-analysis task to avoid consuming sonatype credits to fast #7737
|
Hello @nscuro Version: Dependency-Track v5.0.2 Question concerning the
|
Replies: 2 comments
|
I'd recommend you increase the cache TTL for OSS Index results instead: https://dependencytrack.github.io/docs/next/reference/configuration/properties/#dtcachevuln-analyzeross-indexresultsttl-ms. The default is 24h. That allows the internal analyzer to still run at least daily. If you only scan every 3 days you'll have a very long delay between vulnerabilities being published and you being notified about them. Increasing the cache TTL for OSS Index specifically limits that staleness window to OSS Index only. In either case you're making a tradeoff that increases the time until you notice new vulnerabilities. If you want to continue using OSS Index, Sonatype's intended way forward is to pay for credits. |
|
Understood thanks for the fast answer In case do you confirm that it is possible this way |
I'd recommend you increase the cache TTL for OSS Index results instead: https://dependencytrack.github.io/docs/next/reference/configuration/properties/#dtcachevuln-analyzeross-indexresultsttl-ms. The default is 24h.
That allows the internal analyzer to still run at least daily. If you only scan every 3 days you'll have a very long delay between vulnerabilities being published and you being notified about them. Increasing the cache TTL for OSS Index specifically limits that staleness window to OSS Index only.
In either case you're making a tradeoff that increases the time until you notice new vulnerabilities. If you want to continue using OSS Index, Sonatype's intended way forward is to pa…