pensar pentests
Overview
The pensar pentests command lets you manage pentests (scans) for a project through the Pensar Console API. You can list existing pentests, view details, or dispatch new ones — all from the command line.
Usage
Prerequisites
You must be connected to Pensar Console via pensar auth login before using this command.
Subcommands
List Pentests
Lists all pentests for the given project. 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 for the specified project.