0

我正在尝试使用带有过滤器选项的 omp cli 从 openvas 获取单个报告,如下所示:

--xml=<get_reports report_id="8b8750e2-ecd0-4234-86d5-09ba22136b81" format_id="c402cc3e-b531-11e1-9163-406186ea4fc5" filter="overrides=1,levels=hml,notes=1,min_qod=70,autofp=0"/>

但在报告中它没有生效。无论我提到和报告总是包含什么级别(hmlgd),我总是得到相同的报告

Information on overrides is included in the report.
Notes are included in the report.
This report might not show details of all issues that were found.
Issues with the threat level High are not shown.
Issues with the threat level Medium are not shown.
Issues with the threat level Low are not shown.
Issues with the threat level Log are not shown.
Issues with the threat level Debug are not shown.
Issues with the threat level False Positive are not shown.
Only results with a minimum QoD of 70 are shown.

我只是想获得一份只包含高、中、低漏洞的报告。

4

1 回答 1

2

过滤器必须以不带逗号的形式列出

filter="overrides=1 levels=hml notes=1 min_qod=70 autofp=0"
于 2019-05-16T06:03:43.853 回答