NiFi Ingest 25.2
NiFi Ingest

# Universal Redaction

The NiFi Ingest package includes an example template for "universal redaction" (`Universal_Redaction.json`). This template contains a process group that accepts Knowledge Discovery document FlowFiles, and redacts personal information (PII) in both image and document file formats. The output from the dataflow is a redacted image of the original file.

For example, if the input is a Microsoft Word document, the dataflow uses a `KeyViewExportToHtml` processor to replace the Word document with an HTML representation of the content. The HTML is then rendered and replaced by an image. Each word in the text (with its location in the rendered image) is added to the document metadata. Alternatively, if the input is an image, Optical Character Recognition is used to extract the text.

For both documents and images, an Eduction (Named Entity Recognition) processor locates any PII in the extracted text. A redacted copy of the text is added to the document metadata and a `RedactImage` processor is used to redact the rendered image.

The process group has the following outputs:

- Success - Processing was successful. The file in the input document FlowFile was replaced by a redacted image.
- Failure - Processing failed.
- Unprocessed - The file type is not supported, for example a document cannot be processed if it cannot be exported by the File Content Extraction HTML Export SDK.

Copyright 2018-2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery NiFi Ingest 25.2

Topic Title: Universal Redaction