diff_components
Compare two component versions to report new, resolved, and changed findings, capability changes, and risk-score delta. Use it during upgrade reviews to check if a new version is riskier than the vetted one.
Instructions
Compare two versions of a component and report what changed: new/resolved/changed findings, capability changes, and the risk-score delta. Use for upgrade reviews (is the new version riskier than the one already vetted?). Both sides accept the same sources as scan_component.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | Yes | New side. What to scan: a local directory/file/archive path, a git URL, npm:<name>[@version], or pypi:<name>[==version]. | |
| old | Yes | Old side. What to scan: a local directory/file/archive path, a git URL, npm:<name>[@version], or pypi:<name>[==version]. |