asm_get_issues
Retrieves a company's security issues with filters for severity, status, category, asset, port, and CVE, using a resume cursor for paginated results.
Instructions
Issues (security findings) of a company: POST /api/v2/issues/updated, oldest-first, following the seqUpdate cursor. Filters: severity, status, category, test_name, asset, port, issue_hash, cve. Status and severity are re-checked locally because the server filter leaks. Returns items with complete, reason and seqUpdate; when complete is false, call again with seq_update. One call stops at max_items, after ~40 s or at 1 MB. For totals use asm_issues_summary; for proof of one issue asm_get_issue_evidence.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"company_id": "<company_id>"
},
"name": "asm_get_issues"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cve | No | CVE ids, e.g. CVE-2024-6387. | |
| port | No | Ports, e.g. [22, 3389]. | |
| asset | No | Issues of these assets (domain, IP). | |
| fields | No | Return only these fields, dotted paths allowed, e.g. ['alertHash', 'alertSeverity', 'alertStatus', 'testName', 'alertBody.asset', 'alertBody.reason']. | |
| status | No | Empty = every status. Open issues = ['detected', 'under review']. | |
| compact | No | Default true: drop heavy and repeated fields (whois/DNS of domains, discovery graph, descriptions, company fields). false returns records as the API sent them. | |
| category | No | e.g. Vulnerabilities, Network Security, DNS & Domains. | |
| severity | No | crit / high / medium / low. In records they read as alertSeverity Crit / Error / Warning / Low and alertBody.status 'Critical severity' / 'High severity' / ... | |
| max_items | No | Integer, 1-5000, default 200: stop after this many issues. | |
| page_size | No | Records per API request, at most 2000. A page that times out is retried at half the size automatically. | |
| test_name | No | Exact test names, e.g. 'CVE vulnurability', 'Insecure Network Headers', 'Remote management open port: 22'. | |
| company_id | Yes | Company id from asm_list_companies (field id), e.g. 3f2b6c1e-0000-4a5b-8c9d-0123456789ab. | |
| issue_hash | No | Specific issues by id (alertHash). | |
| seq_update | No | Resume cursor: the seqUpdate of a previous answer of this tool with the same filters. Omit to start from the oldest record. Saved after a full walk, it returns only what changed since. | |
| sort_by_first_seen | No | Order by first detection instead of last update. |