Skip to main content

REST API client framework to manage the Illumio Core Policy Compute Engine

Project description

illumio

License Latest Release

Illumio Policy Compute Engine REST client for python 3. Exposes PCE API endpoints as functions through a simple interface.

Compatible with Illumio Core PCE version 21.2+.

The main entrypoint for the client is the PolicyComputeEngine class:

>>> from illumio import PolicyComputeEngine
>>> pce = PolicyComputeEngine('pce.company.com', port='8443', org_id='12')
>>> pce.set_credentials('api_key', 'api_secret')
>>> workloads = pce.workloads.get(
...     params={
...         'managed': True,
...         'enforcement_mode': 'visibility_only'
...     }
... )
>>> workloads
[
    Workload(href='/orgs/12/workloads/c754a713-2bde-4427-af1f-bff145be509b', ...),
    ...
]

For more information on the Illumio APIs, see the REST API guide and the API reference for your version of Illumio Core.

Read the Docs

You can find API documentation, code examples, and usage guides on our readthedocs page!

Installation

The illumio library is now available on pypi!

$ python -m pip install illumio

To build and install from source

$ git clone git@github.com:illumio/illumio-py.git
$ cd illumio-py
$ make

Support

The illumio package is released and distributed as open source software subject to the included LICENSE. Illumio has no obligation or responsibility related to the package with respect to support, maintenance, availability, security or otherwise. Please read the entire LICENSE for additional information regarding the permissions and limitations. Support is offered on a best-effort basis through the Illumio app integrations team and project contributors.

Contributing

See the project's CONTRIBUTING document for details.

License

Copyright 2022 Illumio

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

Project details


Download files

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

Source Distribution

illumio-1.1.3.tar.gz (93.5 kB view details)

Uploaded Source

Built Distribution

illumio-1.1.3-py3-none-any.whl (59.3 kB view details)

Uploaded Python 3

File details

Details for the file illumio-1.1.3.tar.gz.

File metadata

  • Download URL: illumio-1.1.3.tar.gz
  • Upload date:
  • Size: 93.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.15

File hashes

Hashes for illumio-1.1.3.tar.gz
Algorithm Hash digest
SHA256 6fae04c615415ceed5aaa06ba1ccb9ec3e684c4d756ccce70b97c023f4f4f171
MD5 75e68b6db722fc8644cc18784bff6370
BLAKE2b-256 bcb3fe3e7d08dc19ec0a47d8de62302ae8a651cea6c69ea1e5dd8eab13334142

See more details on using hashes here.

File details

Details for the file illumio-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: illumio-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 59.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.15

File hashes

Hashes for illumio-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4b6cffd45125dae63fb428d81e7b58ab1832eeb3d0abb420917400664a5fee20
MD5 8f5a42f22ee7cb6bf2959bb74d4f295c
BLAKE2b-256 34132d0f00f41e1cc58f8d50ccee7684f0666f7223b6e02d968db2f07a2fd6f4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page