Okay, another new problem.
Seemingly at random, my reports from OMP stopped working. I copied the
following XML from openvasmd.log which *can* generate the reports properly from
the web GUI.
omp -Xi '<get_reports details="1" ignore_pagination="1" filt_id="0"
filter="min_qod=70 autofp=0 apply_overrides=1 notes=1 overrides=1
result_hosts_only=1 first=1 rows=100 sort-reverse=severity levels=hml" pos="1"
notes_details="1" overrides_details="1"
report_id="b7c7d80e-fbbd-46f9-9da1-5745907c2301" delta_report_id="0"
format_id="5057e5cc-b825-11e4-9d0e-28d24461215b"/>'
However, unlike when I run it from the GUI, I only get the following (notice
the filter is even not correct):
<get_reports_response status_text="OK" status="200">
<report id="b7c7d80e-fbbd-46f9-9da1-5745907c2301"
format_id="5057e5cc-b825-11e4-9d0e-28d24461215b" extension="xml" type="scan"
content_type="text/xml">
<owner>
<name>ggc</name>
</owner>
<name>2017-09-01T10:18:43-05:00</name>
<comment></comment>
<creation_time>2017-09-01T10:18:43-05:00</creation_time>
<modification_time>2017-09-01T14:27:15-05:00</modification_time>
<writable>0</writable>
<in_use>0</in_use>
<task id="af2eac8a-da24-419f-8625-b995aebba45e"></task>
<report_format id="5057e5cc-b825-11e4-9d0e-28d24461215b">
<name>Anonymous XML</name>
</report_format>
</report>
<filters id="">
<term>apply_overrides=0 min_qod=70 first=1 rows=30 sort=name</term>
<keywords>
<keyword>
<column>apply_overrides</column>
<relation>=</relation>
<value>0</value>
</keyword>
<keyword>
<column>min_qod</column>
<relation>=</relation>
<value>70</value>
</keyword>
<keyword>
<column>first</column>
<relation>=</relation>
<value>1</value>
</keyword>
<keyword>
<column>rows</column>
<relation>=</relation>
<value>30</value>
</keyword>
<keyword>
<column>sort</column>
<relation>=</relation>
<value>name</value>
</keyword>
</keywords>
</filters>
<sort>
<field>name
<order>ascending</order>
</field>
</sort>
<reports max="1000" start="1"></reports>
<report_count>3
<filtered>1</filtered>
<page>1</page>
</report_count>
</get_reports_response>
I have no idea what caused this change. Looking at openvasmd.log shows no
errors when running the report using omp.
Thanks in advance,
Trent
This email is confidential and intended solely for the use of the individual to
whom it is addressed. Any views or opinions presented are solely those of the
author, and do not necessarily represent those of Next Step Innovation. If you
are not the intended recipient, be advised that you have received this email in
error, and that any use, dissemination, forwarding, printing or copying of this
email is strictly prohibited. If you have received this email in error, please
contact the sender.
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss