A maintainer runs the Dependency Review action with a deny list that forbids a particular vulnerable transitive package by advisory. A new pull request bumps a direct dependency, which pulls in a version of that transitive package carrying a GHSA advisory the team has reviewed and formally accepted as a one-off exception for this release. They want the gate to keep failing on all other high-severity advisories but to let this one specific advisory pass without lowering the overall severity threshold. Which configuration achieves this most precisely?
- AAdd the advisory's identifier to the action's allow-ghsas input so that this single GHSA is exempted while every other advisory at or above the configured severity still fails the check. Correct
- BLower fail-on-severity from high to critical so the accepted advisory, being high severity, no longer crosses the failure threshold.
- CAdd the transitive package to the allow-dependencies-licenses input so the action skips this package entirely and stops evaluating its advisories during the pull request review.
- DDismiss the matching Dependabot alert for that package with the reason that the risk is tolerable, which also tells the Dependency Review action to ignore the advisory.
Why A is correct: Correct: the allow-ghsas input takes a list of specific GitHub advisory identifiers to ignore, so the named advisory passes while the fail-on-severity gate continues to fail on all other qualifying advisories.
Why B is wrong: Tempting because it would let the high-severity finding pass, but it weakens the gate for every other high-severity advisory too, which contradicts the requirement to exempt only this one finding.
Why C is wrong: Tempting because it names the package, but allow-dependencies-licenses exempts a dependency from licence checks only and has no effect on vulnerability advisory gating.
Why D is wrong: Tempting because dismissing a Dependabot alert records an accepted risk, but Dependabot alert state is independent of the Dependency Review action's pull request gate, so the dismissal does not stop the action from failing the check.