-
Notifications
You must be signed in to change notification settings - Fork 91
[SECURITY] Add sanitized command preview before scan execution #35
Copy link
Copy link
Open
Labels
area:frontendFrontend React/UI workFrontend React/UI workarea:securitySecurity-sensitive implementation or testsSecurity-sensitive implementation or testslevel:advanced55 pts difficulty label for advanced contributor PRs55 pts difficulty label for advanced contributor PRspriority:highHigh-priority issueHigh-priority issuetype:featureFeature work category bonus labelFeature work category bonus labeltype:securitySecurity work category bonus labelSecurity work category bonus label
Metadata
Metadata
Assignees
Labels
area:frontendFrontend React/UI workFrontend React/UI workarea:securitySecurity-sensitive implementation or testsSecurity-sensitive implementation or testslevel:advanced55 pts difficulty label for advanced contributor PRs55 pts difficulty label for advanced contributor PRspriority:highHigh-priority issueHigh-priority issuetype:featureFeature work category bonus labelFeature work category bonus labeltype:securitySecurity work category bonus labelSecurity work category bonus label
Summary
Show users a sanitized preview of the generated scanner command before they queue a scan.
Problem
Dynamic plugin command templates can be difficult to reason about. Users should be able to see what SecuScan is about to run, while secrets and sensitive values remain redacted.
Proposed solution
Add a command-preview step or panel in the scan configuration flow.
Expected behavior:
Acceptance criteria
Suggested files
frontend/src/pages/ToolConfig.tsxfrontend/src/api.tsbackend/secuscan/plugins.pyor a new preview endpoint if backend generation is preferredfrontend/testing/unit/pages/ToolConfigDynamic.test.tsxTest plan