-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Free Form Queries for Cortex XDR #113
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like everything is functioning as expected. Highlighting a failure scenario in order to document a potential issue for users who might have set up automated surveys without including a dataset in their query. Approving, but perhaps notify users about this change to ensure they're informed? Apart from that, everything looks good.
Success
--query 'dataset=xdr_data | filter action_process_image_name contains "svchost.exe"'
Full query after processing = 'dataset=xdr_data | filter action_process_image_name contains "svchost.exe" | fields agent_hostname, action_process_image_path, action_process_username, action_process_image_command_line, actor_process_image_path, actor_primary_username, actor_process_command_line, event_id'
-->query: 10 results
Fail
--query '| filter action_process_image_name contains "svchost.exe"'
Full query after processing = ' | filter action_process_image_name contains "svchost.exe" | fields agent_hostname, action_process_image_path, action_process_username, action_process_image_command_line, actor_process_image_path, actor_primary_username, actor_process_command_line, event_id'
Caught HTTPError (see log for details): 500 Server Error: Internal Server Error for url: https://{environment}.[xdr.us.paloaltonetworks.com/public_api/v1/xql/start_xql_query/](http://xdr.us.paloaltonetworks.com/public_api/v1/xql/start_xql_query/)
*All tests were configured to limit the number of results to a maximum of 10.
Sounds good! I'll update the versioning and put out a new release summarizing the recent changes here. I'll also make sure the corresponding wiki is accurate. |
Changes
agent_hostname
action_process_image_path
action_process_username
action_process_image_command_line
actor_process_image_path
actor_primary_username
actor_process_command_line
event_id
Closes #111
Closes #112
To Do Items