CEL Examples🔗
Following are Common Expression Language examples you can use with Secureworks® Taegis™ XDR Connector templates.
Access Usernames From an Alert🔗
Access Hostnames From an Alert🔗
Access source_ip
Addresses From an Alert🔗
Access destination_ip
Address From an Alert🔗
Return the Alert Timestamp in Human Readable Format🔗
Return true
if Alert Contains a Specific related_entity
Value🔗
This example returns a value of true if the alert contains a specified sensorId value:
Create a Default Error Message🔗
${!has(status.code) || status.code != 201 ? (has(body.errorMessages) ? body.errorMessages[0] : 'Unknown error returned by Vendor API') : ''}
Access the TargetUserName from source_event
of an Alert🔗
This example accesses TargetUserName from the source_event
of an alert
Match an Investigation Assigned to the Tenant🔗
Negate a Property on an Alert🔗
Note that you must wrap the part you are negating in parentheses (). Use .lowerAscii()
to lower case the title.