Gvm-script config limit

Hi,

I am using “gmp.get_configs()” to get scan configs. But it seems like the result is limited to 10 configs. How can I get all configs without pagination?

Thanks

you need to set the filter parameter.
gmp.get_configs(filter="rows=42")
or
gmp.get_configs(filter="rows=-1") (for all results)

Maybe you need to set the timeout up for this.

3 Likes