You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since fact names need to be unique per environment we have an issue where the facts gathering will pick up facts with the same name from different sources/images.
The issue is even though we deleteFactsFromSource prior to adding new ones in insights, this does not cover those facts with a different source name.
The text was updated successfully, but these errors were encountered:
Duplicate facts from source - solved
We've updated the source definition of facts to be more generic (rather than tied to a particular service), therefore all facts for a given insight type are now cleared on every scan. For example, all 'sboms' will be deleted from source (sbom:[service]) before a new syft scan is ran preventing having duplicate facts from this instance.
Remaining issues:
What happens if multiple images being scanned contain the same facts. For example, two node.js images are found with differing npm package versions. Which version do we store and how do we avoid duplication issues?
Current thinking:
We improve the parsing/fact filtering process to be more dynamic
Since fact names need to be unique per environment we have an issue where the facts gathering will pick up facts with the same name from different sources/images.
The issue is even though we deleteFactsFromSource prior to adding new ones in insights, this does not cover those facts with a different source name.
The text was updated successfully, but these errors were encountered: