Skip to content

Add artifact redaction and secret scanning #64

Description

@chubes4

Goal

Add a first-pass redaction/secret scanning layer for wp-codebox artifacts.

Context

The artifact contract is now broad enough for review/apply flows: patch, changed files, review payload, test results, provenance, logs, and mounted files. Before production owner review, artifacts need default-safe redaction behavior.

Acceptance

  • Scan artifact JSON/log/text outputs for common secret patterns and configured secret env values/names.
  • Redact findings before writing review-facing artifacts.
  • Record redaction metadata/counts without exposing secret values.
  • Fail or risk-flag artifacts when unredactable secrets are found.
  • Extend smoke coverage with a fixture secret value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions