我正在尝试使用带有过滤器选项的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.
我只是想获得一个只包含高,中和低漏洞的报告。
答案 0 :(得分:1)
列出的过滤器必须不含逗号
filter="overrides=1 levels=hml notes=1 min_qod=70 autofp=0"