Expose Advisory details in API - #1459
Conversation
Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
|
@pombredanne @ziadhany Can you please review and let me know if any changes required |
|
@ykodwani01 the CI ( code style is failing ) Please don't forget to run |
Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
ziadhany
left a comment
There was a problem hiding this comment.
@ykodwani01 Looks good! but I think the most important data we want to expose ( date_collected, created_by and url )
Signed-off-by: ykodwani01 <yashkodwani2003@gmail.com>
|
@ziadhany Done with the required changes. There is a problem with DCO, I committed one change directly from github which caused error and now Its failing the test. Can you suggest something to resolve it. |
Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com> Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Fix the cvss vector test Resolve merge conflicts Add exception for s.scoring_system when is not in SCORING_SYSTEMS Add a get serverity values test Resolve merge conflict Change the style of cvss_printer display Add a new filter to print cvss vectors Change the table heading to Vertical Add support for CVSS vectors display Signed-off-by: ziadhany <ziadhany2016@gmail.com> Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Add a GithubOSVImporter to git_importer parametrize test Refactor OSV ecosystem mapping Fix the test Update univers version and pass nuget test Resolve merge conflict Add a test for golang Fix test by adding cwe to expected files Resolve merge conflict Signed-off-by: ziadhany <ziadhany2016@gmail.com> Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
* Add function to generate purl from package advisory url Signed-off-by: Shenoy <shravanshenoy1998@hotmail.com> * Add functions to generate cve url and parse the html advisory generated from the cve url Signed-off-by: Shenoy <shravanshenoy1998@hotmail.com> * Add function to SnykDataSource class to get advisories from cve Signed-off-by: Shenoy <shravanshenoy1998@hotmail.com> * Add tests and test data for parse_cve_advisory_html function Signed-off-by: Shenoy <shravanshenoy1998@hotmail.com> * Add test for generate_purl function Signed-off-by: Shenoy <shravanshenoy1998@hotmail.com> * Remove to_dict in snyk test file where not required Signed-off-by: Shenoy <shravanshenoy1998@hotmail.com> * Format code using Black Signed-off-by: Shenoy <shravanshenoy1998@hotmail.com> * Sort imports correctly using isort Signed-off-by: Shenoy <shravanshenoy1998@hotmail.com> * Modify generate_purl function in snyk Signed-off-by: Shenoy <shravanshenoy1998@hotmail.com> * Add additional tests for golang and npm Signed-off-by: Shenoy <shravanshenoy1998@hotmail.com> * Add non-Github Go packages to test, modify generate_purl function, improve error handling Signed-off-by: Shenoy <shravanshenoy1998@hotmail.com> * Modify generate_purl to comply with purl spec Signed-off-by: Shenoy <shravanshenoy1998@hotmail.com> --------- Signed-off-by: Shenoy <shravanshenoy1998@hotmail.com> Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
… API serializers (#1423) * Add vulnerability_url in API Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com> * Add package_url in API Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com> * Fix tests Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com> * Address review comments Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com> * Address review comments Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com> * Fix tests Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com> --------- Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com> Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.0 to 42.0.4. - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](pyca/cryptography@42.0.0...42.0.4) --- updated-dependencies: - dependency-name: cryptography dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
* Prepare for release v34.0.0rc3 Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com> * Fix Changelog Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com> --------- Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com> Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com> Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com> Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
Signed-off-by: Yash Kodwani <202101418@daiict.ac.in>
@ykodwani01 You can read these two articles : |
|
New PR is raised at #1461 |
Solves issue #1433
Signed-off-by: Yash Kodwani yashkodwani2003@gmail.com