Package io.jenkins.plugins.ksm.log
Class KsmLogCommon
java.lang.Object
io.jenkins.plugins.ksm.log.KsmLogCommon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoideol(OutputStream logger, byte[] b, int len) Make an "or" regular express of descending secret lengths.
-
Constructor Details
-
KsmLogCommon
-
-
Method Details
-
getSecretRegexPattern
Make an "or" regular express of descending secret lengths. This is so we redact the full secret and not leave particles. ie PASS vs PASSWORD. If PASS was redacted before PASSWORD, it would leave WORD in the console log.- Returns:
- regular expression "or" string
-
eol
- Throws:
IOException
-