This is admittedly ugly but if you are in a situation like me where you don't ha...
:catte: @cR0w@infosec.exchange
This is admittedly ugly but if you are in a situation like me where you don't have visibility beyond Splunk and want to see what VS Code extensions are in your environment, this is working well for me today:
index=wineventlog_security sourcetype=XmlWinEventLog EventCode=4688 code extensions
| stats count BY host, Process_Command_Line
| rex field=Process_Command_Line "\\\extensions\\\(?<extension>[^\\\\ \"]+)"
| stats values(extension) AS extensions BY host, user
| rename host AS "Host", user AS "User", extensions AS "VS Code Extensions"
Obviously you'll need to change the index, etc. to match your environment.
Edit: You should be able to take the regex and apply it to Sentinel, LogRhythm, or whatever SIEM you have access to.