demiafk
(Damian Cabrera)
1
Hi team,
Im trying to export result for a report but I cant override the limit. I try a lot of fixes but Im unable to export more than 1000 results.
My current query is:
python3 gvm-cli --timeout 600 --gmp-username admin --gmp-password XXXX socket --socketpath /var/run/gvm/gvmd.sock -X ‘<get_reports report_id=“54ea9622-c8d0-4d0f-b52d-a6d364b48d0d” format_id=“c1645568-627a-11e3-a660-406186ea4fc5” details=“True” filter=“min_qod=70 levels=hmlg apply_overrides=1 sort-reverse=severity ignore_pagination=1” />’
I was try with rows=-1, max=20000 and a lot of arguments but I can’t.
On the GSA have 15k results.
Have any suggest?
BR.
demiafk
(Damian Cabrera)
2
No one have idea how to fix it?
bricks
(Björn Ricks)
3
1 Like
demiafk
(Damian Cabrera)
4
Hi Brick, thanks for your reply.
I know that is a common question, but I’m trying to export in CSV format. I read the API documentation looking for result limit and I don’t found it.
On your example is “fixed” using a XML format. I don’t know if is possible override the limit using CSV format.
I’m using get_reports, and ignore_pagination as is mentioned. If is a limitation for CSV export I understand it, but I don’t found a solid answer.
BR.