Rules Superblocks already applies
Every Cloud-Prem WAF includes these rules, so you don’t need to add your own versions of them:How your rules are evaluated
AWS WAF evaluates rules in priority order, lowest first. Rules fall into three priority bands:
The Superblocks critical rules always run before yours, so your rule groups can’t block Superblocks upgrades, support access, or JWT validation.
Add rule groups
Your rule groups are attached to the regional and global WAFs. AWS only lets a web ACL use rule groups with the same scope, so create each rule group in both scopes:- Create your rule groups in AWS WAF, in both scopes and regions. See Managing your own rule groups in the AWS documentation.
- Send the rule group ARNs to your Superblocks deployment team, in the order you want them evaluated.
- Superblocks attaches them at the next deployment.
Update your rules
To add, change, or remove rules, edit the rules in the rule groups you’ve already given Superblocks. Because your rule groups are attached by ARN, your changes take effect right away, without a Superblocks deployment or a request to your deployment team.- Update both scopes. Make the same change to the Regional and the CloudFront copies of the rule group.
- Don’t create your own web ACL. AWS allows only one web ACL per resource, so associating your own web ACL with Cloud-Prem resources replaces the Superblocks web ACL and removes the Superblocks IP allowlist, rate limit, and AWS Common Rule Set.
- Don’t edit the Superblocks web ACLs directly. Superblocks manages them, and changes made outside a deployment can be overwritten.
Change or remove rule groups
To add a new rule group, remove one, or change their order, send the updated list of ARNs to your deployment team. Changes take effect at the next deployment.Common use cases
Most customers use rule groups to restrict who can reach their instance. The examples below are rules for the AWS WAF console’s rule JSON editor. Replace the IP set ARNs with your own, and create the IP sets in the same scope and region as the rule group.Allow only known IP addresses
Block every request that doesn’t come from an IP address you trust. Write this as a Block rule for traffic outside your IP set, not an Allow rule for traffic inside it. An Allow rule would skip the Superblocks rate limit and AWS Common Rule Set.- Corporate network egress IPs for offices and other locations where builders and app users work.
- VPN egress IPs for remote employees and contractors.
- Self-hosted data plane egress IPs, if you run data planes outside the Cloud-Prem account.
- CI/CD and automation IPs for pipelines and scripts that call the Superblocks APIs, the MCP server, or the CLI.
- Identity provider IPs for SCIM provisioning. See Allow SCIM requests from your identity provider.
Allow SCIM requests from your identity provider
If you use SCIM, your identity provider sends provisioning requests tohttps://{tenant}.superblocks.com/scim/v2 from its own servers, not from your network. An IP allowlist blocks them unless you allow your identity provider’s IP ranges.
AWS WAF can’t match requests by source domain, so allow your identity provider by IP range instead, and only for the SCIM path:
Put those ranges in their own IP set and add a SCIM exception to your IP allowlist rule. This version blocks a request unless it comes from your allowed IPs, or it’s a SCIM request from your identity provider:

