Skip to content

Fix API - #1513

Closed
TG1999 wants to merge 23 commits into
aboutcode-org:mainfrom
TG1999:fix-api
Closed

Fix API#1513
TG1999 wants to merge 23 commits into
aboutcode-org:mainfrom
TG1999:fix-api

Conversation

@TG1999

@TG1999 TG1999 commented Jul 19, 2024

Copy link
Copy Markdown
Contributor

No description provided.

TG1999 and others added 23 commits July 19, 2024 12:05
Reference: aboutcode-org#1385

Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
* Fix issue 1387

Reference: aboutcode-org#1387

Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>

* Add tests

Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>

---------

Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
* Prepare for release v34.0.0rc2

Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>

---------

Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Shenoy <shravanshenoy1998@hotmail.com>
* style: modified snyk datasource file to follow pep 8

Signed-off-by: Michael Ehab <michaelehab16@gmail.com>

* style: modified osv datasource file to follow pep 8

Signed-off-by: Michael Ehab <michaelehab16@gmail.com>

* style: modified oss datasource file to follow pep 8

Signed-off-by: Michael Ehab <michaelehab16@gmail.com>

* style: modified vulnerablecode datasource file to follow pep 8

Signed-off-by: Michael Ehab <michaelehab16@gmail.com>

* style: modified gitlab datasource file to follow pep 8

Signed-off-by: Michael Ehab <michaelehab16@gmail.com>

* style: modified gitlab datasource file to follow pep 8

Signed-off-by: Michael Ehab <michaelehab16@gmail.com>

* style: modified deps.py file to follow pep 8

Signed-off-by: Michael Ehab <michaelehab16@gmail.com>

* Fixed some typos

Signed-off-by: Michael Ehab <michaelehab16@gmail.com>

* Format code with Black and isort

To ensure consistent code formatting, I used Black and isort to format the changed files.

Signed-off-by: Michael Ehab <michaelehab16@gmail.com>

* Fix more typos in vulntotal tool

Fixed more typos and formated the files

Signed-off-by: Michael Ehab <michaelehab16@gmail.com>

* Use a consistent format for the docstring and maintain an imperative tone

Changed the doctrings to have a consistent format and used Black and isort to format the changed files.

Signed-off-by: Michael Ehab <michaelehab16@gmail.com>

* Handle TypeError and IndexError raised by get_item

Signed-off-by: Keshav Priyadarshi <git@keshav.space>

* Revert incorrect refactoring

Signed-off-by: Keshav Priyadarshi <git@keshav.space>

---------

Signed-off-by: Michael Ehab <michaelehab16@gmail.com>
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
Co-authored-by: Keshav Priyadarshi <git@keshav.space>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
* Fix Encoding Type in Fireeye Importer

Signed-off-by: Harsh Mishra <hmisraji07@gmail.com>

* Add Test to Fireeye Importer

This test checks for UTF-8-SIG encoding

Signed-off-by: Harsh Mishra <hmisraji07@gmail.com>

* Reformat test_fireeye.py

Signed-off-by: Harsh Mishra <hmisraji07@gmail.com>

---------

Signed-off-by: Harsh Mishra <hmisraji07@gmail.com>
Co-authored-by: Tushar Goel <34160672+TG1999@users.noreply.github.com>
* Remove duplicated changelogs

Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>

* Fix migrations

Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>

* Fix migrations

Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>

---------

Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.1 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](pallets/jinja@3.1.1...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.37 to 3.1.41.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases)
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES)
- [Commits](gitpython-developers/GitPython@3.1.37...3.1.41)

---
updated-dependencies:
- dependency-name: gitpython
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.6 to 42.0.0.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@41.0.6...42.0.0)

---
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>
…rg#799)

Drop cvss_v2
Add ruby importer_name and Rebase
Resolve merge conflicts
Add advisory_url to ruby importer
Add a notice and the spdx_license_expression
Resolve merge conflict
Add a docstring to get_affected_packages
Add a unite test for get_affected_packages function
Remove unused variables
Fix sorted affected_package_merge
Add ruby importer and improver
Fix style test
Fix test
Rewrite affected_packages
Ruby initial config
Reference: aboutcode-org#796

Clean imported data after import process


Fix sorted affected_package_merge
Refactor Ruby importer and improver
Add ruby importer and improver
Fix style test
Fix test
Rewrite affected_packages
Ruby initial config
Reference: aboutcode-org#796

Signed-off-by: ziadhany <ziadhany2016@gmail.com>
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>
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>
* 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>
… API serializers (aboutcode-org#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>
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>
* 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: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants