Query.AI
QueryAI Pack.#
This Integration is part of the#
Query.AIQuery.AI is a decentralized data access and analysis technology that simplifies security investigations across disparate platforms, without data duplication.
In order to use this integration you need the following:
- The URL of Query.AI Proxy component (see below)
- An account registered with Query.AI belonging to your Organization
- The API token associated with above account
- Platform Connection Details of any platform integrated via Query.AI you wish to connect to (This can be overridden while executing commands)
#
BASE_URLThe base URL would be of the Query.AI Proxy . Replace with hostname and port of the Query.AI Proxy component running in your environment.
#
Configure Query.AI on Cortex XSOAR- Navigate to Settings > Integrations > Servers & Services.
- Search for Query.AI.
- Click Add instance to create and configure a new integration instance.
- Click Test to validate the URL, API token and connection.
Parameter | Description | Required |
---|---|---|
url | Query.AI Proxy URL | True |
api_token | Query.AI API token | True |
alias | Default Platform Alias to retrieve data | True |
connection_params | Default Connection params as JSON object. Eg - {"platform_alias":{"username":"my_username","password":"my_password"}} | True |
timeout | Request Timeout (in seconds). Default value is 60 seconds but it may take longer time to retrieve data based upon your data platform. | False |
proxy | Use system proxy settings | False |
insecure | Trust any certificate (not secure) | False |
#
CommandsYou can execute these commands from the Cortex XSOAR CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.
#
1. queryai-run-queryReturns response for the query being run on Query.AI.
#
Base Commandqueryai-run-query
#
InputArgument Name | Description | Required |
---|---|---|
query | Search Query. | Required |
alias | Platform Alias. | Optional |
connection_params | Connection params as JSON object. Eg- {"alias":{"username":"my_username","password":"my_password"}}. | Optional |
workflow_params | Workflow params as JSON object. Eg- {"param1":"value1","param2":"value2"}. | Optional |
time_text | Search time period. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
QueryAI.query.result | Unknown | Response after running query. |
QueryAI.query.markdown_string | String | Readable Response after running query. |
#
Command Example!queryai-run-query query="run workflow my_workflow" alias="my_alias" connection_params="{\"my_alias\":{\"username\":\"my_username\",\"password\":\"my_password\"}}" workflow_params="{\"param1\":\"value1\",\"param2\":\"value2\"}" time_text="search 1 year ago to now"
#
Context Example#
Human Readable Output#
Query.AI Result for the query: run workflow my_workflowagegroupbin | agegroupdesc |
---|---|
2 | 18-19 |
3 | 20-21 |
see details#
Click here to#
SupportFor any other assistance or feedback, feel free to contact us.