Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Michael_Chin
Explorer

using Regular Expressions the in URL Filter Rules

We wish to do this URL filtering:-

https://data.abc.com/services/v1/data/identities/124546/images/7890123
- this is allowed

The above url should be allowed on port 443, not on port 80 below

block:-
http://data.abc.com/services/v1/data/identities/124546/images/7890123

where the digits in {identityId} and {imageId} are varible and varible in the number of digits:-
//data.abc.com/services/v1/data//databroker/identities/{identityId}/images/{imageId}

so using Regular Expressions the in URL Filter Rules would it become:-

allow:-
https://data.abc.com/services/v1/data/identities/*/images

block:-
http://data.abc.com/services/v1/data/identities/*/images

are the above 2 Regular Expressions URL filters correct ?

 

 

0 Kudos
1 Reply
PhoneBoy
Admin
Admin

Those regular expressions won't work.
To filter on a specific HTTPS URL, you will need HTTPS Inspection enabled.
If you want to block the specific HTTP URL, the correct regular expression is. http://data.abc.com/services/v1/data/identities/[0-9]+/images
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events