Fixing the property detect.policy.check.fail.on.severities. The AcceptableValues should be marked with isCommaSepartedList
@@ -697,7 +697,7 @@ public class DetectConfiguration {
@Value("${detect.policy.check.fail.on.severities:}")
@HelpGroup(primary = GROUP_POLICY_CHECK, additional = { SEARCH_GROUP_POLICY })
@HelpDescription("A comma-separated list of policy violation severities that will fail detect. If this is not set, detect will not fail due to policy violations.")
- @AcceptableValues(value = { "ALL", "BLOCKER", "CRITICAL", "MAJOR", "MINOR", "TRIVIAL" }, caseSensitive = false, strict = false)
+ @AcceptableValues(value = { "ALL", "BLOCKER", "CRITICAL", "MAJOR", "MINOR", "TRIVIAL" }, caseSensitive = false, strict = false, isCommaSeparatedList = true)
private String policyCheckFailOnSeverities;
@Value("${detect.gradle.inspector.version:}")
