XQL question command line with " to XQL query

cancel
Showing results for 
Search instead for 
Did you mean: 
Palo Alto Networks Approved
Palo Alto Networks Approved
Community Expert Verified
Community Expert Verified

XQL question command line with " to XQL query

L1 Bithead

Hello dear community, 

 

is there a way to put the whole command line into the XQL query? As you can see the doublequotes are already set by the command line itself. 

In SQL I know to do it whith extra double quotes ""XYZ"". But how does that work with XQL?

 

RFeyertag_0-1655932695568.png


BR

 

Rob

 

3 REPLIES 3

L4 Transporter

@RFeyertag yes you can. Use an leading '\' escape character.

bbarmanroy_1-1655953355248.png

 

 

L1 Bithead

Sorry, I don't get it. 

How would you type in, if i want to check exactly following string. 

 

"C:\Windows\System32\hh.exe" C:\Program Files (x86)\ASSA ABLOY\Vision\Vision.chm::/Use_Guest_CheckIn_Steps_Single.htm

 

RFeyertag_0-1656011322322.png

 

BR

Rob

 

Just like @bbarmanroy mentioned in the post you just need to escape the double quotes in the string.

 

dataset = xdr_data
|filter action_process_image_command_line = "\"C:\Windows\System32\hh.exe\" C:\Program Files (x86)\ASSA ABLOY\Vision\Vision.chm::/Use_Guest_CheckIn_Steps_Single.htm"
|fields action_process_image_command_line

Silviu-Mihail Dascalu
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!