I need to run just the scanner without gvm and the documentation seems very scattered and incomplete. I’m using this command:
sudo runuser -u gvm -- gvm-cli --gmp-username admin --gmp-password admin --protocol OSP --timeout 120 socket --socketpath /run/ospd/ospd-openvas.sock /var/tmp/scanconfig.xml
Where scanconfig.xml contains:
<start_scan scan_id='97079ee9-8917-49da-aa4f-4ef95f757ac2' parallel='20'>
<targets>
<target>
<hosts>localhost</hosts>
<ports>T:1-65535,U1-65535</ports>
<alive_test>2</alive_test>
<credentials>
</credentials>
<exclude_hosts/>
</target>
</targets>
<vt_selection>
<vt_single id='1.3.6.1.4.1.25623.1.0.14259'/>
<vt_single id='1.3.6.1.4.1.25623.1.0.10330'/>
<vt_single id='1.3.6.1.4.1.25623.1.0.108198'/>
</vt_selection>
<scanner_params>
<test_empty_vhost>0</test_empty_vhost>
<expand_vhosts>0</expand_vhosts>
<unscanned_closed>0</unscanned_closed>
</scanner_params>
</start_scan>
How can I expand this to run all the same tests as the default full and fast scan? Is there better documentation somewhere that I’m missing?