Commit 938e0abc authored by Michał Zając's avatar Michał Zając

Rename findings variable to vulnerabilities

parent 84aabb40
...@@ -13,8 +13,8 @@ module Security ...@@ -13,8 +13,8 @@ module Security
end end
def execute def execute
findings = ::Security::PipelineVulnerabilitiesFinder.new(pipeline: @pipeline, params: { report_type: @report_types }).execute vulnerabilities = ::Security::PipelineVulnerabilitiesFinder.new(pipeline: @pipeline, params: { report_type: @report_types }).execute
findings.findings.group_by(&:report_type).compact.transform_values(&:size).reverse_merge(no_counts) vulnerabilities.findings.group_by(&:report_type).compact.transform_values(&:size).reverse_merge(no_counts)
end end
private private
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment