src appsec defect set-status
Move defect groups to a new status.
'src appsec defect
already in the target status are skipped; a single disallowed transition
rejects the whole batch.
Usage
src appsec defect set-status <id>... --status <status> [flags]
Examples
Mark a finding as a false positive
src appsec defect set-status 42 --status RESOLVED_FP
Triage several findings at once, with a comment
src appsec defect set-status 42 43 44 --status RESOLVED_TOLERABLE --comment "accepted risk"
Flags
| Flag | Description |
|---|---|
--status string |
New status, e.g. RESOLVED_FP |
--comment string |
Comment attached to every status change |
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 set-status <subcommand> --help for more information about a command.