meta.redact

Redaction to apply to all assets. If multiple 'meta.redact' specs are specified, all lists will be used. If a spec specifies a scrubber, it will be run in addition to the global scrubbers.

This content is associated with a legacy version of the Replicated product. For the current Replicated product docs, click here.

meta.redact

type object

Redaction to apply to all assets. If multiple ‘meta.redact’ specs are specified, all lists will be used. If a spec specifies a scrubber, it will be run in addition to the global scrubbers.

collect:
  v1:
    - meta.redact:
        scrubs:
          - regex: abc
            replace: xyz
        files:
          - '**/secret.json'
        output_dir: redact/

Required Parameters

  • scrubs - the list of scrubbers to apply to all outputs

Optional Parameters

  • files - the list of file patterns to redact

Outputs

  • scrubs.json - A list of scrubs that were added globally by this item

  • file_redactions.json - A list of file redaction patterns that were added globally by this item