> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.pensar.dev/apex/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.pensar.dev/apex/_mcp/server.

# pensar fixes

> View security fixes and diffs via the Pensar Console API

## Overview

The `pensar fixes` command lets you view suggested security fixes for issues discovered during pentests. Fixes include code diffs that show exactly what changes are recommended.

## Usage

```bash
pensar fixes <issueId>         # List fixes for an issue
pensar fixes get <fixId>       # Get fix details (includes diff)
```

> **Note**
>
> `<issueId>` accepts either the issue UUID or its label — e.g. `VULN-000123`.

## Prerequisites

You must be connected to Pensar Console via [`pensar login`](/apex/cli-commands/pensar-login) before using this command.

## Subcommands

### List Fixes

```bash
pensar fixes <issueId>
```

Lists all suggested fixes for a given issue. Returns a JSON array of fix objects.

### Get Fix Details

```bash
pensar fixes get <fixId>
```

Returns detailed information about a specific fix, including the code diff.

## Examples

```bash
# List fixes for an issue
pensar fixes VULN-000123

# Get details and diff for a specific fix
pensar fixes get fix_jkl012
```

## Related Commands

#### [pensar issues](/apex/cli-commands/pensar-issues)

List and manage the issues that fixes address

#### [pensar logs](/apex/cli-commands/pensar-logs)

View agent execution logs for debugging