FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Consider including Advisory `datasource_id` value in API v3 · Issue #2458 · aboutcode-org/vulnerablecode · GitHub

Consider including Advisory datasource_id value in API v3 #2458

Description

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-L375C37

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL