You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?xml version="1.0" encoding="UTF-8"?><extensionAttribute> <displayName>CheckPoint - Encryption Percentage</displayName> <displayInCategory>Disk Encryption</displayInCategory> <description>This attribute returns the Disk Encryption Percentage for CheckPoint on the boot disk. This attribute template applies to CheckPoint (v 3.2).</description> <dataType>integer</dataType> <scriptContentsMac>#!/bin/sh #This script has been verified to work on CheckPoint (v 3.2). #Check to see if CheckPoint is installed if [ -f /usr/local/ppc-*/bin/FDEEncStatus ]; then result=$(/usr/local/ppc-*/bin/FDEEncStatus | sed 's/Volume:/\Volume:/g' | grep -w "Volume: /" | grep "Status: Encrypt" | awk '{print $7}') if [ "$result" == "" ]; then result=$(/usr/local/ppc-*/bin/FDEEncStatus | sed 's/Volume:/\Volume:/g' | grep -w "Volume: /" | grep "Status: Decrypt" | awk '{print $7}') if [ "$result" == "" ]; then echo "<result>0</result>" else echo "<result>$result</result>" fi else echo "<result>$result</result>" fielse echo "<result>Not installed</result>" fi </scriptContentsMac></extensionAttribute>