Hi,
please see Scan Ports on how to include all open TCP and UDP ports within your reports.
If you only want to get the open ports shown without doing vulnerability / product detection scans you can follow this steps:
-
Create a new “Empty, static and fast” scan configuration
-
Add the following three VTs to this scan config
Nmap (NASL wrapper) - OID: 1.3.6.1.4.1.25623.1.0.14259
Checks for open UDP ports - OID: 1.3.6.1.4.1.25623.1.0.103978
Checks for open TCP ports - OID: 1.3.6.1.4.1.25623.1.0.900239
-
Set the preference “Silent” of the two Open Ports VTs to “no”.
-
(Optional) If you want to add hostnames to your scan report the following additional VT for GVM < 10 from the Service detection Family is required:
-
Create a new target for the targets with the port list you want to use.
-
Create a new task and assign the created scan configuration as well as the target to this task
-
Run a new scan