Skip to content

Simple bash script template for EEDK deployment of a script

Notifications You must be signed in to change notification settings

SteenPedersen/EEDK_Linux_template

Repository files navigation

EEDK_Linux_template

Simple bash script template for EEDK deployment of a script and return value in Agent Custom Props. EEDK = (ePO Endpoint Deployment Kit)

When EEDK package the is created - make sure to set the "Command to Run" as .sh like EEDK_linux_template.sh

The script is currently coded to use CUSTOM_PROP='5' # which custom prop to use for the results

Track the execution in the local log file: LOG_FILE='/var/log/EEDK_Debug.log' The EEDK_Debug.log file is also copied to the Agent log folder /var/McAfee/agent/logs ePO admin can then pull all files in the Agent Log location from ePO console using Single System Troubleshooting.

The EEDK package has to be created for either MacOS or Linux. The EEDK package cannot support both OS in one package. So you must create an ePO Package for Linux and a different for MacOS. Note: The McAfee Agent execute the script with root privileges.

Place your script content in the function execute_script and make this return any value back to ePO in the CUSTOM_PROP_VALUE='Result from script using EEDK - '

When testing the script before creating the EEDK package make sure to use command: sudo bash ./EEDK_linux_template.sh as there are commands which requires root privileges while running.

EEDK Getting Started Guide: https://community.mcafee.com/t5/ePolicy-Orchestrator-ePO/ePO-Endpoint-Deployment-Kit-EEDK-Getting-started-guide/td-p/524421

About

Simple bash script template for EEDK deployment of a script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages