feat(codacy-skills): document affected functions for SCA issues/findings - #7
Merged
alerizzo merged 2 commits intoJul 31, 2026
Merged
Conversation
…ndings issues/issue/findings/finding now surface the affected functions of a linked advisory (CVE or GHSA), where known. Document the compact and detail-view formats and add a workflow for checking reachability before upgrading a dependency or ignoring a finding as NotExploitable. Related: OD-296, OD-297 (codacy/docs#2716)
claudiacodacy
commented
Jul 30, 2026
|
|
||
| Ignore reasons: `AcceptedUse` (default) | `FalsePositive` | `NotExploitable` | `TestCode` | `ExternalCode` | ||
|
|
||
| **Affected functions:** for SCA issues linked to an advisory (CVE or GHSA) with known affected functions, `issues`/`issue` show them alongside the regular output — a compact `Vulnerable functions: fn1, fn2 (+N more)` line on list/card views, and a full `Vulnerable Functions (<advisoryId>)` block with published date on `codacy issue` detail views. Always included in `--output json` when present. Use this to tell a user exactly which functions a vulnerability affects, so they (or their coding agent) can check whether their code actually calls them before deciding to upgrade the dependency or ignore the finding as `NotExploitable`. |
Contributor
Author
There was a problem hiding this comment.
Suggested change
| **Affected functions:** for SCA issues linked to an advisory (CVE or GHSA) with known affected functions, `issues`/`issue` show them alongside the regular output — a compact `Vulnerable functions: fn1, fn2 (+N more)` line on list/card views, and a full `Vulnerable Functions (<advisoryId>)` block with published date on `codacy issue` detail views. Always included in `--output json` when present. Use this to tell a user exactly which functions a vulnerability affects, so they (or their coding agent) can check whether their code actually calls them before deciding to upgrade the dependency or ignore the finding as `NotExploitable`. | |
| **Affected functions:** for SCA issues linked to an advisory (CVE or GHSA) with known affected functions, `issues` and `findings` show them alongside the regular output — a compact `Vulnerable functions: fn1, fn2 (+N more)` line on list/card views, and a full `Vulnerable Functions (<advisoryId>)` block with published date on `codacy issue` and `codacy finding` detail views. Always included in `--output json` when present. Use this to tell a user exactly which functions a vulnerability affects, so they (or their coding agent) can check whether their code actually calls them before deciding to upgrade the dependency or ignore the finding as `NotExploitable`. |
Contributor
Author
|
Validated the documented output against live data (codacy-cloud-cli 1.7.0, org `codacy`), not just the source PRs: Card views — `codacy issues gh codacy codacy-remark-lint --tools trivy`: Detail views — `codacy issue gh codacy codacy-remark-lint 131358696592` and `codacy finding gh codacy 86fb4b06-beca-4f88-b4d4-3ca6ee5d3872` (no linked issue) both render: • micromatch.braces Also confirmed `--ignore-reason` accepts `NotExploitable` via `codacy issue --help`. All matches what's now documented in this PR. No discrepancies found. |
zhamborova
previously approved these changes
Jul 30, 2026
…scale Adds a "Common workflows" entry for checking affected functions across one or multiple repos in a single pass, alongside the existing single-finding reachability check. Bumps skill version to 1.6.1.
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
issues/issue/findings/findingin the Codacy Cloud CLI now surface the affected functions of a linked advisory (CVE or GHSA) when Codacy has identified them (codacy-cloud-cli#34, merged, part of OD-296). This updates thecodacy-cloud-cliskill so an agent knows this data exists and how to act on it.Vulnerable functions: fn1, fn2 (+N more)line and the fullVulnerable Functions (<advisoryId>)detail block for both the Issues and Security findings sections.versionto 1.6.0 per CONTRIBUTING.md.Companion docs-site PR: codacy/docs#2716 (still draft — pending GHSA support and feature-flag removal on the web UI side; the CLI feature itself is already merged and unaffected by that).