CtrlK
BlogDocsLog inGet started
Tessl Logo

fastly-ngwaf

Performs an internal audit of Fastly Next-Gen WAF (NGWAF) workspaces to audit that critical templated protection rules are configured and enabled. Use when auditing NGWAF workspace security posture, checking for missing or disabled login protection rules (LOGINDISCOVERY, LOGINATTEMPT, LOGINSUCCESS, LOGINFAILURE), auditing credit card validation rules (CC-VAL-ATTEMPT, CC-VAL-FAILURE, CC-VAL-SUCCESS), auditing gift card protection rules (GC-VAL-ATTEMPT, GC-VAL-FAILURE, GC-VAL-SUCCESS), or identifying potential login endpoints not covered by NGWAF rules.

73

2.82x
Quality

60%

Does it follow best practices?

Impact

96%

2.82x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./skills/fastly-ngwaf/SKILL.md
SKILL.md
Quality
Evals
Security

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

  • List Workspaces
  • List Workspace Rules
Repository
fastly/fastly-agent-toolkit
Last updated
Created

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.