Skip to content

Commit 11d7998

Browse files
committed
Update documentation and rename delay variable to follow convention
1 parent 7454575 commit 11d7998

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

core/src/main/groovy/io/snyk/plugins/artifactory/snykSecurityPlugin.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ snyk.api.organization=
6666
# Default: 24 hours (1 day)
6767
#snyk.scanner.extendTestDeadline.hours=24
6868

69+
# A delay in number of days since the package was created in Artifactory. Any packages that were created more recently
70+
# than the current time minus the number of days in this configuration will be blocked from download.
71+
#snyk.scanner.createdDelay.days
72+
6973
# By default, if Snyk API fails while scanning an artifact for any reason, the download will be allowed.
7074
# Setting this property to "true" will block downloads when Snyk API fails.
7175
# Accepts: "true", "false"

core/src/main/java/io/snyk/plugins/artifactory/configuration/PluginConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public enum PluginConfiguration implements Configuration {
3333
TEST_CONTINUOUSLY("snyk.scanner.test.continuously","false"),
3434
TEST_FREQUENCY_HOURS("snyk.scanner.frequency.hours", "168"),
3535
EXTEND_TEST_DEADLINE_HOURS("snyk.scanner.extendTestDeadline.hours", "24"),
36-
SCANNER_CREATED_DELAY_DAYS("snyk.scanner.created.delay.days", "0");
36+
SCANNER_CREATED_DELAY_DAYS("snyk.scanner.createdDelay.days", "0");
3737

3838
private final String propertyKey;
3939
private final String defaultValue;

0 commit comments

Comments
 (0)