search_assets
Resolve a mentioned asset or finding name into matching node IDs by searching indexed names, CVE IDs, and keywords for other PerspectiveGraph tools.
Instructions
Full-text search across indexed assets and findings by name, CVE id, or keyword. Use it to resolve a name a human mentioned into the node ids the other tools take. It needs OpenSearch on the deployment: where that is off it answers with an error saying so, never with an empty list, and get_posture and list_attack_paths are then where names come from. It returns the best size matches and has no further page: narrow the query instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Maximum number of matches to return, best match first. | |
| query | Yes | Text matched against asset and finding names, labels, ids, severities and CWEs, e.g. 'log4j', 'PII', 'CVE-2021-44228'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | Yes | The matches, best first. Empty when nothing matches. |