In this knowledge base article, you will find an explanation on how to implement data protection on your private locations. One of the safeguards implemented in Uptrends' private locations is preventing snapshots from being uploaded to the cloud. You can also disable page content, hide HTTP request and response headers and resolved IP addresses in check results.
Editing the Docker Compose file
First, if you have not already done so, install your checkpoint by following the steps explained in Install a Docker checkpoint .
- Make a backup of the extracted Docker Compose file. Please be aware that if you make changes to the provided compose file this is at your own risk. Contact Support if you are not sure.
- Open the docker-compose.yml file and remove the comment tag
#
before the data protection variable(s) in the Checkpoint service you want to enable. By deleting the tag, data protection will be set up for the selected environment list item.
Checkpoint:
container_name: Checkpoint
image: uptrends.azurecr.io/win2022/checkpoint
depends_on:
- TransactionProcessor
deploy:
restart_policy:
condition: always
volumes:
- .\Certificates:C:\Uptrends\Certificates:ro
logging:
driver: "json-file"
options:
max-size: 10m
max-file: "3"
environment:
- ServerId=
- Password=
- HasIpv6Support=false
# - AllowScreenshotsInResults=false
# - AllowPageContentInResults=false
# - AllowHttpHeadersInResults=false
# - AllowResolvedIpAddressesInResults=false
- Save your file.
- Restart the container manually by executing the command
docker-compose down
, and then executingdocker-compose up
in the command-line of the folder where the edited Compose file lives. In the Uptrends app, check the changed settings in the data protection settings section on the Checkpoint health tab.
Prevent (error) screenshots and filmstrips from uploading to the cloud
After the setting is active, the check details in Uptrends will display a text to inform you that screenshots are not collected due to your company’s data protection policy.
This holds true for all screenshots, including timeline screenshots (also called filmstrips) and the error screenshot for an HTTP(S) monitor.
To disable screenshots in results, remove the #
tag before - AllowScreenshotsInResults=false
in the list of Checkpoint environment variables. Save the file and manually restart the Docker container, as described in the last step of the editing instructions above, to reflect the changes in the data protection settings in the Uptrends app.
Disable page content
This setting will make sure no content is being shown in the page source and console log . Data URLs will always be displayed without data in the results.
To disable page content in results, remove the #
tag before - AllowPageContentInResults=false
in the list of Checkpoint environment variables. Save the file and manually restart the Docker container, as described in the last step of the editing instructions above, to reflect the changes in the data protection settings in the Uptrends app.
Hide HTTP request and response headers
After this setting is active, the check details waterfall chart will not show any HTTP request and response headers.
To hide HTTP request and response headers, remove the #
tag before - AllowHttpHeadersInResults=false
in the list of Checkpoint environment variables. Save the file and manually restart the Docker container, as described in the last step of the editing instructions above, to reflect the changes in the data protection settings in the Uptrends app.
Disable resolved IP addresses for request and response headers
This setting makes sure that the report headers in a check result do not show any resolved IP addresses. Please note this will not work if there is a literal IP address instead of a domain value in the URL field of your monitor(s).
To hide resolved IP addresses, remove the #
tag before - AllowResolvedIpAddressesInResults=false
in the list of Checkpoint environment variables. Save the file and manually restart the Docker container, as described in the last step of the editing instructions above, to reflect the changes in the data protection settings in the Uptrends app.
Disable resolved IP addresses in check details
This setting controls that anywhere an IP address has been resolved, it does not show at Resolved IP address.
To hide resolved IP addresses, remove the #
tag before - AllowResolvedIpAddressesInResults=false
in the list of Checkpoint environment variables. Save the file and manually restart the Docker container, as described in the last step of the editing instructions above, to reflect the changes in the data protection settings in the Uptrends app.
DNS monitors will be blocked from executing on checkpoint servers in your private location if this value is set to false.
Data protection settings status
The Checkpoint health tab in the Uptrends app shows the status of the data protection settings. A red cross means data will not be displayed, so data protection is enabled. Please note that this is a read-only display, the settings can only be adjusted in the Docker file.