Capture Gmail Username


ATTENTION Customers, All Partners and Employees: The Customer Support Portal (CSP) will be undergoing maintenance and unavailable on Saturday, November 7, 2020, from 11 am to 11 pm PST. Please read our blog for more information.

Not applicable

Capture Gmail Username


I am about to finish an evaluation with a customer.

He just shared with me a specfic requirement which would make him choose Palo Alto over competitors :

Gmail must be allowed, but it must be possible to capture the username used to login to gmail.

I have set up Outbound SSL Decryption, however i am struggling with Data Patterns :

Normal regex would be : /@gmail\.com$/i

However, Palo Alto seems to interpret Regex its own way so, according to the Admin Guide, the pattern should be : .*((|(|(@GMAIL.COM))

When I try to save this pattern, I am told "Pattern is invalid. Pattern must be at least 7 bytes".

The "@gmail" keyword seems to be too small, whereas "" just fits the requirements.

Could anyone give me a workaround ? Can I use another pattern ? Is there another way to get to the same results ?

I guess it must be possible to read the "HTTPS Put" traffic and find a string similar to : ...,,... and to create a DLP rule based on this pattern.

Any kind of help would be welcome.

Beforehand, thank you


Tags (1)
L3 Networker

Hi Jean-Manuel,

Maybe something like [Gg][Mm][Aa][Ii][Ll]\.[Cc][Oo][Mm]

I havent tested it, so you may need to play with it to really work.



Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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 Live Community as a whole!

The Live Community thanks you for your participation!