Context: aboutcode-org/dejacode#588
datasource_id should be included in the API v3 data along advisory_id, advisory_uid.
It can be extracted from the advisory_uid but it's extra work in the consumer side.
Some locations, but maybe in more relevant places:
|
class AdvisoryV3Serializer(serializers.ModelSerializer): |
https://github.com/aboutcode-org/vulnerablecode/blob/674cbf50937d6e9bba3a846d36e83fd9f1e0c47e/vulnerabilities/api_v3.py#L375C7-L375C37Reactions are currently unavailable
Context: aboutcode-org/dejacode#588
datasource_id should be included in the API v3 data along advisory_id, advisory_uid.
It can be extracted from the advisory_uid but it's extra work in the consumer side.
Some locations, but maybe in more relevant places:
vulnerablecode/vulnerabilities/api_v3.py
Line 120 in 674cbf5
https://github.com/aboutcode-org/vulnerablecode/blob/674cbf50937d6e9bba3a846d36e83fd9f1e0c47e/vulnerabilities/api_v3.py#L375C7-L375C37