We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce48096 + f85625f commit 948ffeeCopy full SHA for 948ffee
1 file changed
core/src/main/java/io/snyk/plugins/artifactory/scanner/PackageValidator.java
@@ -31,6 +31,12 @@ public void validate(MonitoredArtifact artifact) {
31
}
32
33
private void validateLastModifiedDelay(MonitoredArtifact artifact) {
34
+ boolean ignoreLastModifiedDelay = artifact.getIgnores().shouldIgnoreVulnIssues();
35
+ if (ignoreLastModifiedDelay) {
36
+ LOG.debug("Last modified date delay is ignored for {}", artifact.getPath());
37
+ return;
38
+ }
39
+
40
Integer delayDays = settings.getLastModifiedDelayDays().get();
41
if (delayDays == null || delayDays <= 0) {
42
LOG.debug("Last modifed date delay is disabled ({} days)", delayDays);
0 commit comments