- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-26-2022 02:49 AM
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
Tanium.QuestionResult
{
"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.
04-26-2022 04:23 AM
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
04-27-2022 01:31 AM
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
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!