--- name: pixee-finding description: "List, filter, and view Pixee findings for a scan with aggregate counts across triage, fix, and SCA outcomes." license: Apache-2.0 compatibility: Requires the pixee CLI binary on PATH metadata: version: 1.1.0 openclaw: category: "developer-tools" requires: bins: - pixee cliHelp: "pixee finding --help" --- # pixee finding > **PREREQUISITES:** Read `../pixee-shared/SKILL.md` for global flags, exit codes, and error > handling, and `../pixee-scan/SKILL.md` to discover the `--scan` UUID this skill requires. `pixee finding` lists and views findings produced by a scan. A finding hangs off a single scan and is not addressable on its own, so every invocation requires `--scan `. Findings carry the output of every analysis Pixee runs against them — triage, fix, sca — and the CLI inlines the representative result for each analysis type so an agent rarely needs a second HTTP call. Before asking the user which repository, branch, scan, or pull request to target, derive that context from the working environment with whatever facilities the host agent already has — current directory, git state, PR tooling, project conventions. The user is almost always asking about findings tied to wherever `cwd` already points. Use `pixee scan list --repo ` (with `--branch` and `--tool` to narrow) to pin down the scan UUID, and only fall back to asking when the derivation comes back empty or ambiguous. ## pixee finding list ``` pixee finding list --scan [filter flags...] ``` `--scan` is **required**. The response always carries cross-section aggregate counts (triage status/outcome, fix status/outcome/confidence, sca status/classification, and the composite `ready_to_fix` / `no_fix_necessary` views) plus, by default, the paginated `items` list with each item's representative analysis results inlined. Text output is the aggregate table only — one tab-separated `key\tvalue` row per metric. Items are not surfaced in text mode; use `--json` to access them. The JSON shape: - Top-level aggregate fields: `total`, `completed_analysis`, `in_progress_analysis`, `triage`, `fix`, `sca`, `composite`, `page`, `_links`. - `_embedded.items[]` carries the paginated findings (omitted under `--stats`). Each item has `id`, `title`, `rule`, `severity` (`{label, rank}`), `html_url`, `_links`, and `_embedded["representative-results"]` — a paginated wrapper whose own `_embedded.items[]` contains one entry per analysis `type` (`triage`, `fix`, `sca`) with self/finding/analysis links and, for fix results, `changesets`, `patches`, and a one-page `latest-patch` shortcut. Pagination is transparent: the CLI walks every page of findings in one call. Aggregate counts are page-invariant for a given filter set, so `--stats` (below) returns them in a single HTTP round-trip. ### `--stats` ``` pixee finding list --scan --stats [filter flags...] ``` Returns aggregate counts only, dropping `_embedded.items`. Sends `page-size=1` over the wire so it answers questions like "how many critical findings have a completed fix on this scan?" without streaming the items page. Combine with filter flags below to scope the counts. ### Filter flags All filters are **repeatable** unless noted, and combine as AND across distinct flags / OR within the same flag. - `--severity