Problem
You have a synthetic monitor that contains sensitive information (like passwords or usernames) in a URL or script.
Solution
Replace URLs in monitors
If you use synthetic monitors that check URLs and you've placed credentials or other sensitive information in URLs, you may want to change those credentials periodically. To do so, edit your synthetic script to edit or remove the information, and ensure you rotate the credentials that were previously placed in the URL. For detailed instructions on adding and editing monitors, see Add and edit monitors.
Rotate plaintext credentials in scripts
When creating scripted monitors, you’re able to write your own scripts for the actions the monitor will make.
If you've included any sensitive information in plaintext within the scripts, you should rotate your credentials:
Go to one.newrelic.com > Synthetic monitoring, then select the monitor you want to edit.
Select Settings > Script to edit your monitor script.
Rotate or edit any plaintext credentials. Wherever possible, replace plaintext with secure credentials.