The modify headers option allows the platform to scan environments that need extra information to access, beyond authentication details. This option creates a header request for your secure web environment.
On this page:
What are headers?
HTTP headers are used to pass additional information between the client and the server through the request and response header. The request header is a header and value pair in the platform. The response header is a header and value pair in the code of your own webpage that matches the request header. The matching request and response header and value pairs allow the platform to scan pages with blockers such as captchas or pop-up windows.
The table below describes a few examples of when you may need to modify headers to scan a page.
|Use case||Solution||Sample header||Sample value|
|Your automated scans are failing because passing a Captcha test is required to access your website.||Add a header to your website that allows the scanner to bypass the captcha requirement.||ignoreCaptcha||true|
You want to crawl your website and the scan fails because your website has security mechanisms that prevent unauthorized crawling.
Add a header to your website that tells the mechanism that the scanner is safe and allowed to crawl.
Your site has pop-ups that must be closed before you can access the content on the page.
|Add a header to your website to never display pop-ups when it receives a certain string in the header of the request.||Closepopups||true|
If you’re not sure whether you need to use the Modify headers option, contact your IT department.
Add a header and value pair
To add a header and value pair to an automated scan:
- Go to Run automated scan.
- Select Setup advanced scan.
- Fill out the required fields.
- Select the Modify headers option.
- Enter a header and value.
- (Optional) To add additional pairs of headers and values, select Add pair.
- Select Run scan.
You can save header and value pairs by saving scan options.
Delete a header and value pair
To remove a value pair:
- Deselect the Modify header option.
To remove a value pair when you have multiple pairs:
- Select Delete.