Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

[Task]: Basic PII integration into dashboard #322

Description

@lxmcgvrn

Description

Luke recently merged a PR that introduces PII protections into Codegate: stacklok/codegate#919

This should now be generating alerts when provide a file containing PII to an LLM. (See the relevant dir in the codegate-demonstration repo).

My understanding is that the PII alerts produced should have trigger_type: "codegate-pii" in the JSON blob.

The task here is to:

  • Include PII as one of the "filter tabs"
    Image
  • Include PII in the summary attached to each conversation
    Image
  • Include PII in the "summary block" in the conversation route
    Image
  • Add an empty state for PII into the table's empty state component
    Image

Optional

Longer term, we will probably want to display a tab in the conversation view summarising PII discovered & redacted. However I'm not sure that we have landed on a long-term chosen design for this. The current implementation of the secrets summary is very basic and needs improving.

The concerns around this are:

  • The markdown is not consistent, and repeats redundant information, so it not suited to rendering in a list format
  • There is no structured data around secrets that is returned to be rendered in a list/table format

For PII, these constraints may also apply, I think it's open to interpretation on the best way to integrate this.

Additional Context

No response

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions