COD-1178: expose all CodeAnt findings through CLI and MCP - #39
Open
Sagar-CodeAnt wants to merge 3 commits into
Open
COD-1178: expose all CodeAnt findings through CLI and MCP#39Sagar-CodeAnt wants to merge 3 commits into
Sagar-CodeAnt wants to merge 3 commits into
Conversation
🤖 CodeAnt AI — Review Status
|
CodeAnt Nitpicks1 code suggestion1. Polling can exceed the configured maximum wait by an entire retry interval.Logic error · |
CodeAnt Confidence score 4/5
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
codeant api request <method> <path>while preserving the app's authorization pathcodeant findingscommands for repository discovery and repo-level SAST, SCA, IaC, Secrets, SBOM, anti-pattern, dead-code, docstring, and complex-function findingsfindings.mdand the existing CLI/MCP manuals in the npm packageCommand flow
The existing
codeant scans repos/resultsandcodeant hotlist list/getinterfaces remain supported. The new namespace delegates to those proven flows where possible and calls the same authenticated UI endpoints for CSPM, VM, container, organization anti-pattern, and pentest data. No additional backend adapter was needed for this expanded findings layer.Security contract
Authorization,Cookie,Host,Content-Length, and allX-CodeAnt-CLI-*headers cannot be overriddencodeant logoutthencodeant loginonce to gain verified app-API identity metadataAgent access
The default read-only MCP server now exposes 23 tools (26 when write mode is explicitly enabled). New tools:
codeant_findings_antipatternscodeant_cloud_scan_historycodeant_cloud_findings_listcodeant_cloud_finding_getcodeant_pentest_historycodeant_pentest_issuescodeant_pentest_reportManual
See
findings.mdfor the complete command matrix, provider-specific scope fields, examples, agent workflow, and troubleshooting.cli-api.mddocuments the authenticated generic API escape hatch.Validation
tools/listhandshake confirmed all 23 default read-only toolsfindings.md,cli-api.md,scans.md, andmcp.mdare includedgit diff --checkpassedThe repository-wide scan test suite also reaches configured online CodeAnt endpoints; those pre-existing cases fail in this environment with
ENOTFOUND. The existing--include-dismissedtest mismatch is also unrelated. COD-1178 focused tests pass.Dependencies and tracking