pensar knowledge
Overview
The pensar knowledge command reads and edits your workspace knowledge base: the context Pensar agents use during pentests, such as technology notes, testing history and false positive patterns. A false_positive_pattern entry suppresses matching findings, so treat edits to it as triage decisions.
Usage
Prerequisites
You must be connected to Pensar Console via pensar login before using this command.
Adding, editing and archiving require a user login. A workspace API key (PENSAR_API_KEY) can list and read entries but cannot change them. Entries you add are attributed to you.
Subcommands
List Entries
Returns a JSON array of entries, newest first. A --tag filter matches entries that carry every listed tag.
Get Entry
Add Entry
Update Entry
Only the flags you pass are changed. --tag replaces the entry’s tags.
Archive Entry
Archived entries stay readable but are no longer given to agents.
Options
Examples
To give a pentest specific entries as context, pass their IDs to pensar pentests dispatch --knowledge-id.