Class ExtendedReadSecretRedaction

java.lang.Object
jenkins.security.ExtendedReadSecretRedaction
All Implemented Interfaces:
ExtensionPoint, ExtendedReadRedaction

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @Extension public class ExtendedReadSecretRedaction extends Object implements ExtendedReadRedaction
  • Constructor Details

    • ExtendedReadSecretRedaction

      public ExtendedReadSecretRedaction()
  • Method Details

    • apply

      public String apply(String configDotXml)
      Description copied from interface: ExtendedReadRedaction
      Redacts sensitive information from the provided config.xml file content. Input may already have redactions applied; output may be passed through further redactions. These methods are expected to retain the basic structure of the XML document contained in input/output strings.
      Specified by:
      apply in interface ExtendedReadRedaction
      Parameters:
      configDotXml - String representation of (potentially already redacted) config.xml file
      Returns:
      Redacted config.xml file content