pensar issues
Overview
The pensar issues command lets you manage security issues discovered by pentests. You can list issues with filters, view detailed information, update issue statuses, queue retests, and link the pull requests that fix them.
All commands operate on the selected workspace, which is chosen when you connect with pensar login. There is no longer a project argument.
Usage
<issueId> accepts either the issue UUID or its label — e.g. VULN-000123.
Prerequisites
You must be connected to Pensar Console via pensar login before using this command.
Subcommands
List Issues
Lists security issues in the selected workspace. Returns a JSON array. Use filters to narrow the results.
Each entry carries both identifiers plus a direct link:
issueLabel is the human-facing reference (null only for issues predating
labels) and url opens the issue directly. Either identifier can be passed
back to any command taking an <issueId>.
Get Issue Details
Returns detailed information about a specific issue, including vulnerability description, reproduction steps, and severity. The response carries the same issueLabel and url as the list shape, plus description, line range, CWE, branch, and proof-of-concept.
A reference that is neither a UUID nor a VULN-… label is rejected with a 400; a well-formed reference that matches no issue returns a 404.
Update an Issue
--disposition records why an issue is closed as a structured value, so it can
be filtered and counted. Without it a close reads as a plain resolution whatever
the reason was. The four values above are the full accepted set.
Retest an Issue
Queues an asynchronous retest of the issue against its original target. The JSON response includes the agent session ID for the queued run.
Link a Pull Request
Links a pull request to the issue. --url is required.
Returns { success, created, pullRequest, issue }. created distinguishes a newly linked PR from one that was already attached, so re-running the command is safe.
List Linked Pull Requests
Returns the pull requests linked to the issue as an array of { id, url, status, createMethod, createdAt }. createMethod tells you whether the link came from an agent or from a person.
List Comments
Returns the issue’s review thread, oldest first — the running conversation between reviewers about a finding, which is where a corrected CVSS score or the argument for a dismissal usually lives.
author is null when the person who wrote the comment no longer has an
account. editedAt is null until the comment is edited. Mentions stay inline
in body as @first.last — there is no separate mentions field.
Default page size is 50; the maximum is 200.
Post a Comment
Adds a comment to the issue’s thread and returns the created comment in the
shape above. Mentions written as @first.last notify that person, exactly as
they do from the Console.
Posting requires a user login (pensar login). A workspace API key is
accepted for reading comments but rejected for posting, because it has no
author to attribute the comment to.