> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tierity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Fastly

> View WAF rule violations and traffic security data from Fastly in Tierity's Security Workbench.

## Overview

Fastly is a CDN and edge cloud platform with an integrated Web Application Firewall (WAF). The Tierity integration pulls WAF event data and traffic security metrics from Fastly so teams can monitor edge-layer threats alongside other security signals.

## Prerequisites

* A Fastly account with WAF enabled
* Manage access (or higher) in Tierity

## Credentials required

| Field | Description |
| - | - |
| **API Token** | A Fastly personal API token with read access to WAF and service data |

## Setup

**1. Create a Fastly API token**

1. In Fastly, go to **Account → Personal API Tokens**.
2. Click **Create Token**.
3. Give it a name like "Tierity".
4. Set the scope to **Read-only access** for the services you want Tierity to monitor.
5. Set an expiration or leave as non-expiring.
6. Copy the generated token.

> [!TIP]
>
> Use a dedicated token for Tierity rather than your personal account token, so you can rotate it independently.

**2. Configure in Tierity**

1. Go to **Config → Integrations → Fastly**.
2. Paste your **API Token**.
3. Click **Save & Test** — Tierity verifies access by listing your Fastly services.
4. Select the services to monitor (or select all).

## What gets synced

| Data | Description |
| - | - |
| **WAF events** | Rule violations flagged or blocked by the Fastly WAF |
| **Attack categories** | SQL injection, XSS, path traversal, RFI, and other OWASP categories |
| **Traffic anomalies** | Request spikes, unusual geographic distribution |
| **Block vs. log** | Whether each event resulted in a block or was logged only |
| **Client IP** | Source IP for each WAF event |
| **Rule ID** | The specific WAF rule that triggered |

## Workbench card

The Fastly workbench card shows:

* WAF event count over the last 24 hours
* Top attack categories
* Blocked vs. logged event split

## Viewing in Tierity

The full Fastly view shows a timeline of WAF events with filtering by service, attack category, action (block/log), and time range.

## Disconnecting

1. Go to **Config → Integrations → Fastly**.
2. Click **Disconnect**.
3. Confirm.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.