cloudpassage-halo-python-sdk
============================
Python SDK for CloudPassage Halo API
------------------------------------
.. image:: https://readthedocs.org/projects/cloudpassage-halo-python-sdk/badge/?version=latest
Branch: master
.. image:: https://codeclimate.com/github/cloudpassage/cloudpassage-halo-python-sdk/badges/gpa.svg
:target: https://codeclimate.com/github/cloudpassage/cloudpassage-halo-python-sdk
:alt: Code Climate
.. image:: https://codeclimate.com/github/cloudpassage/cloudpassage-halo-python-sdk/badges/coverage.svg
:target: https://codeclimate.com/github/cloudpassage/cloudpassage-halo-python-sdk/coverage
:alt: Test Coverage
.. image:: https://travis-ci.org/cloudpassage/cloudpassage-halo-python-sdk.svg?branch=master
:target: https://travis-ci.org/cloudpassage/cloudpassage-halo-python-sdk
Branch: develop
.. image:: https://travis-ci.org/cloudpassage/cloudpassage-halo-python-sdk.svg?branch=develop
:target: https://travis-ci.org/cloudpassage/cloudpassage-halo-python-sdk
Installation
------------
.. image:: https://badge.fury.io/py/cloudpassage.svg
:target: https://pypi.python.org/pypi/cloudpassage/
Requirements:
* Python 2.7.10+ or Python 3.6+
* requests
* pyaml
Install from pip with ``pip install cloudpassage``. If you want to make
modifications to the SDK you can install it in editable mode by downloading
the source from this github repo, navigating to the top directory within the
archive and running ``pip install -e .`` (note the . at the end).
Quick Start
-----------
Here's the premise: you store your session configuration information (API
credentials, proxy settings, etc) in the cloudpassage.HaloSession object.
This object gets passed into the various class methods which allow you
to interact with the CloudPassage Halo API.
Practical example:
We'll print a list of all servers in our account:
::
import cloudpassage
api_key = MY_HALO_API_KEY
api_secret = MY_API_SECRET
session = cloudpassage.HaloSession(api_key, api_secret)
server = cloudpassage.Server(session)
list_of_servers = server.list_all()
for s in list_of_servers:
print("ID: {} Name: {}".format(s["id"], s["hostname"]))
Docs
====
Where to download
-----------------
Documentation can be found at
http://cloudpassage-halo-python-sdk.readthedocs.io/en/latest/?badge=latest
Testing
=======
Testing procedure is documented at: http://cloudpassage-halo-python-sdk.readthedocs.io/en/latest/testing.html
Changelog
=========
v1.6.4 (2022-06-22)
-------------------
Fix
~~~
- Fixed policy list failures. [Thomas Miller]
v1.6.3 (2022-05-23)
-------------------
Changes
~~~~~~~
- Upgrade all deprecated CloudPassage HALO Endpoints. [Thomas Miller]
v1.6.1
------
Changes
~~~~~~~
- Add max_pages optional param to Issue list_all method. [Paul Chang]
- Add support for Container Secure endpoints. [Paul Chang]
v1.5.0 (2019-07-27)
-------------------
Changes
~~~~~~~
- Styling for tests. [Paul Chang]
- More styles. [Paul Chang]
- Styling. [Paul Chang]
- Add docs for CSP. [Paul Chang]
- Add support for Cloud Secure endpoints. [Paul Chang]
Fix
~~~
- Fixed validation failures on v3 issues ID format. [Ash Wilson]
Closes #194
v1.4.0 (2019-06-11)
-------------------
New
~~~
- API version selectors for abstractions. [Ash Wilson]
Closes #181
- Create stream() generator method in Event class. [Ash Wilson]
Closes #179
Changes
~~~~~~~
- Using safer yaml.SafeLoader in ApiKeyManager. [Ash Wilson]
- Update version pin for pytest. [Ash Wilson]
- Add docs for CveDetails. [Ash Wilson]
v1.3.0 (2019-03-01)
-------------------
New
~~~
- Added list_packages() to Server() object. [Ash Wilson]
Closes #165
v1.2.2 (2018-10-31)
-------------------
New
~~~
- Python 3.6.5 support. [Ash Wilson]
v1.2 (2018-10-28)
-----------------
New
~~~
- Python 3.7 support. [Ash Wilson]
Changes
~~~~~~~
- Improved deduplication in TimeSeries class. [Ash Wilson]
Expanded deduplication routine to compare against prior
batch of objects from API. In some extremely rare circumstances,
multiple different events with the exact same timestamp would slip
through the deduplication routine `TimeSeries.remove_duplicate_items`.
This patch improves deduplication while still using the object's
timestamp as a cursor.
Closes #142
- Improve documentation of Server() instance methods. [Ash Wilson]
v1.1.5 (2018-09-15)
-------------------
New
~~~
- Use connection pooling. [Ash Wilson]
The SDK now uses connection pooling via the requests.Session() object. This
brings performance benefits as the SDK will no longer need to open a new TLS
connection for every interaction with the CloudPassage API.
Connection pool minimum of 1, max of 10 concurrent connections in session.
Closes #112
Exponential backoff implemented via requests, 5 tries max.
Retry happens in requests via HTTPAdapter for everything but re-auth, which is caught and retried in SDK.
Closes #113
Migrated CI testing environment.
Closes #114
Changes
~~~~~~~
- Codeclimate coverage for master branch. [Ash Wilson]
Closes #121
- Testing matrix includes Python2.7.10 and 2.7.15. [Ash Wilson]
We can add more over time, as the need arises. Adding
another version of Python adds around 12 minutes to total
CI time per commit, and tests cannot be run in parallel.
Closes #115
- Updated requests version pin to >=2.18. [Ash Wilson]
Removed requirements.txt file, which was unnecessary. The
setup.py file is used by easy_install to ensure dependencies
are in place.
Closes #118
Other
~~~~~
- Use uuid to generate random alert profile and server group name. [Hana
Lee]
v1.1.4 (2018-03-12)
-------------------
- V1.1.4. [Jye Lee]
v1.1.3 (2018-03-08)
-------------------
- V1.1.3. [Jye Lee]
CS-479 add 429 exception
chg: usr: Add TimeSeries().stop, which allows a cleaner exit for event/scan/issue streams.
- V1.1.2 added merge multiple servers to server group. [Hana Lee]
- CS-458 Python SDK: Move multiple servers into a target group. [Hana
Lee]
v1.1.2 (2018-02-26)
-------------------
- V1.1.2 added merge multiple servers to server group. [Hana Lee]
- CS-458 Python SDK: Move multiple servers into a target group. [Hana
Lee]
v1.1.1 (2018-02-17)
-------------------
Changes
~~~~~~~
- Adding tests for TimeSeries() for events, scans, and issues endpoints.
[Ash Wilson]
- Adding docs for TimeSeries class. [Ash Wilson]
Other
~~~~~
- V1.1.1. [Jye Lee]
v1.1 (2018-01-05)
-----------------
- V1.1. [Hana Lee]
- CS-426 add Agent Upgrades class. [Hana Lee]
- CS-428 Add CveDetails class. [Hana Lee]
- CS-428 Add CveDetails class. [Hana Lee]
- CS-429 add cve exceptions class. [Hana Lee]
- Conflict. [Hana Lee]
- CS-427 add processes endpoint to servers class. [Hana Lee]
- CS-427 add processes endpoint to servers class. [Hana Lee]
- Add Accept-Encoding 'gzip' [Jye Lee]
- Add Accept-Encoding 'gzip' [Jye Lee]
- CS-359 Added traffic discovery endpoint to Server and ServerGroup
classes. [Hana Lee]
- Rev to v1.0.6.8. [Jye Lee]
- Rev to v1.0.6.7. [Jye Lee]
- CS-322 Fix naming from Server to Issue. [Jye Lee]
- V1.0.6.6. [Jye Lee]
flake8: expected 2 blank lines, found 1
- This is it @2. [Hana Lee]
- This is it. [Hana Lee]
- Test: see travis. [Hana Lee]
- Test:add +x. [Hana Lee]
- Test: use travis.sh. [Hana Lee]
- Test: edit yml. [Hana Lee]
- Test: travis.sh. [Hana Lee]
- Test: script onlt. [Hana Lee]
- Test: added if statement. [Hana Lee]
- Test: took up typo. [Hana Lee]
- Added echo branch. [Hana Lee]
- Test: added travis after_success. [Hana Lee]
- Test: print env. [Hana Lee]
- Test: run py.test. [Hana Lee]
- Test: run test_wrapper.sh. [Hana Lee]
- Test: added ls. [Hana Lee]
- Test: remove --it. [Hana Lee]
- Test: show docker images. [Hana Lee]
- Test: added image id. [Hana Lee]
- Test: put docker run in before_install. [Hana Lee]
- Test: using docker exec to run test_wrapper.sh. [Hana Lee]
- Added test_wrapper.sh. [Hana Lee]
- Edited the changelog. [Hana Lee]
- Added converge version lock. [Hana Lee]
- Added email notification. [Hana Lee]
- Fix logic in api_key_manager class. [Hana Lee]
- Modified pagination for servers endpoint. [Hana Lee]
- Fixed logic in api key manager. [Hana Lee]
rev init to 1.0.6.3
- Fixed logic in api key manager. [Hana Lee]
- Bug/CS-283 fix kwargs params if 500. [Jye Lee]
remove unexpected spaces around =
- Rev to 1.0.6.2. [Jye Lee]
- Bug CS-269 edit doc server_id to issue_id. [Jye Lee]
v1.0.6 (2017-05-01)
-------------------
- Rev to v1.0.6. [Jye Lee]
- Fixed flake8. [Hana Lee]
- Added LocalUserGroup to __init__.py Fixed typo in server.py. [Hana
Lee]
- Fixed status_code 500s. [Hana Lee]
- CS-267 add local user account endpoint to SDK. [Hana Lee]
- CS-269 add issues endpoint to the SDK. [Jye Lee]
added list_all, describe, and resolve methods
- CS-259. [Jye Lee]
Add delayed retry to http helper
- Added required openssl version and python version. [Hana Lee]
v1.0.5 (2017-02-18)
-------------------
Changes
~~~~~~~
- Improvents to list FIM baseline with detail information. [Hana Lee]
Other
~~~~~
- Fixed Flake8 styling issue. [Hana Lee]
- Changed the output FIM baseline to include more detail information.
[Hana Lee]
- Change the child server group name to avoid "Name Peer groups cannot
have the same name" [Hana Lee]
v1.0.4 (2017-01-31)
-------------------
- Rev to v1.0.4. [Jye Lee]
- Fixes firewall log paging. [Spencer Herzberg]
v1.0.3 (2017-01-24)
-------------------
Changes
~~~~~~~
- Improvements to server group creation, use grid-side input
sanitization for post data. [Ash Wilson]
Other
~~~~~
- Rev setup.py version to 1.0.3. [Jye Lee]
- Rev to v1.0.3 to changelog. [Jye Lee]
- Scan history should use since and until. [Spencer Herzberg]
v1.0.1 (2016-12-02)
-------------------
Changes
~~~~~~~
- Docker image now builds with git inside, syntax fix in testing script.
Set default value in ApiKeyManager for api_port to 443. New testing
procedure implemented and documented. [Ash Wilson]
- Re-ordering operations in test_wrapper.sh to better converge testing
file for api_key_manager.py. Altered unit tests to point to converged
config file. Installed package in editable mode within container in
order to get coverage module working. [Ash Wilson]
- Changed values in portal.yaml file to facilitate testing automation
with test_wrapper.sh. [Ash Wilson]
- Added test_wrapper.sh to replace bare command in Dockerfile. This
allows for dynamic testing behavior, depending on the environment
variables passed into the container at runtime. [Ash Wilson]
- Consolidated testing procedure in official, built docs. Links
provided in README.rst and README.md to published docs containing
testing procedure. [Ash Wilson]
Fix
~~~
- Fix: test: Corrected logic for running codeclimate (thanks @mong2)
[Ash Wilson]
Other
~~~~~
- Remove -z from codeclimate if statement. [mong2]
v1.0 (2016-11-21)
-----------------
- Revert "remove whitelist and pagination for policies and events"
[mong2]
- Updating CHANGELOG. [Ash Wilson]
- Changing version to 1.0, removing beta references. [Ash Wilson]
- Adding unit tests for useragent string composition. [Ash Wilson]
- Correcting ordering of user agent string composition. [Ash Wilson]
- Adding integration strings to integration tests. [Ash Wilson]
- Correcting UA string building logic. [Ash Wilson]
- Formatting user agent more like RFC 2616 says we should. [Ash Wilson]
- Fixed sanitizer. [Hana Lee]
- Fixed server.py to align with flake8. [Hana Lee]
- Added url sanitizer. [Hana Lee]
- Fixed expires and comments in fim_baseline create. [Hana Lee]
- Take out whitelist from event. [Hana Lee]
- Updating server.py. [Jye Lee]
- Remove supported_search_fields from servers. [Jye Lee]
- Revert "remove whitelist and pagination for policies and events" [Jye
Lee]
This reverts commit b78e40d52f08984623772417fea1660122584987.
- Revert "remove supported_search fields and get_paginated for scan,
server, and server_group class/tests" [Jye Lee]
This reverts commit 906b1e39e55b8155340cbae340d4e8e2c813f508.
- Remove supported_search fields and get_paginated for scan, server, and
server_group class/tests. [Jye Lee]
- Remove whitelist and pagination for policies and events. [Hana Lee]
- Correcting installation document. [Ash Wilson]
- Documentation improvements. Building changelog into docs, adding
version indicator to index. [Ash Wilson]
- Adding links to built documentation. [Ash Wilson]
- Improve README.rst formatting. [Ash Wilson]
- Improving setup.py to include changelog in long description, which is
published on PyPI. [Ash Wilson]
v0.101 (2016-10-18)
-------------------
New
~~~
- .gitchangelog.rc now takes latest version from
cloudpassage/__init__.py. [Ash Wilson]
Fix
~~~
- Flake8 correction in __init__.py. [Ash Wilson]
- CS-66 Remove ImportError exception for unsupported Python version.
[Ash Wilson]
- CS-66 implement soft failure for wrong Python version. [Ash Wilson]
- Correcting docs build isssues, change revision to v0.101. [Ash Wilson]
Other
~~~~~
- Add all supported search fields for servers endpoint. [Jye Lee]
v0.100 (2016-10-11)
-------------------
Fix
~~~
- Typo = should be == in requirements-testing.txt. [Jye Lee]
Other
~~~~~
- Adding CHANGELOG.md. [Ash Wilson]
- Adding .gitchangelog.rc. [Ash Wilson]
- Forget to && between commands. [Jye Lee]
- Add apt-get install git to Dockerfile. [Jye Lee]
- Add pytest-cov to requirements-testing and codeclimate pkg install to
Dockerfile. [Jye Lee]
- Clean up pep8 error blank line at end of file. [Jye Lee]
- Add group_name to servers.list_all() supported fields Add parent_id to
server groups create and update. [Jye Lee]
- CS-55 fix get sam target_id to get linux only. [Jye Lee]
- CS-53 swap the order of sdk_version_string and integration_string.
[Jye Lee]
- CS-41-2 remove sam last_scan_results retrieve. [Jye Lee]
- Fixing testing deps. [Ash Wilson]
- CS-33 adding documentation for exception kwargs. [Ash Wilson]
- CS-37 Corrected bad path, which was breaking doc build. [Ash Wilson]
- Documentation improvements. [Ash Wilson]
- CS-40 Improve user_agent string composition. [Ash Wilson]
- CS-39 added get_sdk_version() to utility. [Ash Wilson]
- CS-2 missed import libraries. [Jye Lee]
- CS-2 fix alert_profile, does not have a self.policy_key. [Jye Lee]
- Pinning pyflakes to 1.2.3. [Ash Wilson]
- CS-25 fixing spelling and variable naming in __init__.py. [Ash Wilson]
- CS-25 correcting unnecessary import of sys module. [Ash Wilson]
- CS-25 re-structuring version comparator. [Ash Wilson]
- Adding travis-ci build badges for master and develop branches. [Ash
Wilson]
- Fixing docs for API key manager. [Ash Wilson]
- CS-34 flake8 integration tests. [Ash Wilson]
- CS-35 Make unit tests flake8 compliant. [Ash Wilson]
- Sanitize exception error codes. [Ash Wilson]
- CS-32 Re-tooling to work with flake8 v3.0. [Ash Wilson]
- CS-23 pep8 event integration tests. [Ash Wilson]
- Pointed to file that would be in an environment not configured for
integrationt testing. [Ash Wilson]
- Re-arranging tests for special events policy, getting rid of
conflicting test for NotImplementedError exception. [Ash Wilson]
- Fixes to ease transition to flake8. [Ash Wilson]
- CS-31 moved from pep8 to flake8. [Ash Wilson]
- Requirements file for testing added, updated dockerfile for flakes
testing. [Ash Wilson]
- Removing duplication detector- we will use pyflakes. [Ash Wilson]
- First stab at codeclimate. [Ash Wilson]
- Adding codeclimate badges to READMEs. [Ash Wilson]
- CS-18 Adding RST for pypi pretties. [Ash Wilson]
- Dockerfile-based travis config is now working. [Ash Wilson]
- Fixing WORKDIR in Dockerfile. [Ash Wilson]
- Add -y to apt-get install. [Ash Wilson]
- Travis to use docker for testing SDK. [Ash Wilson]
- Correcting grammar in LICENSE. [Ash Wilson]
- Restructuring test script. [Ash Wilson]
- First stab at .travis.yml. [Ash Wilson]
- Added pyflakes config. [Ash Wilson]
- CS-17 remove print and move bad_statuses into if. [Jye Lee]
- CS-7 adding python veresion check. [Hana Lee]
- CS-7 do not support less than python 2.7.10. [Jye Lee]
- Used systemError and added unit test for python version CS-7. [Hana
Lee]
- All references to version number point back to __init__.py file. [Ash
Wilson]
- LICENSE. [Ash Wilson]
Adding license file
CS-8 added issues endpoint to server.py
Update test_integration_server.py
CS-8 update agent_firewall_logs to have pagination
- DOC - Adding specific tested and supported minimum Python version.
[Ash Wilson]
- Cleaning up bad commit, redefined methods, and pep8 issues. [Ash
Wilson]
- Changed from repr to str method to prevent inclusion of superfluous
quotes in string. [Ash Wilson]
- Fixing pep8. [Ash Wilson]
- Update gitignore. [Ash Wilson]
- CS-14 Add ability and instructions for building PDF docs. [Ash Wilson]
- CS-5 Change (true | false) to (bool) [Jye Lee]
- CS-5 Add Critical to support search field for events, Added to
DocString. [Jye Lee]
- CS-2 CRUD for alert_profiles, Fixes squashed. [Jye Lee]
- CS-3 Remove sam from supported_historical_scans list. [Jye Lee]
- CS-3 Remove sam from supported_historical_scans list. [Jye Lee]
- CS-4 Add Describe to Special Events Policies. [Jye Lee]
- CS-6 update scan finding comment to include CSM and SVA. [Jye Lee]
- Add exception message feature/CS-13. [Hana Lee]
- Adding __str__ to exceptions. [mong2]
such that error messages will be printed
v0.99 (2016-09-02)
------------------
- LICENSE. [Ash Wilson]
Adding license file
- Improved parsing. [Ash Wilson]
- Enhanced README. [Ash Wilson]
- Changing to v0.99 for beta period. [Ash Wilson]
- Adding requests to requirements.txt. [Ash Wilson]
- Fixed pep8 issue with == vs is. [Ash Wilson]
- Coe-230 force key and secret to string. [Ash Wilson]
- Coe-229 fixed type issues with api key manager, rev setup to 1.0. [Ash
Wilson]
- Remove unnecessary print statement. [Ash Wilson]
- Coe-191 coe-192 Tests use port number, soft fail-around for lack of
key scope. [Ash Wilson]
- COE-117 Add cleanup routines for better smoking. [Ash Wilson]
- COE-158 fix get_sam_target. [Ash Wilson]
- COE-158 fix get_sam_target. [Ash Wilson]
- Adding test cases. [Ash Wilson]
- Coe-153 Bring test coverage to 95% [Ash Wilson]
- Coe-149 coe-150 pylint 10/10, deduplication of functionality. [Ash
Wilson]
- Coe-148 Corrected cyclic import issue in cloudpassage.sanity. [Ash
Wilson]
- Coe-152 Documentation update. [Ash Wilson]
- Coe-152 Documentation update. [Ash Wilson]
- Coe-151 Add instructions for new testing layout. [Ash Wilson]
- Coe-131 coe-143 coe-147 update documentation, separate tests by type,
pylint http_helper. [Ash Wilson]
- Coe-144 coe-142 create test cases for new functions. [Ash Wilson]
- Coe-133, 132, 130, 129, 128, 127 pylint cleanup. [Ash Wilson]
- Coe-135, 136, 137, 138, 139 pylint cleanup. [Ash Wilson]
- Coe-140 pylint 10/10 utility.py. [Ash Wilson]
- Coe-141 Add docstrings to methods that will fail if run against an
empty account. [Ash Wilson]
- Coe-126 10/10 pylint for event.py. [Ash Wilson]
- Coe-125 pylint 10/10 for congifiguration_policy.py. [Ash Wilson]
- Coe-122 Pylint 10/10, removed overrides. Refactored
api_key_manager.py. [Ash Wilson]
- Coe-124 pylint __init__.py. [Ash Wilson]
- Corrected docstrings for pylint. [Ash Wilson]
- COE-118 pylint cloudpassage/ [Dave Doolin]
- Completed testing docs. [Ash Wilson]
- COE-120 bring test coverage to 90%, make corrections in
FirewallBaseline. [Ash Wilson]
- COE-85 Cleanup of test_halo.py, test coverage improvements. [Ash
Wilson]
- COE-109 Cleaned up api_key_manager a bit, added since/until query for
scans. [Ash Wilson]
- COE-111 COE-114 Added api key manager, refactored tests to be atomic,
added docs. [Ash Wilson]
- COE-112 Adding input sanity checking for URLs constructed from method
args. [Ash Wilson]
- Coe-65 Change fn to utility, refactor all the things. [Ash Wilson]
- Coe-108 - also advancing version to 0.9.9. [Ash Wilson]
- Coe-108 changed name to hostname. [Ash Wilson]
- Coe-58 Added CVE exceptions query, tests, and docs. [Ash Wilson]
- Added server group delete method. [Ash Wilson]
- Coe-99 coe-100 Docmentation update. [Ash Wilson]
- Coe-86 coe-102 Added Events, improved test coverage and documentation.
[Ash Wilson]
- Coe-104 coe-103 coe-60 coe-84 coe-98 coe-97 coe-96 coe-94 coe-90
coe-89 coe-88 coe-87. [Ash Wilson]
- Coe-82 coe-92 coe-103 Implement inheritance for policies, cleanup docs
and tests. Complete firewall module. [Ash Wilson]
- Coe-101 Adding exclusion for html docs. [Ash Wilson]
- Coe-81 adding coverage to test runner. [Ash Wilson]
- Coe-18 autogenerating docs from docstrings. [Ash Wilson]
- Coe-80 coe-48 clean out imp, old cpapi functions. [Ash Wilson]
- Coe-73 Adding basic firewall policy management functionality. [Ash
Wilson]
- Coe-72 Wrapping up FIM module. [Ash Wilson]
- Coe-71 Rounding off LIDS policy-related functionality. [Ash Wilson]
- Coe-78 Corrected setup.py, .gitignore. [Ash Wilson]
- Coe-74 rounding out server.Server functionality. [Ash Wilson]
- Coe-75 Expanding scans module. [Ash Wilson]
- Coe-77 Adding basedir and config for docs. [Ash Wilson]
- Coe-70 Adding configuration policy CRUD. [Ash Wilson]
- Coe-69 Added server.Server.describe() method. [Ash Wilson]
- Coe-64 Added server command details method. [Ash Wilson]
- Coe-68 adding ServerGroup.list_members() and tests. [Ash Wilson]
- Coe-67 Improve scan initiator and test cases. [Ash Wilson]
- Coe-63 Added scan initiator module. Some integration tests will be
fulfilled by coe-66. [Ash Wilson]
- Coe-59 Add fn.determine_policy_metadata() with tests. [Ash Wilson]
- Coe-44 add Server.retire() [Ash Wilson]
- Coe-55 add tests for fn.verify_pages() [Ash Wilson]
- Coe-57 Adding tests for sanity.py. [Ash Wilson]
- Coe-61 Adding SpecialEventsPolicy.list_all() [Ash Wilson]
- Coe-56 Add server group update capabilities. [Ash Wilson]
- Coe-51 Added pep8 checking to all tests and SDK, from within tests.
[Ash Wilson]
- Coe-54 Added get_paginated(), tests, and moved ServerGroup.list_all()
to it. [Ash Wilson]
- Coe-53 pep-8 all the things, stub out things too. [Ash Wilson]
- Coe-52 Created SystemAnouncement class. [Ash Wilson]
- Coe-42 Create method and test for describing server group. [Ash
Wilson]
- Coe-50 Corrected according to comments on merge request. [Ash Wilson]
- Coe-47 adding HTTP method-specific components. [Ash Wilson]
- COE-45 Added test cases pursuant to ticket details. [Ash Wilson]
- COE-43 adding getServerDetails method. [Ash Wilson]
- COE-20 Added updateServerGroup() w/ sanity checking. [Ash Wilson]
- COE-40 Get halo.py passing pep8. [Ash Wilson]
- COE-39 removing artifacted cpapi.py and cputils.py. [Ash Wilson]
- Changing layout and naming of project, incorporating tests. [Ash
Wilson]
- Added initiateScan() COE-36. [Ash Wilson]
- Added ldevlin's getAnnouncements() COE-34. [Ash Wilson]
- Deleting foo. [Ash Wilson]
- Updated cpapi to add group delete feature. [Ash Wilson]
- Testing. [Ash Wilson]
- Adding requirements. [Ash Wilson]
- Better catching of auth faulure. [Ash Wilson]
- Merged diff from cpapi.py in cpapi examples repo with this one. See
COE-9. [Ash Wilson]
- Added authTokenScope for exposing key access level. [Ash Wilson]
- Added gitignore. [Ash Wilson]
- Create README.md. [Ash Wilson]
- First commit for the CloudPassage Halo Python SDK. [Apurva Singh]
Raw data
{
"_id": null,
"home_page": "http://github.com/cloudpassage/cloudpassage-halo-python-sdk",
"name": "cloudpassage",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "cloudpassage halo api sdk",
"author": "CloudPassage",
"author_email": "toolbox@cloudpassage.com",
"download_url": "https://files.pythonhosted.org/packages/5d/0b/787fdd42a63f780f21299628a4949b861d47edd3078ccb82aa3d870304b8/cloudpassage-1.6.5.tar.gz",
"platform": null,
"description": "cloudpassage-halo-python-sdk\n============================\n\nPython SDK for CloudPassage Halo API\n------------------------------------\n\n.. image:: https://readthedocs.org/projects/cloudpassage-halo-python-sdk/badge/?version=latest\n\nBranch: master\n\n.. image:: https://codeclimate.com/github/cloudpassage/cloudpassage-halo-python-sdk/badges/gpa.svg\n :target: https://codeclimate.com/github/cloudpassage/cloudpassage-halo-python-sdk\n :alt: Code Climate\n\n.. image:: https://codeclimate.com/github/cloudpassage/cloudpassage-halo-python-sdk/badges/coverage.svg\n :target: https://codeclimate.com/github/cloudpassage/cloudpassage-halo-python-sdk/coverage\n :alt: Test Coverage\n\n.. image:: https://travis-ci.org/cloudpassage/cloudpassage-halo-python-sdk.svg?branch=master\n :target: https://travis-ci.org/cloudpassage/cloudpassage-halo-python-sdk\n\nBranch: develop\n\n.. image:: https://travis-ci.org/cloudpassage/cloudpassage-halo-python-sdk.svg?branch=develop\n :target: https://travis-ci.org/cloudpassage/cloudpassage-halo-python-sdk\n\n\nInstallation\n------------\n\n.. image:: https://badge.fury.io/py/cloudpassage.svg\n :target: https://pypi.python.org/pypi/cloudpassage/\n\nRequirements:\n\n* Python 2.7.10+ or Python 3.6+\n* requests\n* pyaml\n\n\nInstall from pip with ``pip install cloudpassage``. If you want to make\nmodifications to the SDK you can install it in editable mode by downloading\nthe source from this github repo, navigating to the top directory within the\narchive and running ``pip install -e .`` (note the . at the end).\n\nQuick Start\n-----------\n\nHere's the premise: you store your session configuration information (API\ncredentials, proxy settings, etc) in the cloudpassage.HaloSession object.\nThis object gets passed into the various class methods which allow you\nto interact with the CloudPassage Halo API.\n\nPractical example:\nWe'll print a list of all servers in our account:\n\n::\n\n import cloudpassage\n\n api_key = MY_HALO_API_KEY\n api_secret = MY_API_SECRET\n session = cloudpassage.HaloSession(api_key, api_secret)\n server = cloudpassage.Server(session)\n\n list_of_servers = server.list_all()\n for s in list_of_servers:\n print(\"ID: {} Name: {}\".format(s[\"id\"], s[\"hostname\"]))\n\n\n\nDocs\n====\n\nWhere to download\n-----------------\nDocumentation can be found at\nhttp://cloudpassage-halo-python-sdk.readthedocs.io/en/latest/?badge=latest\n\nTesting\n=======\n\nTesting procedure is documented at: http://cloudpassage-halo-python-sdk.readthedocs.io/en/latest/testing.html\n\n\nChangelog\n=========\n\nv1.6.4 (2022-06-22)\n-------------------\n\nFix\n~~~\n- Fixed policy list failures. [Thomas Miller]\n\n\nv1.6.3 (2022-05-23)\n-------------------\n\nChanges\n~~~~~~~\n- Upgrade all deprecated CloudPassage HALO Endpoints. [Thomas Miller]\n\n\nv1.6.1\n------\n\nChanges\n~~~~~~~\n- Add max_pages optional param to Issue list_all method. [Paul Chang]\n- Add support for Container Secure endpoints. [Paul Chang]\n\n\nv1.5.0 (2019-07-27)\n-------------------\n\nChanges\n~~~~~~~\n- Styling for tests. [Paul Chang]\n- More styles. [Paul Chang]\n- Styling. [Paul Chang]\n- Add docs for CSP. [Paul Chang]\n- Add support for Cloud Secure endpoints. [Paul Chang]\n\nFix\n~~~\n- Fixed validation failures on v3 issues ID format. [Ash Wilson]\n\n Closes #194\n\n\nv1.4.0 (2019-06-11)\n-------------------\n\nNew\n~~~\n- API version selectors for abstractions. [Ash Wilson]\n\n Closes #181\n- Create stream() generator method in Event class. [Ash Wilson]\n\n Closes #179\n\nChanges\n~~~~~~~\n- Using safer yaml.SafeLoader in ApiKeyManager. [Ash Wilson]\n- Update version pin for pytest. [Ash Wilson]\n- Add docs for CveDetails. [Ash Wilson]\n\n\nv1.3.0 (2019-03-01)\n-------------------\n\nNew\n~~~\n- Added list_packages() to Server() object. [Ash Wilson]\n\n Closes #165\n\n\nv1.2.2 (2018-10-31)\n-------------------\n\nNew\n~~~\n- Python 3.6.5 support. [Ash Wilson]\n\n\nv1.2 (2018-10-28)\n-----------------\n\nNew\n~~~\n- Python 3.7 support. [Ash Wilson]\n\nChanges\n~~~~~~~\n- Improved deduplication in TimeSeries class. [Ash Wilson]\n\n Expanded deduplication routine to compare against prior\n batch of objects from API. In some extremely rare circumstances,\n multiple different events with the exact same timestamp would slip\n through the deduplication routine `TimeSeries.remove_duplicate_items`.\n This patch improves deduplication while still using the object's\n timestamp as a cursor.\n\n Closes #142\n- Improve documentation of Server() instance methods. [Ash Wilson]\n\n\nv1.1.5 (2018-09-15)\n-------------------\n\nNew\n~~~\n- Use connection pooling. [Ash Wilson]\n\n The SDK now uses connection pooling via the requests.Session() object. This\n brings performance benefits as the SDK will no longer need to open a new TLS\n connection for every interaction with the CloudPassage API.\n\n Connection pool minimum of 1, max of 10 concurrent connections in session.\n Closes #112\n\n Exponential backoff implemented via requests, 5 tries max.\n\n Retry happens in requests via HTTPAdapter for everything but re-auth, which is caught and retried in SDK.\n Closes #113\n\n Migrated CI testing environment.\n Closes #114\n\nChanges\n~~~~~~~\n- Codeclimate coverage for master branch. [Ash Wilson]\n\n Closes #121\n- Testing matrix includes Python2.7.10 and 2.7.15. [Ash Wilson]\n\n We can add more over time, as the need arises. Adding\n another version of Python adds around 12 minutes to total\n CI time per commit, and tests cannot be run in parallel.\n Closes #115\n- Updated requests version pin to >=2.18. [Ash Wilson]\n\n Removed requirements.txt file, which was unnecessary. The\n setup.py file is used by easy_install to ensure dependencies\n are in place.\n Closes #118\n\nOther\n~~~~~\n- Use uuid to generate random alert profile and server group name. [Hana\n Lee]\n\n\nv1.1.4 (2018-03-12)\n-------------------\n- V1.1.4. [Jye Lee]\n\n\nv1.1.3 (2018-03-08)\n-------------------\n- V1.1.3. [Jye Lee]\n\n CS-479 add 429 exception\n chg: usr: Add TimeSeries().stop, which allows a cleaner exit for event/scan/issue streams.\n- V1.1.2 added merge multiple servers to server group. [Hana Lee]\n- CS-458 Python SDK: Move multiple servers into a target group. [Hana\n Lee]\n\n\nv1.1.2 (2018-02-26)\n-------------------\n- V1.1.2 added merge multiple servers to server group. [Hana Lee]\n- CS-458 Python SDK: Move multiple servers into a target group. [Hana\n Lee]\n\n\nv1.1.1 (2018-02-17)\n-------------------\n\nChanges\n~~~~~~~\n- Adding tests for TimeSeries() for events, scans, and issues endpoints.\n [Ash Wilson]\n- Adding docs for TimeSeries class. [Ash Wilson]\n\nOther\n~~~~~\n- V1.1.1. [Jye Lee]\n\n\nv1.1 (2018-01-05)\n-----------------\n- V1.1. [Hana Lee]\n- CS-426 add Agent Upgrades class. [Hana Lee]\n- CS-428 Add CveDetails class. [Hana Lee]\n- CS-428 Add CveDetails class. [Hana Lee]\n- CS-429 add cve exceptions class. [Hana Lee]\n- Conflict. [Hana Lee]\n- CS-427 add processes endpoint to servers class. [Hana Lee]\n- CS-427 add processes endpoint to servers class. [Hana Lee]\n- Add Accept-Encoding 'gzip' [Jye Lee]\n- Add Accept-Encoding 'gzip' [Jye Lee]\n- CS-359 Added traffic discovery endpoint to Server and ServerGroup\n classes. [Hana Lee]\n- Rev to v1.0.6.8. [Jye Lee]\n- Rev to v1.0.6.7. [Jye Lee]\n- CS-322 Fix naming from Server to Issue. [Jye Lee]\n- V1.0.6.6. [Jye Lee]\n\n flake8: expected 2 blank lines, found 1\n- This is it @2. [Hana Lee]\n- This is it. [Hana Lee]\n- Test: see travis. [Hana Lee]\n- Test:add +x. [Hana Lee]\n- Test: use travis.sh. [Hana Lee]\n- Test: edit yml. [Hana Lee]\n- Test: travis.sh. [Hana Lee]\n- Test: script onlt. [Hana Lee]\n- Test: added if statement. [Hana Lee]\n- Test: took up typo. [Hana Lee]\n- Added echo branch. [Hana Lee]\n- Test: added travis after_success. [Hana Lee]\n- Test: print env. [Hana Lee]\n- Test: run py.test. [Hana Lee]\n- Test: run test_wrapper.sh. [Hana Lee]\n- Test: added ls. [Hana Lee]\n- Test: remove --it. [Hana Lee]\n- Test: show docker images. [Hana Lee]\n- Test: added image id. [Hana Lee]\n- Test: put docker run in before_install. [Hana Lee]\n- Test: using docker exec to run test_wrapper.sh. [Hana Lee]\n- Added test_wrapper.sh. [Hana Lee]\n- Edited the changelog. [Hana Lee]\n- Added converge version lock. [Hana Lee]\n- Added email notification. [Hana Lee]\n- Fix logic in api_key_manager class. [Hana Lee]\n- Modified pagination for servers endpoint. [Hana Lee]\n- Fixed logic in api key manager. [Hana Lee]\n\n rev init to 1.0.6.3\n- Fixed logic in api key manager. [Hana Lee]\n- Bug/CS-283 fix kwargs params if 500. [Jye Lee]\n\n remove unexpected spaces around =\n- Rev to 1.0.6.2. [Jye Lee]\n- Bug CS-269 edit doc server_id to issue_id. [Jye Lee]\n\n\nv1.0.6 (2017-05-01)\n-------------------\n- Rev to v1.0.6. [Jye Lee]\n- Fixed flake8. [Hana Lee]\n- Added LocalUserGroup to __init__.py Fixed typo in server.py. [Hana\n Lee]\n- Fixed status_code 500s. [Hana Lee]\n- CS-267 add local user account endpoint to SDK. [Hana Lee]\n- CS-269 add issues endpoint to the SDK. [Jye Lee]\n\n added list_all, describe, and resolve methods\n- CS-259. [Jye Lee]\n\n Add delayed retry to http helper\n- Added required openssl version and python version. [Hana Lee]\n\n\nv1.0.5 (2017-02-18)\n-------------------\n\nChanges\n~~~~~~~\n- Improvents to list FIM baseline with detail information. [Hana Lee]\n\nOther\n~~~~~\n- Fixed Flake8 styling issue. [Hana Lee]\n- Changed the output FIM baseline to include more detail information.\n [Hana Lee]\n- Change the child server group name to avoid \"Name Peer groups cannot\n have the same name\" [Hana Lee]\n\n\nv1.0.4 (2017-01-31)\n-------------------\n- Rev to v1.0.4. [Jye Lee]\n- Fixes firewall log paging. [Spencer Herzberg]\n\n\nv1.0.3 (2017-01-24)\n-------------------\n\nChanges\n~~~~~~~\n- Improvements to server group creation, use grid-side input\n sanitization for post data. [Ash Wilson]\n\nOther\n~~~~~\n- Rev setup.py version to 1.0.3. [Jye Lee]\n- Rev to v1.0.3 to changelog. [Jye Lee]\n- Scan history should use since and until. [Spencer Herzberg]\n\n\nv1.0.1 (2016-12-02)\n-------------------\n\nChanges\n~~~~~~~\n- Docker image now builds with git inside, syntax fix in testing script.\n Set default value in ApiKeyManager for api_port to 443. New testing\n procedure implemented and documented. [Ash Wilson]\n- Re-ordering operations in test_wrapper.sh to better converge testing\n file for api_key_manager.py. Altered unit tests to point to converged\n config file. Installed package in editable mode within container in\n order to get coverage module working. [Ash Wilson]\n- Changed values in portal.yaml file to facilitate testing automation\n with test_wrapper.sh. [Ash Wilson]\n- Added test_wrapper.sh to replace bare command in Dockerfile. This\n allows for dynamic testing behavior, depending on the environment\n variables passed into the container at runtime. [Ash Wilson]\n- Consolidated testing procedure in official, built docs. Links\n provided in README.rst and README.md to published docs containing\n testing procedure. [Ash Wilson]\n\nFix\n~~~\n- Fix: test: Corrected logic for running codeclimate (thanks @mong2)\n [Ash Wilson]\n\nOther\n~~~~~\n- Remove -z from codeclimate if statement. [mong2]\n\n\nv1.0 (2016-11-21)\n-----------------\n- Revert \"remove whitelist and pagination for policies and events\"\n [mong2]\n- Updating CHANGELOG. [Ash Wilson]\n- Changing version to 1.0, removing beta references. [Ash Wilson]\n- Adding unit tests for useragent string composition. [Ash Wilson]\n- Correcting ordering of user agent string composition. [Ash Wilson]\n- Adding integration strings to integration tests. [Ash Wilson]\n- Correcting UA string building logic. [Ash Wilson]\n- Formatting user agent more like RFC 2616 says we should. [Ash Wilson]\n- Fixed sanitizer. [Hana Lee]\n- Fixed server.py to align with flake8. [Hana Lee]\n- Added url sanitizer. [Hana Lee]\n- Fixed expires and comments in fim_baseline create. [Hana Lee]\n- Take out whitelist from event. [Hana Lee]\n- Updating server.py. [Jye Lee]\n- Remove supported_search_fields from servers. [Jye Lee]\n- Revert \"remove whitelist and pagination for policies and events\" [Jye\n Lee]\n\n This reverts commit b78e40d52f08984623772417fea1660122584987.\n- Revert \"remove supported_search fields and get_paginated for scan,\n server, and server_group class/tests\" [Jye Lee]\n\n This reverts commit 906b1e39e55b8155340cbae340d4e8e2c813f508.\n- Remove supported_search fields and get_paginated for scan, server, and\n server_group class/tests. [Jye Lee]\n- Remove whitelist and pagination for policies and events. [Hana Lee]\n- Correcting installation document. [Ash Wilson]\n- Documentation improvements. Building changelog into docs, adding\n version indicator to index. [Ash Wilson]\n- Adding links to built documentation. [Ash Wilson]\n- Improve README.rst formatting. [Ash Wilson]\n- Improving setup.py to include changelog in long description, which is\n published on PyPI. [Ash Wilson]\n\n\nv0.101 (2016-10-18)\n-------------------\n\nNew\n~~~\n- .gitchangelog.rc now takes latest version from\n cloudpassage/__init__.py. [Ash Wilson]\n\nFix\n~~~\n- Flake8 correction in __init__.py. [Ash Wilson]\n- CS-66 Remove ImportError exception for unsupported Python version.\n [Ash Wilson]\n- CS-66 implement soft failure for wrong Python version. [Ash Wilson]\n- Correcting docs build isssues, change revision to v0.101. [Ash Wilson]\n\nOther\n~~~~~\n- Add all supported search fields for servers endpoint. [Jye Lee]\n\n\nv0.100 (2016-10-11)\n-------------------\n\nFix\n~~~\n- Typo = should be == in requirements-testing.txt. [Jye Lee]\n\nOther\n~~~~~\n- Adding CHANGELOG.md. [Ash Wilson]\n- Adding .gitchangelog.rc. [Ash Wilson]\n- Forget to && between commands. [Jye Lee]\n- Add apt-get install git to Dockerfile. [Jye Lee]\n- Add pytest-cov to requirements-testing and codeclimate pkg install to\n Dockerfile. [Jye Lee]\n- Clean up pep8 error blank line at end of file. [Jye Lee]\n- Add group_name to servers.list_all() supported fields Add parent_id to\n server groups create and update. [Jye Lee]\n- CS-55 fix get sam target_id to get linux only. [Jye Lee]\n- CS-53 swap the order of sdk_version_string and integration_string.\n [Jye Lee]\n- CS-41-2 remove sam last_scan_results retrieve. [Jye Lee]\n- Fixing testing deps. [Ash Wilson]\n- CS-33 adding documentation for exception kwargs. [Ash Wilson]\n- CS-37 Corrected bad path, which was breaking doc build. [Ash Wilson]\n- Documentation improvements. [Ash Wilson]\n- CS-40 Improve user_agent string composition. [Ash Wilson]\n- CS-39 added get_sdk_version() to utility. [Ash Wilson]\n- CS-2 missed import libraries. [Jye Lee]\n- CS-2 fix alert_profile, does not have a self.policy_key. [Jye Lee]\n- Pinning pyflakes to 1.2.3. [Ash Wilson]\n- CS-25 fixing spelling and variable naming in __init__.py. [Ash Wilson]\n- CS-25 correcting unnecessary import of sys module. [Ash Wilson]\n- CS-25 re-structuring version comparator. [Ash Wilson]\n- Adding travis-ci build badges for master and develop branches. [Ash\n Wilson]\n- Fixing docs for API key manager. [Ash Wilson]\n- CS-34 flake8 integration tests. [Ash Wilson]\n- CS-35 Make unit tests flake8 compliant. [Ash Wilson]\n- Sanitize exception error codes. [Ash Wilson]\n- CS-32 Re-tooling to work with flake8 v3.0. [Ash Wilson]\n- CS-23 pep8 event integration tests. [Ash Wilson]\n- Pointed to file that would be in an environment not configured for\n integrationt testing. [Ash Wilson]\n- Re-arranging tests for special events policy, getting rid of\n conflicting test for NotImplementedError exception. [Ash Wilson]\n- Fixes to ease transition to flake8. [Ash Wilson]\n- CS-31 moved from pep8 to flake8. [Ash Wilson]\n- Requirements file for testing added, updated dockerfile for flakes\n testing. [Ash Wilson]\n- Removing duplication detector- we will use pyflakes. [Ash Wilson]\n- First stab at codeclimate. [Ash Wilson]\n- Adding codeclimate badges to READMEs. [Ash Wilson]\n- CS-18 Adding RST for pypi pretties. [Ash Wilson]\n- Dockerfile-based travis config is now working. [Ash Wilson]\n- Fixing WORKDIR in Dockerfile. [Ash Wilson]\n- Add -y to apt-get install. [Ash Wilson]\n- Travis to use docker for testing SDK. [Ash Wilson]\n- Correcting grammar in LICENSE. [Ash Wilson]\n- Restructuring test script. [Ash Wilson]\n- First stab at .travis.yml. [Ash Wilson]\n- Added pyflakes config. [Ash Wilson]\n- CS-17 remove print and move bad_statuses into if. [Jye Lee]\n- CS-7 adding python veresion check. [Hana Lee]\n- CS-7 do not support less than python 2.7.10. [Jye Lee]\n- Used systemError and added unit test for python version CS-7. [Hana\n Lee]\n- All references to version number point back to __init__.py file. [Ash\n Wilson]\n- LICENSE. [Ash Wilson]\n\n Adding license file\n\n CS-8 added issues endpoint to server.py\n\n Update test_integration_server.py\n\n CS-8 update agent_firewall_logs to have pagination\n- DOC - Adding specific tested and supported minimum Python version.\n [Ash Wilson]\n- Cleaning up bad commit, redefined methods, and pep8 issues. [Ash\n Wilson]\n- Changed from repr to str method to prevent inclusion of superfluous\n quotes in string. [Ash Wilson]\n- Fixing pep8. [Ash Wilson]\n- Update gitignore. [Ash Wilson]\n- CS-14 Add ability and instructions for building PDF docs. [Ash Wilson]\n- CS-5 Change (true | false) to (bool) [Jye Lee]\n- CS-5 Add Critical to support search field for events, Added to\n DocString. [Jye Lee]\n- CS-2 CRUD for alert_profiles, Fixes squashed. [Jye Lee]\n- CS-3 Remove sam from supported_historical_scans list. [Jye Lee]\n- CS-3 Remove sam from supported_historical_scans list. [Jye Lee]\n- CS-4 Add Describe to Special Events Policies. [Jye Lee]\n- CS-6 update scan finding comment to include CSM and SVA. [Jye Lee]\n- Add exception message feature/CS-13. [Hana Lee]\n- Adding __str__ to exceptions. [mong2]\n\n such that error messages will be printed\n\n\nv0.99 (2016-09-02)\n------------------\n- LICENSE. [Ash Wilson]\n\n Adding license file\n- Improved parsing. [Ash Wilson]\n- Enhanced README. [Ash Wilson]\n- Changing to v0.99 for beta period. [Ash Wilson]\n- Adding requests to requirements.txt. [Ash Wilson]\n- Fixed pep8 issue with == vs is. [Ash Wilson]\n- Coe-230 force key and secret to string. [Ash Wilson]\n- Coe-229 fixed type issues with api key manager, rev setup to 1.0. [Ash\n Wilson]\n- Remove unnecessary print statement. [Ash Wilson]\n- Coe-191 coe-192 Tests use port number, soft fail-around for lack of\n key scope. [Ash Wilson]\n- COE-117 Add cleanup routines for better smoking. [Ash Wilson]\n- COE-158 fix get_sam_target. [Ash Wilson]\n- COE-158 fix get_sam_target. [Ash Wilson]\n- Adding test cases. [Ash Wilson]\n- Coe-153 Bring test coverage to 95% [Ash Wilson]\n- Coe-149 coe-150 pylint 10/10, deduplication of functionality. [Ash\n Wilson]\n- Coe-148 Corrected cyclic import issue in cloudpassage.sanity. [Ash\n Wilson]\n- Coe-152 Documentation update. [Ash Wilson]\n- Coe-152 Documentation update. [Ash Wilson]\n- Coe-151 Add instructions for new testing layout. [Ash Wilson]\n- Coe-131 coe-143 coe-147 update documentation, separate tests by type,\n pylint http_helper. [Ash Wilson]\n- Coe-144 coe-142 create test cases for new functions. [Ash Wilson]\n- Coe-133, 132, 130, 129, 128, 127 pylint cleanup. [Ash Wilson]\n- Coe-135, 136, 137, 138, 139 pylint cleanup. [Ash Wilson]\n- Coe-140 pylint 10/10 utility.py. [Ash Wilson]\n- Coe-141 Add docstrings to methods that will fail if run against an\n empty account. [Ash Wilson]\n- Coe-126 10/10 pylint for event.py. [Ash Wilson]\n- Coe-125 pylint 10/10 for congifiguration_policy.py. [Ash Wilson]\n- Coe-122 Pylint 10/10, removed overrides. Refactored\n api_key_manager.py. [Ash Wilson]\n- Coe-124 pylint __init__.py. [Ash Wilson]\n- Corrected docstrings for pylint. [Ash Wilson]\n- COE-118 pylint cloudpassage/ [Dave Doolin]\n- Completed testing docs. [Ash Wilson]\n- COE-120 bring test coverage to 90%, make corrections in\n FirewallBaseline. [Ash Wilson]\n- COE-85 Cleanup of test_halo.py, test coverage improvements. [Ash\n Wilson]\n- COE-109 Cleaned up api_key_manager a bit, added since/until query for\n scans. [Ash Wilson]\n- COE-111 COE-114 Added api key manager, refactored tests to be atomic,\n added docs. [Ash Wilson]\n- COE-112 Adding input sanity checking for URLs constructed from method\n args. [Ash Wilson]\n- Coe-65 Change fn to utility, refactor all the things. [Ash Wilson]\n- Coe-108 - also advancing version to 0.9.9. [Ash Wilson]\n- Coe-108 changed name to hostname. [Ash Wilson]\n- Coe-58 Added CVE exceptions query, tests, and docs. [Ash Wilson]\n- Added server group delete method. [Ash Wilson]\n- Coe-99 coe-100 Docmentation update. [Ash Wilson]\n- Coe-86 coe-102 Added Events, improved test coverage and documentation.\n [Ash Wilson]\n- Coe-104 coe-103 coe-60 coe-84 coe-98 coe-97 coe-96 coe-94 coe-90\n coe-89 coe-88 coe-87. [Ash Wilson]\n- Coe-82 coe-92 coe-103 Implement inheritance for policies, cleanup docs\n and tests. Complete firewall module. [Ash Wilson]\n- Coe-101 Adding exclusion for html docs. [Ash Wilson]\n- Coe-81 adding coverage to test runner. [Ash Wilson]\n- Coe-18 autogenerating docs from docstrings. [Ash Wilson]\n- Coe-80 coe-48 clean out imp, old cpapi functions. [Ash Wilson]\n- Coe-73 Adding basic firewall policy management functionality. [Ash\n Wilson]\n- Coe-72 Wrapping up FIM module. [Ash Wilson]\n- Coe-71 Rounding off LIDS policy-related functionality. [Ash Wilson]\n- Coe-78 Corrected setup.py, .gitignore. [Ash Wilson]\n- Coe-74 rounding out server.Server functionality. [Ash Wilson]\n- Coe-75 Expanding scans module. [Ash Wilson]\n- Coe-77 Adding basedir and config for docs. [Ash Wilson]\n- Coe-70 Adding configuration policy CRUD. [Ash Wilson]\n- Coe-69 Added server.Server.describe() method. [Ash Wilson]\n- Coe-64 Added server command details method. [Ash Wilson]\n- Coe-68 adding ServerGroup.list_members() and tests. [Ash Wilson]\n- Coe-67 Improve scan initiator and test cases. [Ash Wilson]\n- Coe-63 Added scan initiator module. Some integration tests will be\n fulfilled by coe-66. [Ash Wilson]\n- Coe-59 Add fn.determine_policy_metadata() with tests. [Ash Wilson]\n- Coe-44 add Server.retire() [Ash Wilson]\n- Coe-55 add tests for fn.verify_pages() [Ash Wilson]\n- Coe-57 Adding tests for sanity.py. [Ash Wilson]\n- Coe-61 Adding SpecialEventsPolicy.list_all() [Ash Wilson]\n- Coe-56 Add server group update capabilities. [Ash Wilson]\n- Coe-51 Added pep8 checking to all tests and SDK, from within tests.\n [Ash Wilson]\n- Coe-54 Added get_paginated(), tests, and moved ServerGroup.list_all()\n to it. [Ash Wilson]\n- Coe-53 pep-8 all the things, stub out things too. [Ash Wilson]\n- Coe-52 Created SystemAnouncement class. [Ash Wilson]\n- Coe-42 Create method and test for describing server group. [Ash\n Wilson]\n- Coe-50 Corrected according to comments on merge request. [Ash Wilson]\n- Coe-47 adding HTTP method-specific components. [Ash Wilson]\n- COE-45 Added test cases pursuant to ticket details. [Ash Wilson]\n- COE-43 adding getServerDetails method. [Ash Wilson]\n- COE-20 Added updateServerGroup() w/ sanity checking. [Ash Wilson]\n- COE-40 Get halo.py passing pep8. [Ash Wilson]\n- COE-39 removing artifacted cpapi.py and cputils.py. [Ash Wilson]\n- Changing layout and naming of project, incorporating tests. [Ash\n Wilson]\n- Added initiateScan() COE-36. [Ash Wilson]\n- Added ldevlin's getAnnouncements() COE-34. [Ash Wilson]\n- Deleting foo. [Ash Wilson]\n- Updated cpapi to add group delete feature. [Ash Wilson]\n- Testing. [Ash Wilson]\n- Adding requirements. [Ash Wilson]\n- Better catching of auth faulure. [Ash Wilson]\n- Merged diff from cpapi.py in cpapi examples repo with this one. See\n COE-9. [Ash Wilson]\n- Added authTokenScope for exposing key access level. [Ash Wilson]\n- Added gitignore. [Ash Wilson]\n- Create README.md. [Ash Wilson]\n- First commit for the CloudPassage Halo Python SDK. [Apurva Singh]",
"bugtrack_url": null,
"license": "BSD",
"summary": "Python SDK for CloudPassage Halo API",
"version": "1.6.5",
"project_urls": {
"Homepage": "http://github.com/cloudpassage/cloudpassage-halo-python-sdk"
},
"split_keywords": [
"cloudpassage",
"halo",
"api",
"sdk"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "21fb4777953ae62bf584427c5a7fd4b7607c51ce958a7b4eeb88a271de430e4b",
"md5": "ba13678b3869e21dc475f6713d3db6b4",
"sha256": "22e5758d01fabfb4271af458dcccd99e27c260acceb890375c7eeff486929dca"
},
"downloads": -1,
"filename": "cloudpassage-1.6.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ba13678b3869e21dc475f6713d3db6b4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 59497,
"upload_time": "2024-09-18T10:00:52",
"upload_time_iso_8601": "2024-09-18T10:00:52.351865Z",
"url": "https://files.pythonhosted.org/packages/21/fb/4777953ae62bf584427c5a7fd4b7607c51ce958a7b4eeb88a271de430e4b/cloudpassage-1.6.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5d0b787fdd42a63f780f21299628a4949b861d47edd3078ccb82aa3d870304b8",
"md5": "f32fb303c6c304a3bf0f18ca55995d29",
"sha256": "9445125f4bd461b58b24a96c3ad8a43f1d4f7fef535290a2aa1d2fc8e80dadbe"
},
"downloads": -1,
"filename": "cloudpassage-1.6.5.tar.gz",
"has_sig": false,
"md5_digest": "f32fb303c6c304a3bf0f18ca55995d29",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 48242,
"upload_time": "2024-09-18T09:56:51",
"upload_time_iso_8601": "2024-09-18T09:56:51.119136Z",
"url": "https://files.pythonhosted.org/packages/5d/0b/787fdd42a63f780f21299628a4949b861d47edd3078ccb82aa3d870304b8/cloudpassage-1.6.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-18 09:56:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "cloudpassage",
"github_project": "cloudpassage-halo-python-sdk",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"lcname": "cloudpassage"
}