XSOAR Search queries

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

XSOAR Search queries

L0 Member

Hello Team,

 

Trying to remove tags from multiple cases at one go however failed due to incorrect syntax.

 

  • !lr-case-tags-remove case_id:"16563,16532,16626" tag_numbers=154

    Should it be split into multiple lines to execute? could someone assist me with the best way to achieve this requirement. 

     

    Regards

    Parans

     

1 REPLY 1

L5 Sessionator

Hi @Parans,

 

You can do this in multiple ways. 

 

1. Incident page - Search for the incidents you want to affect. Select the top-level check box and "Select all" link. Then us the "Run Command" button. Execute the command link this !lr-case-tags-remove case_id=${incident.id} tag_numbers=154

Screen Shot 2023-02-10 at 7.16.26 am.png

 

2. Incident Context - Save the incident id's to the context in a list.  Issue the command !lr-case-tags-remove case_id=${incident.id} tag_numbers=154 in the warroom. Cortext will handle the looping part. Depending on the incident list size. You might want this to be playbook in quiet mode to improve performance. 

 

 

 

 

 

  • 1102 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!