Open guibranco opened 1 year ago
Hey, I'm a bit lost here! Not sure which file I should be fixing. Could you give me a bit more to go on? Maybe add some details to the issue or drop a comment with some extra hints? Thanks!
Have feedback or need help? Feel free to email info@gitauto.ai.
Description:
We need to create an integration with the Snyk API to retrieve security vulnerability information for each of our repositories. This integration should query the repositories table to get the list of repositories, call the Snyk API, and store the results in a new dedicated table. The table will contain only key information from Snyk (e.g., vulnerability count, severity levels), without the full detailed data, to keep the data lightweight and easy to query.
Objectives:
Create Snyk API Integration:
Query the Repositories Table:
Call the Snyk API for Each Repository:
Create a New Database Table:
Store Relevant Data:
Tasks:
Code Example:
Here’s a pseudo-code example of how the integration might work:
Acceptance Criteria:
Additional Context:
By integrating with Snyk, we will be able to monitor security vulnerabilities across our repositories. This will help in identifying critical and high-severity issues in a lightweight manner and enable quick action based on the reported vulnerabilities.