r/Trendmicro • • Jun 09 '26

Add Exceptions For Google SDK - Python

Morning, I need to add an exception for Google SDK & Python - I am not winning with my regex! Anyone with some advice?

For Google SDK Components Update:

/^"C:\\Users\\.*?\\AppData\\Local\\Temp\\tmp[a-zA-Z0-9]+\\python\\python\.exe"\s+"-S"\s+"C:\\Users\\.*?\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\(bin\\\.\.\\)?lib\\gcloud\.py".*/

For Google SDK Installation:

/^"C:\\Users\\.*?\\AppData\\Local\\Temp\\tmp[a-zA-Z0-9]+\\python\\python\.exe"\s+"C:\\Users\\.*?\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\bin\\bootstrapping\\install\.py".*/

Combined Pattern (Single Exception):

/^"C:\\Users\\.*?\\AppData\\Local\\Temp\\tmp[a-zA-Z0-9]+\\python\\python\.exe".*(gcloud\.py|install\.py).*/
2 Upvotes

2 comments sorted by

View all comments

Show parent comment

2

u/1RONcast Jun 10 '26

Insane! Thank you, this is specifically for VisionOne 😉