Skip to main content
Solved

Need help detecting version number of forescout and Rapid 7 agents

  • June 13, 2019
  • 1 reply
  • 20 views

Forum|alt.badge.img+5

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.

Best answer by LaMantia

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

1 reply

LaMantia
Forum|alt.badge.img+9
  • Contributor
  • Answer
  • June 16, 2019

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