Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JafarAkhondali/Morefixes
/ functions
Functions
590 in github.com/JafarAkhondali/Morefixes
⨍
Functions
590
◇
Types & classes
75
↳
Endpoints
19
Method
apply
(self, candidate: Commit, _: AdvisoryRecord = None)
prospector/rules/rules.py:120
Method
apply
( self, candidate: Commit, _: AdvisoryRecord = None )
prospector/rules/rules.py:130
Method
apply
(self, candidate: Commit, advisory_record: AdvisoryRecord)
prospector/rules/rules.py:142
Method
apply
(self, candidate: Commit, advisory_record: AdvisoryRecord)
prospector/rules/rules.py:165
Method
apply
(self, candidate: Commit, advisory_record: AdvisoryRecord)
prospector/rules/rules.py:196
Method
apply
(self, candidate: Commit, advisory_record: AdvisoryRecord)
prospector/rules/rules.py:220
Method
apply
(self, candidate: Commit, _: AdvisoryRecord = None)
prospector/rules/rules.py:240
Method
apply
(self, candidate: Commit, advisory_record: AdvisoryRecord)
prospector/rules/rules.py:251
Method
apply
(self, candidate: Commit, advisory_record: AdvisoryRecord)
prospector/rules/rules.py:260
Method
apply
(self, candidate: Commit, advisory_record: AdvisoryRecord)
prospector/rules/rules.py:275
Method
apply
(self, candidate: Commit, _: AdvisoryRecord = None)
prospector/rules/rules.py:299
Method
apply
(self, candidate: Commit, _: AdvisoryRecord = None)
prospector/rules/rules.py:312
Method
apply
(self, candidate: Commit, advisory_record: AdvisoryRecord)
prospector/rules/rules.py:326
Method
apply
(self, candidate: Commit, advisory_record: AdvisoryRecord)
prospector/rules/rules.py:344
Method
apply
(self, candidate: Commit, advisory_record: AdvisoryRecord)
prospector/rules/rules.py:361
Method
apply
(self, candidate: Commit, _: AdvisoryRecord)
prospector/rules/rules.py:370
Method
apply
(self, candidate: Commit, advisory_record: AdvisoryRecord)
prospector/rules/rules.py:389
Method
as_dict
( self, no_hash: bool = True, no_rules: bool = True, no_diff: bool = True )
prospector/datamodel/commit.py:87
Function
callEnqueue
(cve)
prospector/service/static/job_configuration.js:2
Function
candidates
()
prospector/rules/rules_test.py:13
Function
change_mock_status_code_to_ok
(*args)
tests/test_collection/test_find_unavailable_urls.py:85
Function
clean_string
Remove all non-alphanumeric characters from a string
prospector/datamodel/nlp.py:25
Function
clone_repo_multiple
This is the parallelized version of clone_repo (works with a list of repositories).
prospector/git/git.py:38
Method
collect_unique
( self, name: Union[str, Tuple[str, ...]], value, ensure_uniqueness: bool = False )
prospector/stats/collection.py:178
Function
commit
()
prospector/git/raw_commit_test.py:19
Function
conn
Creates a temporary sqlite3 database
tests/conftest.py:29
Function
create
(threshold: float, permutations: int)
prospector/util/lsh.py:54
Function
create_clone_job
(repository)
prospector/service/api/routers/jobs.py:27
Method
create_commit
(self, commit_id: str)
prospector/git/git.py:272
Function
create_lsh_from_data
Create a MinHashLSH object from a list of strings
prospector/util/lsh.py:66
Function
create_update_feed_job
()
prospector/service/api/routers/jobs.py:81
Function
create_zip_files
()
Code/utils.py:127
Function
csv_to_json
(csv_file_path)
prospector/data_sources/nvd/filter_entries.py:64
Function
cve_json_file
()
tests/test_collection/test_cve.py:14
Function
cve_populated_conn
Connection to a database with a populated cve table
tests/test_collection/conftest.py:65
Function
cwe_file_to_data_path
(mocked_data_path)
tests/test_collection/test_cwe.py:14
Function
damerau_levenshtein_edit_distance
Compute the Damerau-Levenshtein distance between two given strings (s1 and s2) https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_
prospector/util/similarity.py:54
Method
default
(self, obj)
prospector/core/report.py:18
Function
delete_job
(job_id)
prospector/service/api/routers/endpoints.py:42
Method
deserialize_minhash
(self, binary_minhash)
prospector/datamodel/commit.py:84
Function
do_clone
()
prospector/git/git.py:34
Method
drop_all
(self)
prospector/stats/collection.py:61
Function
enqueue_job
(cve: str, repo: str, version: str)
prospector/service/api/routers/endpoints.py:124
Function
exists_in_github
(cpe)
Code/resources/cpe_to_github_search.py:17
Function
extract_commit_from_repo
(repo_url, cve_id, search_range=None)
Code/project_to_commit.py:12
Function
extract_cve_and_project_url
(advisory)
Code/resources/extract_github_repo_from_ghsd.py:59
Function
extract_filename_from_path
(text: str)
prospector/datamodel/nlp.py:108
Function
extract_from_webpage
(url: str, attr_name: str, attr_value: List[str])
prospector/util/http.py:64
Function
extract_location_header
(url)
Code/collect_projects.py:73
Function
extract_version_ranges_desc
(doc)
prospector/data_sources/nvd/versions_extraction.py:72
Function
extract_version_ranges_description
(doc)
prospector/data_sources/nvd/versions_extraction.py:100
Function
extract_versions
Extract all versions mentioned in the text
prospector/datamodel/nlp.py:61
Function
fetchone_query
Checks whether a row with the given value exists in the table. Returns boolean (True if a matching row exists, False otherwise).
Code/database.py:41
Function
filter_non_textual
filtering out the non-textual files which have number of added and deleted lines equal 0.
Code/utils.py:170
Method
find_commit
(self, commit_id)
prospector/git/git.py:389
Function
find_commits_references
(text: str)
prospector/datamodel/nlp.py:189
Function
find_unavailable_urls
returns the unavailable urls (repositories that are removed or made private)
Code/collect_projects.py:88
Method
get_commit_id_for_tag
(self, tag)
prospector/git/git.py:378
Function
get_commits
( repository_url: str, commit_id: Optional[str] = None, )
prospector/service/api/routers/preprocessed.py:21
Function
get_current_active_user
(current_user: User = Depends(get_current_user))
prospector/service/api/dependencies.py:77
Function
get_current_user
(token: str = Depends(oauth2_scheme))
prospector/service/api/dependencies.py:66
Function
get_cve_by_id
(id)
prospector/data_sources/nvd/filter_entries.py:39
Method
get_default_branch
Identifies the default branch of the remote repository for the local git repo
prospector/git/git.py:88
Function
get_from_local
(vuln_id: str, nvd_rest_endpoint: str = LOCAL_NVD_REST_ENDPOINT)
prospector/datamodel/advisory.py:305
Function
get_from_mitre
Get an advisory from the MITRE database
prospector/service/api/routers/nvd.py:25
Function
get_from_nvd
Get an advisory from the NVD dtabase
prospector/datamodel/advisory.py:275
Method
get_hunks
(self)
prospector/datamodel/commit.py:44
Function
get_job
(job_id)
prospector/service/api/routers/jobs.py:57
Method
get_message
(self)
prospector/rules/rules.py:27
Function
get_names
Extract names from text
prospector/datamodel/nlp.py:12
Method
get_parent_id
(self)
prospector/git/raw_commit.py:51
Method
get_random_commits
Return a list of n random commits from repo, which is assumed to be available as a standard-named subdirectory of base_dir
prospector/git/git.py:341
Method
get_relevance
(self)
prospector/datamodel/commit.py:74
Method
get_repo
(self, *args)
tests/test_collection/mock_objects.py:168
Function
get_report
(job_id)
prospector/service/api/routers/endpoints.py:57
Method
get_rule_as_tuple
(self)
prospector/rules/rules.py:37
Function
get_settings
(job_id, request: Request)
prospector/service/api/routers/endpoints.py:73
Function
get_status
()
prospector/service/main.py:52
Function
get_status
(job_id)
prospector/service/api/routers/endpoints.py:102
Function
get_tag_candidates
( prev_version: str, next_version: str, tag_version_map: dict, find_prev: bool, )
prospector/git/version_to_tag.py:148
Method
get_tag_for_version
get closest match from tags, given the version id
prospector/git/git.py:348
Function
get_text
(url)
Code/registry_to_github.py:14
Method
get_timestamp
(self)
prospector/git/raw_commit.py:48
Method
get_url
(self)
prospector/git/git.py:85
Function
get_vuln_data
(vuln_id)
prospector/service/api/routers/nvd.py:78
Function
has_direct_commit
(cve_id)
Code/resources/find_repo_url.py:97
Function
has_repo_project
(cve_id)
Code/resources/find_repo_url.py:103
Method
has_twin
(self)
prospector/datamodel/commit.py:62
Function
home
(request: Request)
prospector/service/api/routers/home.py:27
Function
import_cves
gathering CVE records by processing JSON files.
Code/cve_importer.py:210
Function
inner
(*args, **kwargs)
prospector/util/profile.py:7
Function
insert
(lsh: MinHashLSH, id: str, hash: LeanMinHash)
prospector/util/lsh.py:58
Function
jaccard_set_similarity
https://en.wikipedia.org/wiki/Jaccard_index
prospector/util/similarity.py:5
Function
levenshtein_edit_distance
Calculates the Levenshtein distance between a and b. https://en.wikipedia.org/wiki/Levenshtein_distance
prospector/util/similarity.py:31
Function
login
(form_data: OAuth2PasswordRequestForm = Depends())
prospector/service/api/routers/users.py:25
Function
main
(force, quiet)
prospector/service/api/routers/nvd_feed_update.py:152
Function
make_raw_commit
( repository: Git, id: str, parent_id: str = "", )
prospector/git/git.py:414
Function
maven_to_github
(pkg)
Code/registry_to_github.py:189
Function
measure_execution_time
( collection: StatisticCollection, name: Optional[Union[str, Tuple[str, ...]]] = None )
prospector/stats/execution.py:38
Function
mock_zipped_cve_json_url
(monkeypatch: pytest.MonkeyPatch, requests_mock: requests_mock.Mocker, tmp_dir: s
tests/test_collection/conftest.py:19
← previous
next →
301–400 of 590, ranked by callers