With the new Cloud plugins we are able to integrate BigFix with different Cloud providers and able to pull data/install BigFix, etc.
In our environment we have installed the Amazon Cloud and we are already able to pull the list of ec2 instances and BigFix is correlating such data with what we already have from from data reported by native agents.
Our next move is to us this integration to deploy the BigFix agents in an automatic way once it detects an ec2 instance is missing the agent.
Unfortunately, the Fixlet provided for such purpose is showing up applicable for devices that are already the agents(Somehow). Is that normal?
I have tried to go with a different approach making us of the BigFix Rest API to extract the list of cloud entries and native entries and getting the names of devices that can’t be found with an agent.
I have the following Session Relevance piece:
elements of ((set of (unique values of( values of results from(bes properties "Instance ID AWS") of elements of set of bes computers with extensions whose ((now - last report time of it) < 400*minute AND agent type of it is not "Native" And ((value of results from(bes properties "State AWS") of it is "running") AND (concatenation of values of results from(bes properties "Tags AWS") of it does not contain "ecs"))) ))) - ( set of unique values of( values of results from(bes properties "aws_instance_id") of elements of set of bes computers with extensions whose (agent type of it is "Native") )))
However, this query is still returning ec2 instances that have the BigFix agent already installed. I have been dealing with this for a few days now, has anyone tried to do something similar?