pensar targets
Overview
A target is a single attack-surface endpoint exercised during a pentest. Pentest execution logs are persisted against the target rather than against the issues it produced, so pensar targets is how you query the full activity for an endpoint — including runs that found nothing.
That distinction matters: pensar logs is keyed by issue, so it can only show you work that ended in a finding. If you want to know what the agent tried against an endpoint that came back clean, you need the target.
All commands operate on the selected workspace, which is chosen when you connect with pensar login.
Usage
Prerequisites
You must be connected to Pensar Console via pensar login before using this command.
Subcommands
List Targets
Lists every target exercised by the given pentest. Use the returned target IDs with the logs and search subcommands.
List Target Logs
Lists agent execution logs recorded against a target.
Search Target Logs
Searches a target’s log entries for a query string.