Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

sl finding status

The finding status command allows you to get or set the status of a finding.

Usage

To get the current status of a finding: sl finding status <findingID> [command options]

To set/update the status of a finding: sl finding status <findingID>=<status> [command options]

Command options

Option

Arguments

Description

<findingID>

Numeric ID

The ID of the finding (required)

<status>

fixed|ignore|3rdparty|unset

Status value to set. Use fixed for resolved findings, ignore for findings to be ignored, 3rdparty for issues in third-party code, or unset to clear the status

--app, -a

<appName>

Application or compound name. Can also be set via SHIFTLEFT_APP environment variable or auto-detected

--comment, -c

<comment>

Optional reason or comment for the status change (only applicable when setting status)

--project, -p

<projectID>

Specific project ID. Required when the app is a compound with multiple projects and no interactive selection is desired

Valid status values

  • fixed - Finding has been fixed

  • ignore - Finding should be ignored

  • 3rdparty - Finding is in third-party code

  • unset - Clear the status

Example usage

When working with a compound app with multiple projects, you can interactively select a project or use the --project flag:

Set finding status with interactive project selection:

Set finding status to fixed using --project flag:

Set finding status to ignore using --project flag:

Set finding status as 3rdparty using --project flag:

Unset finding status using --project flag:

Get finding status using SHIFTLEFT_APP environment variable:

Set finding status using SHIFTLEFT_APP environment variable:

Last updated

Was this helpful?