Hi,
How I will able to run a scan for the entire subnet, I am trying the below format but it is giving an error
gvm-cli -c gmp.conf socket --socketpath /run/gvmd.sock --xml="<create_target>Seceon_scan_VA_Report_OME1234_192.168.19.13/32_1570791129192.168.19.1/32</create_target>"| xmlstarlet sel -t -v /create_target_response/@id
-:1.1: Start tag expected, ‘<’ not found
(‘Error in response. Error in host specification’, <Element create_target_respon
As you know with a /30 or /32 you can instead add singe hosts or a hostlist, as written above there is a limit scanning more then /20. Please read the related posts here.
Please check our fine documentation for the different Notation of targets.