Skip to content

Commit

Permalink
rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
renejal committed Nov 17, 2023
1 parent 0dff403 commit 83aefa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dojo/tools/jfrog_xray_on_demand_binary_scan/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def get_provider(vulnerabiity):
return ""


def get_etx(vulnerability):
def get_ext(vulnerability):
if "EXT" in vulnerability:
return vulnerability["EXT"]
return ""
Expand Down Expand Up @@ -179,7 +179,7 @@ def get_item(vulnerability, test):

extra_desc += get_provider(vulnerability)
component_name, mitigation, impact = get_component(vulnerability)
component_version = get_etx(vulnerability)
component_version = get_ext(vulnerability)

# The 'id' field is empty? (at least in my sample file)
if vulnerability_ids:
Expand Down

0 comments on commit 83aefa5

Please sign in to comment.