Class NonSecretHeuristics
java.lang.Object
io.jenkins.plugins.secretguard.util.NonSecretHeuristics
-
Method Summary
Modifier and TypeMethodDescriptionstatic doublestatic booleanisBenignTrackingHeaderContext(String fieldName, String value) static booleanisBenignTrackingHeaderName(String headerName) static booleanisCredentialIdField(String fieldName) static booleanisHashOrDigestContext(String fieldName, String value) static booleanisPublicCertificateContext(String value) static booleanisRuntimeSecretReference(String value) static booleanlooksLikeCredentialBindingVariableReference(String fieldName, String value) static booleanlooksLikeNonSecretHighEntropyToken(String originalValue, String fieldName, String candidate) static booleanlooksLikeNonSecretHighEntropyToken(String sourceName, String originalValue, String fieldName, String candidate) static booleanlooksLikeNonSecretUrl(String originalValue, String candidate) static booleanlooksLikePlaceholderValue(String value) static booleanstatic booleanlooksLikeSafeReference(String value) static booleanlooksLikeSensitiveFileReference(String fieldName, String value) static StringnonSecretHighEntropyReason(String originalValue, String fieldName, String candidate) static StringnonSecretHighEntropyReason(String sourceName, String originalValue, String fieldName, String candidate)
-
Method Details
-
isRuntimeSecretReference
-
looksLikeSafeReference
-
looksLikePlaceholderValue
-
looksLikeSensitiveFileReference
-
looksLikeNonSecretUrl
-
looksLikeReadableEndpointUrl
-
isCredentialIdField
-
looksLikeCredentialBindingVariableReference
-
isHashOrDigestContext
-
isPublicCertificateContext
-
isBenignTrackingHeaderName
-
isBenignTrackingHeaderContext
-
looksLikeNonSecretHighEntropyToken
-
looksLikeNonSecretHighEntropyToken
-
nonSecretHighEntropyReason
-
nonSecretHighEntropyReason
-
entropy
-