Cortex XSOAR integration

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

Cortex XSOAR integration

L0 Member

Hi, I want to poll for Status that is nested under Results. See below example :

I have this output when running the command tn-get-question-result

"QuestionID": "455036",
"Results": [
"ComputerName": "WIN-KBR5CNLJK52.icdc-caas.local",
"Count": "1",
"ID": "1",
"ParentStatus": "Complete",
"Status": "Complete, All Patches Applied"
"Status": "Completed"

I want to poll the Status inside the Results(Complete,All patches applied).

I am writing this dt filter, but it seem does not work as expected
Tanium.QuestionResult(val.Results.Status !== 'Complete, All Patches Applied').QuestionID

I see many example are only check with direct output, does not check within another context
Tanium.QuestionResult(val.Status !== 'Completed').QuestionID

May I know how should I write the DT filter? or its is not possible to poll the value within another context?


Thank you. 


Cortex XSOAR 


L3 Networker

Have you tried using the sub-playbook for 'Context Polling'?

L3 Networker

Also, you may need to provide an index for the object in the 'Results' array. Something like 'Tanium.QuestionResult(val.Results.[0].Status !== 'Complete, All Patches Applied').QuestionID

Hi, I configure as what suggested. But Im getting this warning message 

Warning: no ids matching the dt condition were found. Verify that the condition is correct and that all ids have finished running.


Tanium:{} 2 items

Question:{} 1 item
QuestionResult:{} 3 items
Results:[] 1 item
0:{} 5 items
Status:Complete, All Patches Applied
I attached the context for reference. Any suggestion?
Thank you
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!