1
2
3
4
5
6
7
8
9
10
11
12
|
description = "Redact personal data (PII) from an attached PDF or image: writes a copy with black boxes, '<name>-redacted.<ext>' beside the original, and opens it for the user to check. Emails, phone numbers, IBANs, codici fiscali and card numbers are found automatically; on a scan or photo list them in items too, since OCR can misread them. Pass in items every other piece of personal data you see in the document: names, addresses, account or document numbers, exactly as written there. The original is not changed. Report what the tool says, including anything not found."
command = ["redact.py", "{path}", "{items}"]
cloud = ["hetzner"]
timeout = 120
[params.path]
type = "string"
description = "Absolute path of the attached file, from its file or image block."
[params.items]
type = "string"
description = "Extra strings to black out, one per line, exactly as they appear in the document. Empty if none."
|