Asset Authorization
An asset must be successfully authorized to perform vulnerability scanning. The authorization process verifies asset ownership.
- Navigate to Scans Policy and click New Scan. Enter the IP address/FQDN and the Port of the asset.
The maximum number of assets you can scan is displayed on the GUI as per your subscription. See Licensing. - A unique asset token, UUID, is generated for each asset and is displayed on the page. Copy the UUID and configure it in any of the following methods.
- Create a <UUID>.html file in the webroot of the asset's web server with no content. For example, a UUID ded8024f-54c1-4bd2-8d82-9ad30bf3e35e is generated for your asset, create an empty file named ded8024f-54c1-4bd2-8d82-9ad30bf3e35e.html.
- Create a forti-uuid.html file in the webroot of the asset's web server with <forti-uuid hidden><UUID></forti-uuid> as the content. For example, a UUID ded8024f-54c1-4bd2-8d82-9ad30bf3e35e is generated for your asset, create a file named forti-uuid.html with <forti-uuid hidden>ded8024f-54c1-4bd2-8d82-9ad30b</forti-uuid> as content.
#cat forti-uuid.html
<forti-uuid hidden>ded8024f-54c1-4bd2-8d82-9ad30bf3e35e</forti-uuid>
- Store the UUID as a custom attribute/create a DNS Text record with the data, forti-uuid=<UUID> in the domain management page.
Add the DNS text record as per the configured asset URL. Consider the following examples.- If the configured asset is https://example.com then add the DNS text record in the root domain, example.com.
- If the configured asset is https://web.example.com then add the DNS text record in the sub-domain, web.example.com. Authorization fails if the DNS text record is added in the root domain, example.com.
- Click on the Actions icon - and select Authorize. The status of the authorization process is displayed.
Note: The licensing mechanism does not allow you to modify or delete an asset after it is authorized.
Any variation in the FQDN, IP address, or port is considered as a separate asset. The following are some examples of such variations that are treated as separate assets.
- http://example.com
- http://fortinet.example.com
- http://example.com:9020
- http://10.34.222.202:8080