You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 127d809
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: changelog.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,9 @@
10
10
- Removed a debug dump of full scan responses to stderr
11
11
- Fixed numeric options with defaults (`scans results --limit`, `scans history --limit`, PR comment `--limit`) being parsed in the wrong radix
12
12
13
+
## [0.5.8] - 02/10/2026
14
+
-`findings antipatterns` and VM/container `findings cloud list` are paged (`--limit`, `--offset`, `--all`), so large organizations and scans no longer fail with a 502
15
+
13
16
## [0.5.7] - 28/09/2026
14
17
- Login tokens are prefixed with `cli___` so CLI logins show up as CLI on the IDE users page
When `--repos` is omitted, the CLI first lists the organization's repositories and sends all of them to the same aggregate anti-pattern endpoint used by the Quality Report UI.
83
+
When `--repos` is omitted, the CLI first lists the organization's repositories and sends all of them to the aggregate anti-pattern endpoint. Results are paged because an organization-wide list can exceed the API's 1 MB response limit: `--limit` is 25, 100, or 500 (default 500), `--offset` is a multiple of `--limit` (default 0), and `--all` fetches every page from `--offset` on. Responses carry `total`, `limit`, and `offset`; `summary` and `total_issues` always cover every issue.
81
84
82
85
## Cloud security findings
83
86
@@ -98,8 +101,9 @@ codeant findings cloud history --provider all --kind container
98
101
codeant findings cloud list --provider aws --scan-id <scan-id> --account-id <account-id>
99
102
codeant findings cloud get --provider aws --scan-id <scan-id> --uid <finding-uid> --cloud-service iam
100
103
101
-
# VM and container vulnerabilities use the same list/detail flow
104
+
# VM and container vulnerabilities use the same list/detail flow (paged; --all merges every page)
102
105
codeant findings cloud list --provider aws --kind vm --scan-id <scan-id>
`--kind` defaults to `cspm`; use `vm` or `container` for the other Cloud Security result views. CSPM `cloud list` supports `--cloud-service`, `--severity`, `--status`, `--framework`, and `--min-days-unused`. AWS additionally supports `--exploit-attempted-only`; Azure additionally supports `--subscription-id`. CSPM responses include `findings` and `dismissed_findings`; VM/container responses preserve their UI result payload unchanged.
120
+
`--kind` defaults to `cspm`; use `vm` or `container` for the other Cloud Security result views. CSPM `cloud list` supports `--cloud-service`, `--severity`, `--status`, `--framework`, and `--min-days-unused`. AWS additionally supports `--exploit-attempted-only`; Azure additionally supports `--subscription-id`. CSPM responses include `findings` and `dismissed_findings`. VM/container responses keep the UI result payload, but `findings` is paged with the same `--limit`/`--offset`/`--all` options as anti-patterns and the response carries `total`; `findings_total` and `severity_rollup` still describe the whole scan.
addTenantOptions(findings.command('antipatterns').description('List anti-pattern findings across selected or all organization repositories'))
171
+
addPageOptions(addTenantOptions(findings.command('antipatterns').description('List anti-pattern findings across selected or all organization repositories')))
161
172
.option('--repos <repos>','Comma-separated owner/repo values; defaults to every repository')
Copy file name to clipboardExpand all lines: src/mcp/server.js
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -289,12 +289,15 @@ export async function startMcpServer() {
289
289
'codeant_findings_antipatterns',
290
290
{
291
291
title: 'List organization anti-pattern findings',
292
-
description: 'Fetch anti-pattern findings across selected repositories, or every repository in the organization when repos is omitted.',
292
+
description: 'Fetch anti-pattern findings across selected repositories, or every repository in the organization when repos is omitted. Results are paged; the response carries total.',
offset: z.number().int().nonnegative().optional().describe('Start offset, a multiple of limit (default 0).'),
300
+
all: z.boolean().optional().describe('Fetch every page from offset on instead of one page.'),
298
301
},
299
302
annotations: READ,
300
303
},
@@ -327,7 +330,7 @@ export async function startMcpServer() {
327
330
'codeant_cloud_findings_list',
328
331
{
329
332
title: 'List cloud security findings',
330
-
description: 'Fetch findings for one AWS, Azure, or GCP CSPM, VM, or container scan using the same endpoint as the app.',
333
+
description: 'Fetch findings for one AWS, Azure, or GCP CSPM, VM, or container scan. VM and container results are paged (limit/offset/all) and carry total.',
0 commit comments