You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. To create a new empty rule, select **Create rule** > **Custom rules**.
35
+
3. Enter a descriptive name for the rule in **Rule name**.
36
+
4. Under **When incoming requests match**, use the **Field** drop-down list to filter by **Sequences** and select from:
36
37
- Current Operation
37
38
- Previous Operations
38
39
- Elapsed time
39
-
6. Under **Value**, select the edit icon to use Builder and build a sequence on the side panel.
40
-
7. Under **Select a hostname for this sequence**, choose all or a specific hostname from the dropdown list. Optionally, you can use the search bar to search for a specific hostname.
41
-
8. From the **Methods** dropdown list, choose all methods or a specific request method.
40
+
5. Under **Value**, select the edit icon to use Builder and build a sequence on the side panel.
41
+
6. Under **Select a hostname for this sequence**, choose all or a specific hostname from the dropdown list. Optionally, you can use the search bar to search for a specific hostname.
42
+
7. From the **Methods** dropdown list, choose all methods or a specific request method.
42
43
8. Select the checkbox for each endpoint in the order that you want them to appear in the sequence.
43
-
8. Set the time to complete.
44
-
9. Select **Save**.
45
-
10. Under **Then take action**, select the rule action in the **Choose action** dropdown. For example, selecting *Block* tells Cloudflare to refuse requests that match the conditions you specified.
46
-
11. (Optional) If you selected the *Block* action, you can configure a custom response.
47
-
12. Under **Place at**, select the order of when the rule will fire.
48
-
13. To save and deploy your rule, select **Deploy**. If you are not ready to deploy your rule, select **Save as Draft**.
44
+
9. Set the time to complete.
45
+
10. Select **Save**.
46
+
11. Under **Then take action**, select the rule action in the **Choose action** dropdown. For example, selecting *Block* tells Cloudflare to refuse requests that match the conditions you specified.
47
+
12. (Optional) If you selected the *Block* action, you can configure a custom response.
48
+
13. Under **Place at**, select the order of when the rule will fire.
49
+
14. To save and deploy your rule, select **Deploy**. If you are not ready to deploy your rule, select **Save as Draft**.
49
50
</Steps>
50
51
:::note
51
52
The fields in the custom rule are populated as a grouped sequence based on the values that you entered on Builder.
3. On **Session identifiers**, select **Configure session identifiers**.
31
+
4. Select **Manage identifiers**.
32
+
5. Choose the type of session identifier (cookie, HTTP header, or JWT claim).
32
33
:::note
33
34
The session identifier cookie must comply with RFC 6265. Otherwise, it will be rejected.
34
35
35
36
If you are using a JWT claim, choose the [Token Configuration](/api-shield/security/jwt-validation/api/#token-configurations) that will verify the JWT. Token Configurations are required to use JWT claims as session identifiers. Refer to [JWT Validation](/api-shield/security/jwt-validation/) for more information.
0 commit comments