Rate Limit with rotating hash

Hello All,

I have a page that is under attack and I need to rate-limit but the path has a rotating hash in it so I am not sure how to set up the rule to rate-limit this page. here is an example of my path and I have bolded the part that is dynamic rotation

/rest/sc_portal/V1/guest-carts/y1mAhwuOqBYZ7wU3tl8fPFrF3l6oDO6L/payment-information

any help would be amazing.

Thank you

You could do something like */rest/sc_portal/V1/guest-carts/*/payment-information/* as the pattern. Will probably want to test to make sure that does exactly what you’re looking for though.