Cortex XDR - IR
Cortex XDR is the world's first detection and response app that natively integrates network, endpoint, and cloud data to stop sophisticated attacks.
Endpoint · Cortex XDR by Palo Alto Networks
Configuration parameters
isFetch— Fetch incidentsincidentType— Incident typeurl— Server URL (copy URL from XDR) (required)apikey_id_creds—apikey_creds—dont_format_sublists— Remove legacy incident fieldsmirror_direction— Incident Mirroring Directionclose_xsoar_incident— Close Mirrored XSOAR Incidentclose_xdr_incident— Close Mirrored Cortex XDR Incidentxdr_delay— XDR mirroring delay in minutescustom_xsoar_to_xdr_close_reason_mapping— Custom close-reason mapping (XSOAR -> XDR mirrored incident. Overwrites default close-reason mapping defined by Cortex XSOAR)custom_xdr_to_xsoar_close_reason_mapping— Custom close-reason mapping (XDR -> XSOAR mirrored incident. Overwrites default close-reason mapping defined by Cortex XSOAR)apikey_id— API Key IDapikey— API Keytimeout— HTTP Timeoutmax_fetch— Maximum number of incidents per fetchstarred— Only fetch starred incidentsstarred_incidents_fetch_window— Starred incidents fetch windowfetch_time— First fetch timestamp (<number> <time unit>, e.g., 12 hours, 7 days)sync_owners— Sync Incident Ownersinsecure— Trust any certificate (not secure)proxy— Use system proxy settingsprevent_only— Prevent Only Modestatus— Incident Statuses to Fetchexclude_fields— Minimize Incident Informationexcluded_alert_fields— Minimize Alert Informationclose_alerts_in_xdr— Close all related alerts in XDR
Commands (109)
-
endpointReturns information about an endpoint.
-
get-mapping-fieldsGets mapping fields from remote incident. Note: This method will not update the current incident. It's here for debugging purposes.
-
get-modified-remote-dataGets the list of incidents that were modified since the last update. Note: This method is here for debugging purposes. get-modified-remote-data is used as part of a Mirroring feature, which is available since version 6.1.
-
get-remote-dataGets remote data from a remote incident. Note: This method will not update the current incident. It's here for debugging purposes.
-
xdr-action-status-getRetrieves the status of the requested actions according to the action ID.
-
xdr-allowlist-filesAdds requested files to the allow list if they are not already on the block list or allow list.
-
xdr-api-key-deleteDeletes the specified API keys.
-
xdr-api-key-listGets a list of existing API keys.
-
xdr-asset-group-createCreates an asset group.
-
xdr-asset-group-deleteDeletes an asset group.
-
xdr-asset-group-listReturns a list of asset groups.
-
xdr-asset-group-updateUpdates an asset group.
-
xdr-asset-listReturns a list of assets.
-
xdr-asset-schema-field-options-getGets the enum values of a specified field in the asset schema.
-
xdr-asset-schema-getGets the schema of the asset inventory.
-
xdr-automation-playbook-createCreates or updates an automation playbook.
-
xdr-automation-playbook-deleteDeletes an automation playbook.
-
xdr-automation-playbook-getGets an automation playbook.
-
xdr-automation-script-createCreates or updates an automation script.
-
xdr-automation-script-deleteDeletes an automation script.
-
xdr-automation-script-getGets an automation script.
-
xdr-bioc-createCreates a new BIOC.
-
xdr-bioc-deleteDeletes a BIOC.
-
xdr-bioc-listReturns a list of BIOCs.
-
xdr-bioc-updateUpdates an existing BIOC.
-
xdr-blacklist-filesDeprecatedDeprecated. Use `xdr-blocklist-files` instead.
-
xdr-blocklist-filesBlock lists requested files which have not already been block listed or added to allow lists.
-
xdr-case-artifact-listRetrieves a list of artifacts for a specific case.
-
xdr-case-listReturns a list of cases based on the specified filters.
-
xdr-case-updateUpdates an existing case with the specified details.
-
xdr-correlation-rule-createCreates a new correlation rule.
-
xdr-correlation-rule-deleteDeletes correlation rules.
-
xdr-correlation-rule-listReturns a list of correlation rules.
-
xdr-correlation-rule-updateUpdates an existing correlation rule.
-
xdr-create-distributionCreates an installation package. This is an asynchronous call that returns the distribution ID. This does not mean that the creation succeeded. To confirm that the package has been created, check the status of the distribution by running the Get Distribution Status API.
-
xdr-delete-endpointsDeletes selected endpoints in the Cortex XDR app. You can delete up to 1000 endpoints.
-
xdr-endpoint-alias-changeGets a list of endpoints according to the passed filters, and changes their alias name. Filtering by multiple fields will be concatenated using the AND condition (OR is not supported).
-
xdr-endpoint-isolateIsolates the specified endpoint.
-
xdr-endpoint-scanDeprecatedDeprecated. Use `xdr-endpoint-scan-execute` instead.
-
xdr-endpoint-scan-abortCancels the scan of selected endpoints. A scan can only be aborted if the selected endpoints are Pending or In Progress. To scan all endpoints, run the command with the argument all=true. Note that scanning all of the endpoints may cause performance issues and latency.
-
xdr-endpoint-scan-executeRuns a scan on a selected endpoint. To scan all endpoints, run this command with argument all=true. Note: Scanning all the endpoints may cause performance issues and latency.
-
xdr-endpoint-tag-addAdds a tag to specified endpoint_ids.
-
xdr-endpoint-tag-removeRemoves a tag from specified endpoint_ids.
-
xdr-endpoint-triageInitiates a forensics triage on the specified endpoints. You must have Cortex XDR with the Forensics add-on. The agent also must have the Forensics License enabled.
-
xdr-endpoint-triage-preset-listGets a list of available triage presets.
-
xdr-endpoint-unisolateReverses the isolation of an endpoint.
-
xdr-file-delete-script-executeInitiates a new endpoint script execution to delete the specified file.
-
xdr-file-exist-script-executeInitiates a new endpoint script execution to check if the file exists.
-
xdr-file-quarantineQuarantines a file on selected endpoints. You can select up to 1000 endpoints.
-
xdr-file-restoreRestores a quarantined file on requested endpoints.
-
xdr-file-retrieveRetrieves files from selected endpoints. You can retrieve up to 20 files, from no more than 10 endpoints. At least one endpoint ID and one file path are necessary in order to run the command. After running this command, you can use the xdr-action-status-get command with returned action_id, to check the action status.
-
xdr-get-alertsDeprecatedThis command is deprecated, please use xdr-issue-list instead. Returns a list of alerts and their metadata, which you can filter by built-in arguments or use the custom_filter to input a JSON filter object. Multiple filter arguments will be concatenated using the AND operator, while arguments that support a comma-separated list of values will use an OR operator between each value.
-
xdr-get-audit-agent-reportsGets agent event reports. You can filter by multiple fields, which will be concatenated using the AND condition (OR is not supported). Maximum result set size is 100. Offset is the zero-based number of reports from the start of the result set (start by counting from 0).
-
xdr-get-audit-management-logsGets management logs. You can filter by multiple fields, which will be concatenated using the AND condition (OR is not supported). Maximum result set size is 100. Offset is the zero-based number of management logs from the start of the result set (start by counting from 0).
-
xdr-get-cloud-original-alertsDeprecatedThis command is deprecated. Returns information about each alert ID.
-
xdr-get-contributing-eventRetrieves contributing events for a specific correlation alert.
-
xdr-get-create-distribution-statusGets the status of the installation package.
-
xdr-get-distribution-urlGets the distribution URL for downloading the installation package.
-
xdr-get-distribution-versionsGets a list of all the agent versions to use for creating a distribution list.
-
xdr-get-endpoint-device-control-violationsGets a list of device control violations filtered by selected fields. You can retrieve up to 100 violations.
-
xdr-get-endpointsGets a list of endpoints, according to the passed filters. If there are no filters, all endpoints are returned. Filtering by multiple fields will be concatenated using AND condition (OR is not supported). Maximum result set size is 100. Offset is the zero-based number of endpoint from the start of the result set. (Start by counting from 0).
-
xdr-get-endpoints-by-statusReturns the number of the connected\disconnected endpoints.
-
xdr-get-incident-extra-dataDeprecatedThis command is deprecated. Use "xdr-case-list extra_data=true" instead. Returns additional data for the specified incident, for example, related alerts, file artifacts, network artifacts, and so on.
-
xdr-get-incidentsDeprecatedThis command is deprecated please use xdr-case-list instead. Returns a list of incidents, which you can filter by a list of incident IDs (max. 100), the time the incident was last modified, and the time the incident was created. If you pass multiple filtering arguments, they will be concatenated using the AND condition. The OR condition is not supported.
-
xdr-get-policyGets the policy name for a specific endpoint.
-
xdr-get-quarantine-statusRetrieves the quarantine status for a selected file.
-
xdr-get-script-codeGets the code of a specific script in the script library.
-
xdr-get-script-execution-result-filesGets the files retrieved from a specific endpoint during a script execution.
-
xdr-get-script-execution-resultsRetrieve the results of a script execution action.
-
xdr-get-script-execution-statusRetrieves the status of a script execution action.
-
xdr-get-script-metadataGets the full definition of a specific script in the scripts library.
-
xdr-get-scriptsGets a list of scripts available in the scripts library.
-
xdr-get-tenant-infoProvides information about the tenant.
-
xdr-healthcheck-runRuns a system health check on the Cortex XDR environment.
-
xdr-insert-cef-alertsDeprecatedThis command is deprecated. Upload alerts in CEF format from external alert sources. After you map CEF alert fields to Cortex XDR fields, Cortex XDR displays the alerts in related incidents and views. You can send 600 requests per minute. Each request can contain a maximum of 60 alerts.
-
xdr-insert-parsed-alertDeprecatedThis command is deprecated. Uploads an alert from external alert sources in Cortex XDR format. Cortex XDR displays alerts that are parsed successfully in related incidents and views. You can send 600 alerts per minute. Each request can contain a maximum of 60 alerts.
-
xdr-isolate-endpointDeprecatedDeprecated. Use `xdr-endpoint-isolate` instead.
-
xdr-issue-createCreates a new issue. Issues with an 'INFO' severity level are not displayed in the UI.
-
xdr-issue-listRetrieve issues based on filters. Issues with an 'INFO' severity level are filtered out.
-
xdr-issue-updateUpdates an existing issue.
-
xdr-kill-process-script-executeInitiates a new endpoint script execution kill process.
-
xdr-list-risky-hostsRetrieve the risk score of a specific host or list of hosts with the highest risk score in the environment along with the reason affecting each score.
-
xdr-list-risky-usersRetrieve the risk score of a specific user or list of users with the highest risk score in the environment along with the reason affecting each score.
-
xdr-list-rolesRetrieve information about one or more roles created in the environment.
-
xdr-list-user-groupsRetrieve a list of the current user emails associated with one or more user groups in the environment.
-
xdr-list-usersRetrieve a list of the current users in the environment.
-
xdr-quarantine-filesDeprecatedDeprecated. Use `xdr-file-quarantine` instead.
-
xdr-remove-allowlist-filesRemoves requested files from allow list.
-
xdr-remove-blocklist-filesRemoves requested files from the block list.
-
xdr-remove-user-roleRemove one or more users from a role.
-
xdr-replace-featured-fieldReplace the featured hosts\users\IP addresses\active directory groups listed in your environment.
-
xdr-restore-fileDeprecatedDeprecated. Use `xdr-file-restore` instead.
-
xdr-retrieve-file-detailsView the file retrieved by the xdr-retrieve-files command according to the action ID. Before running this command, you can use the xdr-action-status-get command to check if this action completed successfully.
-
xdr-retrieve-filesDeprecatedDeprecated. Use `xdr-file-retrieve` instead.
-
xdr-run-scriptDeprecatedDeprecated. Run xdr-script-run instead.
-
xdr-run-script-delete-fileDeprecatedDeprecated. Use `xdr-file-delete-script-execute` instead.
-
xdr-run-script-execute-commandsDeprecatedDeprecated. Use `xdr-script-commands-execute` instead.
-
xdr-run-script-file-existsDeprecatedDeprecated. Use `xdr-file-exist-script-execute` instead.
-
xdr-run-script-kill-processDeprecatedDeprecated. Use `xdr-kill-process-script-execute` instead.
-
xdr-run-snippet-code-scriptDeprecatedDeprecated. Use `xdr-snippet-code-script-execute` instead.
-
xdr-script-commands-executeInitiates a new endpoint script execution of shell commands.
-
xdr-script-runInitiates a new endpoint script execution action using a script from the script library and returns the results.
-
xdr-set-user-roleAdd one or more users to a role.
-
xdr-snippet-code-script-executeInitiates a new endpoint script execution action using the provided snippet code.
-
xdr-unisolate-endpointDeprecatedDeprecated. Use `xdr-endpoint-unisolate` instead.
-
xdr-update-alertDeprecatedThis command is deprecated, please use xdr-issue-update instead. Update one or more alerts with the provided arguments. Required license: Cortex XDR Prevent, Cortex XDR Pro per Endpoint, or Cortex XDR Pro per GB.
-
xdr-update-incidentDeprecatedThis command is deprecated please use xdr-case-update instead. Updates one or more fields of a specified incident. Missing fields will be ignored. To remove the assignment for an incident, pass a null value in the assignee email argument.
-
xdr-vulnerability-details-getGets vulnerability details by ID.
-
xdr-whitelist-filesDeprecatedDeprecated. Use `xdr-allowlist-files` instead.