> For clean Markdown of this page, append .md to its URL. For the complete documentation index, see https://www.superagent.sh/llms.txt.


Add Cloudflare-proxied websites and monitor their scripts with Script Guard.

# DNS


**DNS** is where you manage websites protected by Script Guard. Connect your
existing Cloudflare account, select the websites you want to monitor, and turn
on monitoring for each site. You do not need to change DNS providers or add
JavaScript to your website.

## Available products

| Product | What it does for your website |
| --- | --- |
| [Script Guard](https://www.superagent.sh/docs/products/script-guard) | Captures the scripts your site loads, keeps previous versions, and checks new versions for suspicious code. |

## Add a website

An organization owner can add sites and change their settings. Other members
can view the sites, archived versions, and security reports.

1. Open [Integrations](https://www.superagent.sh/app/integrations) and connect **Cloudflare** using OAuth
   or a user API token. The connection needs **Zone:Read**, **DNS:Read**, and
   **Zone Transform Rules:Edit** permissions for the selected zones.
2. Open [DNS](https://www.superagent.sh/app/dns) and select **Add site**.
3. Choose a Cloudflare zone and select one or more websites already proxied
   through Cloudflare.
4. Open a site and turn on **Monitor third-party scripts** in its **Script guard**
   tab. Adding a site alone does not start monitoring.

See the [Script Guard setup guide](https://www.superagent.sh/docs/products/script-guard#connect-cloudflare)
for connection options and required access.

## Review scripts and alerts

Each site's **Scripts** list shows captured script URLs and their latest
assessment status. Select a script to open its report, choose earlier versions,
or copy and download a report as Markdown. Captures run hourly and preserve
changed code for investigation.

Add email recipients in the site's **Settings**, or configure the
`script_guard.suspicious_script` event in [Webhooks](https://www.superagent.sh/docs/webhooks#script-guard-alerts).
Monitoring reports suspicious behavior; it does not block scripts. Captures
sample public page visits and can miss authenticated or interaction-dependent
scripts. See [Script Guard](https://www.superagent.sh/docs/products/script-guard) for coverage, status
tags, credits, archive limits, and deletion behavior.

## DNS sites and application inventory

DNS sites configure script monitoring for a hostname.
[Applications](https://www.superagent.sh/docs/concepts/applications#import-from-cloudflare) can also
import hosts from the same Cloudflare connection for application Red Teaming.
These are separate controls: importing an application target does not enable
Script Guard, and adding a DNS site does not start application Red Teaming.

---
Source: https://www.superagent.sh/docs/concepts/dns
Index: https://www.superagent.sh/llms.txt
