Commit accb1846 authored by Victor Zagorodny's avatar Victor Zagorodny

Apply suggestion to ee/lib/api/helpers/vulnerability_findings_helpers.rb

parent 52eb84bb
...@@ -13,7 +13,7 @@ module API ...@@ -13,7 +13,7 @@ module API
default: 'dismissed', values: %w[all dismissed] default: 'dismissed', values: %w[all dismissed]
optional :severity, optional :severity,
type: Array[String], type: Array[String],
desc: 'Returns issues belonging to specified severity level: '\ desc: 'Returns vulnerabilities belonging to specified severity level: '\
'`undefined`, `info`, `unknown`, `low`, `medium`, `high`, or `critical`. Defaults to all', '`undefined`, `info`, `unknown`, `low`, `medium`, `high`, or `critical`. Defaults to all',
values: ::Vulnerabilities::Occurrence.severities.keys, values: ::Vulnerabilities::Occurrence.severities.keys,
default: ::Vulnerabilities::Occurrence.severities.keys default: ::Vulnerabilities::Occurrence.severities.keys
......
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