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 with custom specifications or blockers such as captchas or pop-up windows.
Learn more about HTTP headers.
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 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. |
Allowcrawl | true |
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 |
Your site's elements vary based on the end user's browser and you want to scan your website as a Chrome user. |
Use a user-agent string to run a scan on the Chrome version of your website. | User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 |
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 scan:
- Go to Websites/apps.
- Select the website you'd like to scan.
- Choose Scans.
- Select Run scan.
- Choose the Advanced tab.
- 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.
Comments
0 comments
Article is closed for comments.