vulnerablecode icon indicating copy to clipboard operation
vulnerablecode copied to clipboard

Expose advisory details in the API and UI

Open pombredanne opened this issue 1 year ago • 3 comments

It would be great to also expose the advisory data in an API endpoint (and possibly in the UI too)

pombredanne avatar Mar 07 '24 09:03 pombredanne

Can you explain somewhat in detail what does it include in advisory data and from where its available to be shown as response of the API?

ykodwani01 avatar Mar 09 '24 19:03 ykodwani01

You can check the models. We have Advisory, Package and Vulnerability. The way to return the Advisory in API needs to be designed here.

pombredanne avatar Mar 09 '24 22:03 pombredanne

image I have completed the setup and did few experiments. I am returning the unique_content_id of advisories related to that vulnerability in api/vulnerabilities. Anything else required or should I integrate the same in UI also and raise a PR?

ykodwani01 avatar Mar 12 '24 18:03 ykodwani01