fasten-project / vulnerability-producer

Gathers, enriches and publishes vulnerability information to a Kafka topic.
https://www.fasten-project.eu/
Apache License 2.0
6 stars 3 forks source link

Make PURLs field a Set to avoid duplicates #87

Closed elanzini closed 2 years ago

elanzini commented 3 years ago

From a manual inspection of a statement, some duplicates were found in the purl field, which is currently a List. Those would be filtered by the consumer once ingested and filter but would be parsed twice, introducing extra unnecessary work.

The purl field can be made into a Set to avoid this.

MagielBruntink commented 2 years ago

Fixed by db3c51b.

MagielBruntink commented 2 years ago

There is #95 to resolve this once it gets merged.