Skip to content

Commit fd9e236

Browse files
committed
Add debugging for last modified allowlist
1 parent 6d39fcc commit fd9e236

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

core/src/main/java/io/snyk/plugins/artifactory/scanner/ScannerModule.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ private boolean shouldSkipLastModifiedForRepository(RepoPath repoPath) {
158158
List<String> allowlist = LastModifiedRepositoryPolicy.parseAllowlist(allowlistRaw);
159159
String repoKey = repoPath.getRepoKey();
160160

161+
log.debug("allowlist for last-modified check: {} for repoPath {}", allowlist, repoPath);
162+
log.debug("repoKey for last-modified check: {} for repoPath {}", repoKey, repoPath);
163+
161164
if (!allowlist.isEmpty()) {
162165
if (lastModifiedDateRemoteOnly() && LOGGED_REMOTE_ONLY_IGNORED_WITH_ALLOWLIST.compareAndSet(false, true)) {
163166
LOG.warn(

0 commit comments

Comments
 (0)