Vercel WAF Management
Learn how to use the Vercel SDK through real-life examples.
Add custom rules
In this example, you create a new custom rule to protect your application against SQL injection threats.
run.ts
Modify existing rules
In this example, you update an existing custom rule’s configuration. This is useful When you need to programmatically adjust conditions, actions, or status of an existing rule.
run.ts
Delete custom rules
In this example, you delete an existing custom rule.
run.ts