Skip to content

Commit a52ff59

Browse files
committed
Update design doc to include VULNERABILITY_RETRACTED notification
Signed-off-by: nscuro <nscuro@protonmail.com>
1 parent 4d438c1 commit a52ff59

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/architecture/design/vulnerability-analysis.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,12 +429,15 @@ applied analysis state is reset to defaults.
429429

430430
The following notifications can be emitted during reconciliation:
431431

432-
* `NEW_VULNERABILITY`: For each newly created finding.
432+
* `NEW_VULNERABILITY`: For each newly created finding, and for findings that become
433+
active again after previously being inactive (see [Finding Attributions](#finding-attributions)).
434+
* `VULNERABILITY_RETRACTED`: When a finding becomes inactive, i.e. all its attributions
435+
have been soft-deleted and no analyzer reports it anymore.
433436
* `NEW_VULNERABLE_DEPENDENCY`: When a BOM upload introduces new components that have
434437
existing vulnerabilities. The BOM upload trigger stores a context file containing the IDs
435438
of newly added components. During reconciliation, if the context file is present,
436439
components from that list that ended up with findings trigger this notification.
437-
* `PROJECT_AUDIT_CHANGE`: When a policy evaluation changes the analysis state or
440+
* `PROJECT_AUDIT_CHANGE`: When a policy evaluation changes the analysis state or
438441
suppression of an existing finding.
439442
* `ANALYZER_ERROR`: For each analyzer that failed during invocation.
440443

0 commit comments

Comments
 (0)