Capture Gmail Username

Showing results for 
Show  only  | Search instead for 
Did you mean: 

Capture Gmail Username

Not applicable


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



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.



  • 1 replies
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!