Skip to content

Commit

Permalink
Setting only relevant cves for the extracted reachable-functions with…
Browse files Browse the repository at this point in the history
… risk factor of ReachableFunction as True - checkov
  • Loading branch information
ipeleg committed Nov 2, 2023
1 parent 8a5be6a commit 5e6df7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def create_file_by_package_map(self, filtered_entries: List[Tuple[Any, Any]]) ->

def create_reachable_cves_by_package_map(self, filtered_reachability_entries: List[Tuple[Any, Any]]) -> Dict[str, Set[str]]:
reachable_cves_by_packages_map: Dict[str, Set[str]] = defaultdict(set)
for code_file_path, file_data in filtered_reachability_entries:
for _, file_data in filtered_reachability_entries:
packages = file_data.packages
for package_name, package_data in packages.items():
for function_item in package_data.functions:
Expand Down

0 comments on commit 5e6df7b

Please sign in to comment.