Package jenkins.security
Interface ExtendedReadRedaction
- All Superinterfaces:
ExtensionPoint
- All Known Implementing Classes:
ExtendedReadSecretRedaction
Redact
config.xml
contents for users with ExtendedRead permission
while lacking the required Configure permission to see the full unredacted
configuration.- Since:
- 2.479
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<ExtendedReadRedaction>
all()
Redacts sensitive information from the providedconfig.xml
file content.static String
-
Method Details
-
apply
Redacts sensitive information from the providedconfig.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.- Parameters:
configDotXml
- String representation of (potentially already redacted) config.xml file- Returns:
- Redacted config.xml file content
-
all
-
applyAll
-