pensar issues

Overview

The pensar issues command lets you manage security issues discovered by pentests. You can list issues with filters, view detailed information, and update issue statuses.

All commands operate on the selected workspace, which is chosen when you connect with pensar login. There is no longer a project argument.

Usage

$pensar issues [filters] # List issues in the workspace (alias: pensar issues list)
$pensar issues get <issueId> # Get issue details
$pensar issues update <issueId> [options] # Update an issue

Prerequisites

You must be connected to Pensar Console via pensar login before using this command.

Subcommands

List Issues

$pensar issues [filters]

Lists security issues in the selected workspace. Returns a JSON array. Use filters to narrow the results.

FilterDescription
--status <status>Filter by: open, closed, false-positive, in-review
--severity <sev>Filter by: critical, high, medium, low
--scan <scanId>Filter by scan (pentest) ID
--branch <branch>Filter by branch

Get Issue Details

$pensar issues get <issueId>

Returns detailed information about a specific issue, including vulnerability description, reproduction steps, and severity.

Update an Issue

$pensar issues update <issueId> [options]
OptionDescription
--status <status>New status
--closed-reason <reason>Reason for closing
--closed-comments <text>Additional comments when closing
--false-positiveFlag the issue as a false positive
--fp-reason <reason>Reason for the false positive flag

Examples

$# List all open critical issues in the workspace
$pensar issues --status open --severity critical
$
$# Get details for a specific issue
$pensar issues get issue_ghi789
$
$# Close an issue with a reason
$pensar issues update issue_ghi789 --status closed --closed-reason "Patched in v2.1"
$
$# Flag as false positive
$pensar issues update issue_ghi789 --false-positive --fp-reason "Test environment only"