Skip to content

Proxy logs store the pre-filter body, and redaction leaves no compliance trace #509

Description

@lonelycode

G5 — Proxy Logs store the pre-filter body

A PII redaction filter keeps PII away from the vendor; it does not keep it out of AI Studio's own request log, because reqBody is captured before the filter runs.

Customers will assume the stronger guarantee, and this is exactly the sort of thing asserted in a security questionnaire.

Fix: log the post-filter body (or both, explicitly labelled), and until then state the boundary in the docs and point at the DontLogBodies toggle.

G6 — A redaction filter produces nothing visible in the compliance UI

On this build the stock PII template raises no compliance events at all, and the Compliance page has no Filter Events tab. pii_redacted at severity warning is not a policy violation, so it appears in no tile either.

So the feature whose whole job is demonstrable compliance leaves no compliance trace.

Fix: raise events from the stock templates, and give the Compliance page somewhere for filter events to land.


Acceptance

  • Proxy logs reflect the post-filter body, or the boundary is documented and surfaced in the UI
  • The stock PII template raises a compliance event
  • Filter events are visible somewhere in the Compliance UI

Related: #370 (audit log filter redactions that don't block requests). From the UX & UI review of the demo set (G5, G6).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestexternalsecuritySecurity-related finding

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions