diff options
Diffstat (limited to 'examples/tools')
| -rw-r--r-- | examples/tools/redact.toml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/tools/redact.toml b/examples/tools/redact.toml new file mode 100644 index 0000000..c6509a5 --- /dev/null +++ b/examples/tools/redact.toml @@ -0,0 +1,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 always found. 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." |
