File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 "https://api.github.com/graphql" , # Requires auth
3535 "https://anongit.gentoo.org/git/data/glsa.git" , # Git only link
3636 "https://www.softwaretestinghelp.com/how-to-write-good-bug-report/" , # Cloudflare protection
37+ "https://www.openssl.org/news/vulnerabilities.xml" , # OpenSSL legacy advisory URL, not longer available
3738]
3839
3940# Add any Sphinx extension module names here, as strings. They can be
Original file line number Diff line number Diff line change 1111from typing import Iterable
1212
1313from dotenv import load_dotenv
14+ from fetchcode .package_versions import github_response
1415from packageurl import PackageURL
1516
16- from vulnerabilities import utils
1717from vulntotal .validator import DataSource
1818from vulntotal .validator import InvalidCVEError
1919from vulntotal .validator import VendorData
@@ -35,7 +35,7 @@ def fetch_github(self, graphql_query):
3535 GH_TOKEN="your-github-token"
3636 """
3737 load_dotenv ()
38- return utils . fetch_github_graphql_query (graphql_query )
38+ return github_response (graphql_query )
3939
4040 def datasource_advisory (self , purl ) -> Iterable [VendorData ]:
4141 end_cursor = ""
You can’t perform that action at this time.
0 commit comments