XQL question command line with " to XQL query

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

XQL question command line with " to XQL query

L4 Transporter

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

L5 Sessionator

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

bbarmanroy_1-1655953355248.png

 

 

L4 Transporter

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
  • 2608 Views
  • 3 replies
  • 0 Likes
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!