Need help detecting version number of forescout and Rapid 7 agents

ferrispd
New Contributor III

I've been able to identify the agent installed and process running. My problem is that I cannot figure out how to detect the version number of those. Awesome community has lots of Extension Attributes for other security agents, but I didn't have any luck with these two.

1 ACCEPTED SOLUTION

LaMantia
New Contributor III

I have one for forescout

!/bin/sh

Check the version of Forescout SecureConnector

SecureConnectorVersion=/usr/bin/defaults read /Applications/ForeScout SecureConnector.app/Contents/Info CFBundleShortVersionString
echo "<result> $SecureConnectorVersion </result>"

exit 0

View solution in original post

1 REPLY 1

LaMantia
New Contributor III

I have one for forescout

!/bin/sh

Check the version of Forescout SecureConnector

SecureConnectorVersion=/usr/bin/defaults read /Applications/ForeScout SecureConnector.app/Contents/Info CFBundleShortVersionString
echo "<result> $SecureConnectorVersion </result>"

exit 0