Community-maintained REST API client for the Illumio Core Policy Compute Engine (fork of illumio/illumio-py)
Project description
illumio-py-open
Community fork.
illumio-py-openis a community-maintained fork of illumio/illumio-py, updated to track current Illumio Core REST APIs. It is not an official Illumio product and is not endorsed by Illumio. It is distributed under the Apache License 2.0 (see NOTICE and LICENSE). The import package is stillillumio, so existing code keeps working:from illumio import PolicyComputeEngine.
Illumio Policy Compute Engine REST client for python 3. Provides full API coverage of the Illumio PCE REST API with 56 registered CRUD endpoints and 67 custom methods for specialized operations.
Covers security policy, workloads, VENs, infrastructure, access management, authentication, reporting, settings, label mapping, vulnerability management, and traffic analysis.
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.
Documentation
API documentation, code examples, and usage guides are published to
GitHub Pages (built from docs/ on every push to main).
Installation
Once published, the fork will be available on PyPI as illumio-py-open (the import name
remains illumio):
$ python -m pip install illumio-py-open
To build and install from source
$ git clone git@github.com:alexgoller/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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file illumio_py_open-1.2.2.tar.gz.
File metadata
- Download URL: illumio_py_open-1.2.2.tar.gz
- Upload date:
- Size: 58.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7564e5927948996d2d8deee0a97a844ddba2bfc35e60012ff6fcef8cdd52ac1
|
|
| MD5 |
ef6f4983fb7b2149f10fdd6c771e8fa4
|
|
| BLAKE2b-256 |
557d4066280614031e94b0e16f3bf289089e90a8da606016da9591a7c8d888a0
|
Provenance
The following attestation bundles were made for illumio_py_open-1.2.2.tar.gz:
Publisher:
release.yml on alexgoller/illumio-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
illumio_py_open-1.2.2.tar.gz -
Subject digest:
d7564e5927948996d2d8deee0a97a844ddba2bfc35e60012ff6fcef8cdd52ac1 - Sigstore transparency entry: 2194311519
- Sigstore integration time:
-
Permalink:
alexgoller/illumio-py@960d6200dd3b35a7a0843fd2efd4370fa5506809 -
Branch / Tag:
refs/tags/v1.2.2 - Owner: https://github.com/alexgoller
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@960d6200dd3b35a7a0843fd2efd4370fa5506809 -
Trigger Event:
push
-
Statement type:
File details
Details for the file illumio_py_open-1.2.2-py3-none-any.whl.
File metadata
- Download URL: illumio_py_open-1.2.2-py3-none-any.whl
- Upload date:
- Size: 83.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbe8f1c9e87be586f421806b520bb97a8a19c30f3f7d293765ed7bea72b61cf1
|
|
| MD5 |
bf2adcd9ef05eb1ee8edddb1a3e65deb
|
|
| BLAKE2b-256 |
277669f65b3d1d5edf0f28f4402b77dc245d06bf9f17066957d3ed2aba0107e8
|
Provenance
The following attestation bundles were made for illumio_py_open-1.2.2-py3-none-any.whl:
Publisher:
release.yml on alexgoller/illumio-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
illumio_py_open-1.2.2-py3-none-any.whl -
Subject digest:
dbe8f1c9e87be586f421806b520bb97a8a19c30f3f7d293765ed7bea72b61cf1 - Sigstore transparency entry: 2194311542
- Sigstore integration time:
-
Permalink:
alexgoller/illumio-py@960d6200dd3b35a7a0843fd2efd4370fa5506809 -
Branch / Tag:
refs/tags/v1.2.2 - Owner: https://github.com/alexgoller
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@960d6200dd3b35a7a0843fd2efd4370fa5506809 -
Trigger Event:
push
-
Statement type: