Skip to main content

Query Actions

Query a Case Management Table

Query a Case Management Table by filling in the following parameters in the step.

ParameterDescription
Table NameType of Table: Alerts, Attachments, Cases, Custom Table, Observables, Tasks
FieldsField Types
Condition (Optional)Condition that compares two Case Management table field values.
Advanced-Limit (Optional)Query Limit
Thumbnail

Query a Case Management Table using SQL

Query a Case Management Table using SQL by filling in the following parameters in the step.

ParameterDescription
SQL QueryThe SQL Query
Output FormatOutput Format Types: Table, CSV or JSON
note

Please note that you need to use table and column names and not display names. Down below, is the full list of table and column names mapped to their display names.

  • To query associated cases linked to fields across different tables, employ the following SQL query:
SELECT *
FROM cases c
JOIN <insert_table_name> ON c.id::text = ANY(<inserted_table_name>.<linked_entity_column_name);
note

Replace <insert_table_name> and <inserted_table_name> with the name of the table where the associated cases are linked to fields.

For example, to get all cases and the Observables attached to them:

SELECT *
FROM cases c
JOIN observables o ON c.id::text = ANY(o.case_ids);

List of Tables

Cases

NameDisplay Name
case_idCase ID
typeCase Type
severitySeverity
nameName
summarySummary
created_atCreated At
case_managerCase Manager
statusStatus
linked_observablesLinked Observables
close_reasonClose Reason
closed_atClosed At
closed_byClosed By
closed_by_workflowClosed By Workflow
collaboratorsCollaborators
created_byCreated By
linked_alertsLinked Alerts
linked_attachmentsLinked Attachments
linked_casesLinked Cases
linked_tasksLinked Tasks
mitre_attackMitre Attack
responseResponse
slaSLA
sla_expirySLA Expiry
case_tagsTags
created_atCreated At
vendorsVendors

Observables

NameDisplay Name
created_byCreated By
contentContent
enrichment_dataEnrichment Data
updated_atUpdated At
case_idsLinked Cases
attachment_idsLinked Attachments
task_idsLinked Tasks
nameName
typeObservable Type
descriptionDescription
verdictVerdict
alert_idsLinked Alerts
idID
updated_byUpdated By
observable_idObservable ID
auto_idObservable Number
observable_idsLinked Observables

Alerts

NameDisplay Name
processedProcessed
idID
updated_atUpdated At
created_byCreated By
updated_byUpdated By
observable_idsLinked Observables
template_existsTemplate Exists
severitySeverity
responseResponse
alert_idAlert ID
case_idsLinked Cases
typeAlert Type
nameName
vendorVendor
eventEvent
descriptionDescription
attachment_idsLinked Attachments

Attachments

NameDisplay Name
updated_atUpdated At
created_byCreated By
updated_byUpdated By
idID
ioc_idsLinked IOCs
alert_idsLinked Alerts
attachmentAttachment
attachment_idAttachment ID
case_idsLinked Cases
descriptionDescription
nameName
responseResponse
task_idsLinked Tasks
typeAttachment Type
menuMenu
observable_idsLinked Observables
created_atCreated At

Tasks

NameDisplay Name
updated_atUpdated At
idID
created_byCreated By
updated_byUpdated By
created_atCreated At
observable_idsLinked Observables
is_blockingBlock closing case until done
descriptionDescription
closed_atClosed At
case_idsLinked Cases
task_idTask ID
due_dateDue date
task_idsLinked Tasks
nameName
statusStatus
alert_idsLinked Alerts
priorityPriority

Custom Tables

If you're using custom tables, please follow the Query a Table Using SQL docs to fetch the correct table scheme. You can get the full table name via the Copy Table ID button:

Thumbnail
Thumbnail