Asset Verification
Before Detectify can scan your assets, you must verify that you own them or are allowed to test them.
Why Verification Is Required
Detectify performs automated security attacks, so its tests will most likely reveal sensitive information. Verification makes sure that information doesn’t end up in the wrong hands: you confirm that you are allowed to run security tests on the asset.
On the Surface Monitoring page, click Verify asset on the asset to start.
Verification Methods
You can verify ownership in two ways: by uploading a TXT file to the root of your asset, or by adding a DNS TXT record. The verification dialog starts with the file method.
TXT File
- Click Verify asset on the asset and choose Upload TXT file.
- Click Download verification file. The file is named after your verification code,
<code>.txt. - Place the file in the root of your asset, so that Detectify can fetch it at
<asset>/<code>.txt. - Click Verify asset.
DNS TXT Record
Verify without changing your website: add a TXT record to your domain’s DNS.
- Click Verify asset on the asset and choose Add DNS TXT record.
- In your DNS provider’s settings, add a new DNS record of type TXT.
- Set the record name to the Record name shown in Detectify. If your provider expects names relative to the zone, use
@or leave it blank for an apex domain, or enter the subdomain (for exampleblog). - Copy the value from Detectify into the TXT value. The value includes
detectify-verification=. - Click Verify asset.
It can take up to 48 hours for DNS changes to take effect.
If Detectify detects that you already have ownership verification in place for the asset, the dialog asks you to Confirm ownership instead.
After your asset is verified, you can remove the DNS record or the file.
Verification for IP Addresses
A single IP address is verified with the TXT file method. You can’t verify an IP range yourself: Detectify staff verify it. To get an IP range verified, contact your CSM or support@detectify.com.
Assisted Verification
If neither method works for you, you can request assisted verification by contacting the Detectify Customer Success team or support@detectify.com.
Troubleshooting
The TXT file isn’t found. Check that the file is in the root of your asset, isn’t protected by access rights, and opens for you at <asset>/<code>.txt. Also make sure the file contains no additional hidden characters.
The DNS record isn’t found. While verifying, keep the record’s TTL as low as possible. If you add a record with a faulty value, you have to wait for the TTL to expire before you try again.
“No DNS response” error. Check whether your website is blocking Detectify. The site must be reachable by Detectify before you verify it. Check the value of the TXT record and add it again, and allow Detectify to access your site.
You changed name servers. Changing to other name servers, for example Cloudflare’s, doesn’t matter, but make sure the domain points to the right DNS provider.
If you still have problems, email your details and a description of the issue to support@detectify.com.
Next Steps
Once your assets are verified, you can connect cloud providers to automatically sync new assets, or go directly to running your first scan.