netscan : assets
 
assets
Use this command to define assets (network devices and networks) to run network vulnerability scans on.
Syntax
config netscan assets
edit <asset_id_int>
set addr-type {ip | range}
set auth-unix (enable | disable}
set auth-windows (enable | disable}
set mode {discovery | scan}
set name <string>
set scheduled {enable | disable}
set start-ip <address_ipv4>
set end-ip <address_ipv4>
set unix-password <pass_str>
set unix-username <id_str>
set win-password <pass_str>
set win-username <id_str>
end
Variables
Description
Default
<asset_id_int>
Enter the unique ID number for this asset.
 
addr-type {ip | range}
Select ip to scan a single IP address.
Select range to scan a range of IP addresses.
Note: You cannot specify authentication parameters for an address range.
ip
auth-unix (enable | disable}
Enable to allow the FortiGate unit to authenticate with a unix host during the vulnerability scan. If you enable this option you must enter a unix-username and a unix-password.
disable
auth-windows (enable | disable}
Enable to allow the FortiGate unit to authenticate with a Windows host during the vulnerability scan. If you enable this option you must enter a win-username and a win-password.
disable
mode {discovery | scan}
Select discovery to find assets with the specified IP address or address range.
scan
name <string>
Enter an name of the asset.
 
scheduled {enable | disable}
Enable or disable including this asset in scheduled scans.
enable
start-ip <address_ipv4>
Enter the IP address of the asset to scan. If addr-type is set to range enter the first IP address in the IP address range to scan.
0.0.0.0
end-ip <address_ipv4>
If addr-type is set to range enter the last IP address in the IP address range to scan.
0.0.0.0
unix-password <pass_str>
Enter the password the FortiAnalyzer uses to authenticate with the UNIX host.
This command appears only when auth is set to unix.
 
unix-username <id_str>
Enter the username the FortiAnalyzer uses to authenticate with the UNIX host.
This command appears only when auth is set to unix.
 
win-password <pass_str>
Enter the password the FortiAnalyzer uses to authenticate with the Windows host.
 
win-username <id_str>
Enter the username the FortiAnalyzer uses to authenticate with the Windows host.