---
metadata:
  - name: generator
    content: Diplodoc Platform v5.61.1
alternate:
  - https://sourcecraft.dev/portal/docs/en/cli-ref/src-appsec.md
  - https://sourcecraft.dev/portal/docs/ru/cli-ref/src-appsec.md
  - href: https://sourcecraft.dev/portal/docs/en/cli-ref/src-appsec.md
    type: text/markdown
    title: Markdown version
  - href: https://sourcecraft.dev/portal/docs/en/llms.txt
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://sourcecraft.dev/portal/docs/en/llms.txt

# src appsec

Work with the security findings AppSec reports for a repository.

Findings are grouped into defect groups, addressed by the per-repository
number shown in the UI.

## Usage

`src appsec <command> [flags]`

### Available commands

| Command | Description |
| --- | --- |
| [defect](src-appsec-defect.md) | Show, list and triage defect groups |

### 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 <subcommand> --help` for more information about a command.
