fastly-ngwaf

Installation
SKILL.md

Trigger and scope

This skill is designed to be triggered when performing an internal audit of Fastly Next-Gen WAF (NGWAF) workspaces. It is particularly useful for security teams, DevOps engineers, or anyone responsible for managing NGWAF configurations who wants to ensure that critical templated protection rules are properly configured and enabled. The fastly-cli skill should be used to configure rules while this skill is used to identify any gaps in rule configuration or enablement, especially for login protection, credit card validation, and gift card validation rules.

Fastly Next-Gen WAF Internal Audit

This skill audits Fastly NGWAF workspaces to understand the status of critical templated rules related to:

  1. Login Protection: LOGINDISCOVERY, LOGINATTEMPT, LOGINSUCCESS, and LOGINFAILURE.
  2. Credit Card Validation: CC-VAL-ATTEMPT, CC-VAL-FAILURE, and CC-VAL-SUCCESS.
  3. Gift Card Validation: GC-VAL-ATTEMPT, GC-VAL-FAILURE, and GC-VAL-SUCCESS.

Workflow

  1. Retrieve Workspaces: Fetches all NGWAF workspaces associated with the account.
  2. Inspect Rules: For each workspace, it retrieves the list of configured rules.
  3. Validate Critical Rules: Specifically checks for the presence and enablement of the templated rules listed above.
  4. Recommend Actions: If any of these rules are missing or disabled, it recommends configuring and enabling them to strengthen security posture against Account Takeover (ATO) and carding attacks.

Usage

Assume that the user has correctly configured their FASTLY_API_KEY environment variable. Run the assessment script provided in the skill:

# Execute the assessment script
./scripts/assess_ngwaf_rules.sh

API References

Related skills

More from fastly/fastly-agent-toolkit

Installs
5
GitHub Stars
21
First Seen
Apr 17, 2026
Security Audits