src appsec defect trace
Show the code-flow steps reported by the scanner, from source to sink.
Findings come from the latest scan used by the defect details. Each finding,
code flow and thread flow is shown separately. Findings without a code-flow
trace do not count against --limit. JSON keeps full messages, code and coordinates;
the table shows short previews and numbers flows and steps starting at one.
Usage
src appsec defect trace <id> [flags]
Examples
Show traces for defect group #42
src appsec defect trace 42
Read traces in another repository
src appsec defect trace '#42' -R owner/repo
Get full traces for up to 100 findings as JSON
src appsec defect trace 42 --limit 100 --json
Flags
| Flag | Description |
|---|---|
-L, --limit int |
Maximum number of findings with traces to return (default "30") |
Inherited flags
| Flag | Description |
|---|---|
--env string |
Override Sourcecraft environment (use 'src envs' to list available) |
--json string |
Output JSON, optionally filtered (--json or --json=field1,field2) |
--json-compact string |
Output compact JSON, optionally filtered |
-R, --repo string |
Select another repository using OWNER/REPO format |
-V, --verbose |
Enable debug logging output |
Learn more
Use src appsec defect trace <subcommand> --help for more information about a command.
Была ли статья полезна?
Предыдущая
Следующая