This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
Store metadata when alerting on secrets. #365
Description
Currently, when secrets are recorded in the database, we are not capturing enough contextual information about them. Enhancing the recorded data can improve usability and visibility, particularly for display on the dashboard.
Record Contextual Information:
- Include the file name where the secret was detected.
- Capture the surrounding lines of code or text where the secret appears.
- This additional context will help users quickly identify and understand where the secret is coming from.
Classify Secrets by Type:
- Record the type of secret based on the matching regex (e.g., AWS secret, GitHub token, etc.).
- Since we already know which regex triggered the match, we can use this information to categorize the secret.
Metadata
Metadata
Assignees
Labels
No labels