Class SubstitutionConfig
java.lang.Object
ai.nightfall.scan.model.redaction.SubstitutionConfig
An object that specifies how findings should be substituted when returned by the API. This is similar
to masking, but allows for a custom phrase to be used rather than simply redacting each codepoint.
-
Constructor Summary
ConstructorsConstructorDescriptionSubstitutionConfig(String substitutionPhrase) Builds a substitution configuration with the provided phrase. -
Method Summary
Modifier and TypeMethodDescriptionReturns the substitution phrase.voidsetSubstitutionPhrase(String substitutionPhrase) Sets the substitution phrase.toString()
-
Constructor Details
-
SubstitutionConfig
Builds a substitution configuration with the provided phrase.- Parameters:
substitutionPhrase- a phrase to substitute for a finding.
-
-
Method Details