Return advisory db state after upload

What does this MR do and why?

Return advisory db sync state to the DS analyzer so that it can stop processing when no sync has occurred.

This change is relied upon by the analyzer functionality added in: Return advisory db state after upload (!215587) • Igor Frenkel • 18.7

Rollout plan

Either MR can "go first" because current version of the analyzer simply ignores the added attribute. And both older instances and instances with this functionality are supported because the analyzer will do the sync check if the attribute actually exists.

This will be formalized in a follow-on issue and eventually move to the SBOM Scan caching endpoint being added in Avoid triggering a re-scan when dependencies ha... (#562694) • Igor Frenkel • 18.7 • Needs attention

References

Stop SBOM scan when advisory data has never bee... (#582073) • Igor Frenkel • 18.7

Screenshots or screen recordings

See analyzer MR for demo video.

How to set up and validate locally

Analyzer MR has the steps.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Igor Frenkel

Merge request reports

Loading