- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-21-2021 07:43 AM
Hi all,
I have been asked to create a new Application signature to block any access to /abc/*
But when adding the pattern /abc/* in context http-req-uri-path
I get an error: "pattern must be at least 7 bytes [/abc/*]"
How can I block any access to /abc/* ?
Regards,
Noam.
02-22-2021 05:07 AM
Hello
How about using the URL custom blocklist? You can create a custom URL list with URL "https://www.mysite.com/mng/login" and set up as blocked.
Best
Himani
02-21-2021 09:53 PM
Hello
In 8.1, 9.x series; the Pattern will not be accepted if it is less than 7. We need some more data like any other common characters in the string to match.
Here is the document that explained how the customer signatures are created: https://knowledgebase.paloaltonetworks.com/servlet/fileField?entityId=ka10g000000U0ruAAC&field=Attac...
Best
Himani
02-22-2021 02:52 AM
Hi @hisingh
Thank you for the answer and referring me to the PDF - it's helpful.
Well,
The dir I need to block is /mng/ like
https://www.mysite.com/mng/login
As you can see, the uri /mng/ is less than 7 bytes...
02-22-2021 05:07 AM
Hello
How about using the URL custom blocklist? You can create a custom URL list with URL "https://www.mysite.com/mng/login" and set up as blocked.
Best
Himani
02-22-2021 09:15 AM
Hi,
Thank you for your idea, it answers the requirement.
Regards,
Noam.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!