Analysis
Dismiss Findings
Changed onDismisses one or many findings of a repository in a single call, exactly like the Dismiss action in the dashboard: dismissed findings leave the active lists and the Hotlist and move to the repository's Dismissed tab, where they can be restored. Group findings by repository and scanner and send each group as one request.
post/api/analysis/findings/dismiss
Request
- Base URLhttps://api.codeant.ai
- URLhttps://api.codeant.ai/api/analysis/findings/dismiss
- Authnone declared
Request body
Example request
{
"repo": "owner/repository",
"github_base_url": "https://github.com",
"dismiss_keys": [
"cross-spawn@7.0.3::package-lock.json::CVE-2024-21538",
"lodash@4.17.20"
],
"reason": "This alert is inaccurate or incorrect",
"dismissed_by": "sec-automation@example.com"
}Response
Findings dismissed
Example response
{
"status": "success",
"dismissed": 2
}Changes
- info
endpoint added
- info