Option B: Access the sensor status through RepCLI and searches for the Background Scan output. For example:
sudo /Applications/VMware\ Carbon\ Black\ Cloud/repcli.bundle/Contents/MacOS/repcli status | grep Background
Background Scan: Disabled
Background Scan: Standard Scan
Background Scan: Complete
Option C: Run the query through LiveResponse, using exec or execfg, for example:
From the repcli directory, run:
execfg ./repcli "status" | grep Background
Or from anywhere, run:
execfg log show --predicate 'process == "repmgr" and eventMessage contains "BACKGROUND_SCAN"'
Additional Information
Background scan status will updated in the "System.log" only once per day.
Live Query command can only be used to collect Background Scan status for 3.5.3.82 and previous versions for now due to the Apple System Log change from Apple.
MDM (Mobile Device Management)could be used to push command to collect Background Scan status for 3.6.1 and newer sensors.