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

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events