pensar pentests
Overview
The pensar pentests command lets you manage pentests (scans) in your workspace through the Pensar Console API. You can list existing pentests, view details, or dispatch new ones — all from the command line.
All commands operate on the selected workspace, which is chosen when you connect with pensar login. There is no longer a project argument.
Usage
Prerequisites
You must be connected to Pensar Console via pensar login before using this command.
Subcommands
List Pentests
Lists all pentests in the selected workspace. Returns a JSON array of pentest objects.
Get Pentest Details
Retrieves detailed information about a specific pentest, including status, findings count, and configuration.
Dispatch a New Pentest
Dispatches a new pentest scan in the selected workspace.