Skip to main content

McAfee ePolicy Orchestrator API

Project description

A straightforward wrapper around the ePO API. Manages authentication, building requests, and interpreting responses. Simply treat the client object as a callable function, passing the command name and parameters.

Install:

$ pip install mcafee-epo

Use:

>>> from mcafee_epo import Client
>>> client = Client('https://localhost:8443', 'user', 'password')
>>> systems = client('system.find', '')

Differences from “official” client

This library was created in response to the fairly poor client distributed by McAfee, which didn’t support Python 3 and was generally a mess. (You can find a cleaned up version of their client with Python 3 support in the first few commits.)

The official library required copying files into the Python location to “install” it. This library is an actual package installed using pip.

The official client uses low level url libraries and numerous workarounds to make http requests. This library uses the requests library to greatly simplify the work the previous code was doing.

The official client used a dynamic command discovery and dispatch mechanism to make api calls seem like a nested set of objects. This library forgoes that complexity (which wasn’t understood by IDEs anyway) for a more straightforward approach that just accepts command names when calling.

Project details


Release history Release notifications

This version
History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
mcafee_epo-1.0.3-py2.py3-none-any.whl (3.9 kB) Copy SHA256 hash SHA256 Wheel 3.4 Aug 14, 2015
mcafee-epo-1.0.3.tar.gz (4.3 kB) Copy SHA256 hash SHA256 Source None Aug 14, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page