# Security findings

The security findings one pipeline's scanners reported, through GitLab's GraphQL API.

Source: https://docs.jmrp.io/gitlab-mcp-server/reference/tools/security-finding/
Updated: 2026-11-22

---

A finding is what one scanner reported in one pipeline; a [vulnerability](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/) is the tracked record GitLab keeps of a finding across pipelines. `security_finding.list` lists the findings of one pipeline, filtered by severity, report type, scanner or state, which is what a pipeline's security report showed.

## Sample questions

- "What did the SAST scan find in pipeline 456?"
- "List the critical findings of the latest pipeline"
- "Show the secret detection findings of pipeline 123"

## How to call it

- **Dynamic**, the default surface: call `gitlab_execute_action` with `action` set to the action's ID, such as `security_finding.list`, and its parameters in `params`. `gitlab_find_action` finds an ID from a description of the task.
- **Meta** (`GITLAB_MCP_TOOL_SURFACE=meta`): call `gitlab_security_finding` with `action` set to the action's name, such as `list`, and its parameters in `params`.
- **Individual** (`GITLAB_MCP_TOOL_SURFACE=individual`): call the action's own tool, such as `gitlab_list_security_findings`, with its parameters as the arguments.

## Availability

How many of these actions an instance serves at each tier, out of a total of 1:

- **Free**: 0
- **Premium**: 0
- **Ultimate**: 1

Read-only actions: 1 of 1, the ones a deployment in read-only mode keeps. A token with `read_api` and not `api` is served 1 of the 1.

## Actions

The description of each action, and of each of its parameters, is the text the server serves for it on the default surface, quoted as served. The token lines say what GitLab 19.6.1 requires of a token for the requests each action sends; on an instance with Admin Mode turned on, an action only an administrator may run also needs `admin_mode`.

| Action | Individual |
| --- | --- |
| [`security_finding.list`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/security-finding/#security_findinglist) | `gitlab_list_security_findings` |

### `security_finding.list`

> List a pipeline's security report findings with severity, scanner, report-type and state filters, severity sorting and keyset pagination. Returns: matching findings with UUID, title, severity and original severity, report type, scanner, identifiers (CVE, CWE, OWASP), location, state, who dismissed it and why, evidence with the recorded HTTP exchange, proposed remediations, report links, and linked vulnerability state. See also: [`vulnerability.list`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilitylist), [`vulnerability.pipeline_security_summary`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilitypipeline_security_summary), [`vulnerability.severity_count`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityseverity_count).

- **Meta-tool**: `gitlab_security_finding`, action `list`
- **Individual tool**: `gitlab_list_security_findings`
- **Tier**: Ultimate
- **Classic or OAuth token**: `read_api` (or `api`)
- **Fine-grained token**: Not reachable at this release: GitLab declares no fine-grained permission for `PipelineSecurityReportFinding`, which the answer is made of ([permissions page](https://docs.jmrp.io/gitlab-mcp-server/reference/fine-grained-permissions/#security_finding))
- **Behavior**: read-only, idempotent

| Parameter | Type | Mandatory | Description |
| --- | --- | --- | --- |
| `pipeline_iid` | `string` | yes | Pipeline IID within the project |
| `project_path` | `string` | yes | Full path of the project (e.g. my-group/my-project) |
| `after` | `string` | no | Cursor for forward pagination (from previous response end_cursor) |
| `before` | `string` | no | Cursor for backward pagination (from previous response start_cursor). The page size comes from last, or from first when last is omitted |
| `first` | `integer` | no | Number of items to return (default 20, max 100) |
| `last` | `integer` | no | Number of items to return from the end of the range (backward pagination). Cannot be combined with first |
| `report_type` | `string[]` | no | Filter by report type: SAST, DAST, DEPENDENCY_SCANNING, CONTAINER_SCANNING, SECRET_DETECTION, COVERAGE_FUZZING, API_FUZZING, CLUSTER_IMAGE_SCANNING, SARIF. SARIF needs GitLab 18.11, and an older GitLab drops it and answers with no findings |
| `scanner` | `string[]` | no | Filter by scanner external IDs |
| `severity` | `string[]` | no | Filter by severity: CRITICAL, HIGH, MEDIUM, LOW, INFO, UNKNOWN |
| `sort` | `string` (`severity_desc`, `severity_asc`) | no | Sort order: severity_desc (default) or severity_asc |
| `state` | `string[]` (`DETECTED`, `CONFIRMED`, `DISMISSED`, `RESOLVED`) | no | Filter by state: DETECTED, CONFIRMED, DISMISSED, RESOLVED |
