Class KsmLogCommon


  • public class KsmLogCommon
    extends Object
    • Constructor Detail

      • KsmLogCommon

        public KsmLogCommon​(List<String> secretsList,
                            String charsetName)
    • Method Detail

      • getSecretRegexPattern

        public String 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