Posted on 07-03-2019 08:47 AM
We're trying to uninstall Traps using the following script:
It appears to have removed the application from the specified directory, but our smart computer group is still detecting this on all of our machines, when we should have seen a reduction in the numbers:
com.paloaltonetworks.trapsd
Where would that be located and how would I find it? It doesn't just show up on the computer by searching Finder, the drive, Library folder, or Application support folder.
Posted on 07-03-2019 10:07 AM
@asher.wilkinson Unless the policy you're running that script from has a Maintenance payload that does an Update Inventory your Smart Group indicating Traps is installed won't update until something else triggers an Inventory on that Mac.
Posted on 07-03-2019 10:31 AM
It has the maintenance payload to update inventory. On the test machines I have set up, Traps still appears to be installed, despite there being nothing in the Palo Alto folder in the Library location specified above.
Posted on 07-03-2019 10:43 AM
you can always try to locate the file utilizing the find command in terminal, the way its written below searches the entire computer.
sudo find / -name com.paloaltonetworks.trapsd
Posted on 07-03-2019 11:48 AM
That's a useful command!
Turns out, the command I was using doesn't work for Traps version 6. It worked when we tested machines with version 5. We'll have to figure something else out for the newer version. Thanks for the help!