Posted on July 26, 2022
We’re excited to announce the release of v1.4.0 of the Carbon Black Cloud Python SDK.
There are several new features in this release:
Report
from a Feed
.The Policy
object has been moved from cbc_sdk.endpoint_standard
to cbc_sdk.platform
, as it
now uses the new Policy Services API rather than the old APIs through Integration Services.
As a result of this, you must now use a custom API key with permissions under org.policies
to manage policies, rather than an older “API key.”
To enable time to update integration logic, the cbc_sdk.endpoint_standard Policy
object may still
be imported from the old package, and supports operations that are backwards-compatible with the old one.
However, when developing a new integration, or updating an existing one, cbc_sdk.platform
should be used
for importing the Policy
object. There is a utility class PolicyBuilder
that can make it easier to
create new policies, and as features are added to the Carbon Black Cloud, they will be added to this module.
Also, support for Python 3.6 has been officially dropped, since that version is now at end-of-life. Upgrade to the latest version of Python 3.7, or a newer version, if possible. Explicit testing support during builds has also been added for Python 3.9 and 3.10.
Here’s a complete changelog for this release of the SDK which includes some less visible changes:
Policy
object has been moved from cbc_sdk.endpoint_standard
to cbc_sdk.platform
, as it now uses the new
Policy Services API rather than the old APIs through Integration Services.
org.policies
to manage
policies, rather than an older “API key.”cbc_sdk.endpoint_standard Policy
object may still be imported
from the old package, and supports operations that are backwards-compatible with the old one.cbc_sdk.platform
should be used. There is a utility
class PolicyBuilder
, and as features are added to the Carbon Black Cloud, they will be added to this module.Report
from a Feed
.revoked
property from Grant
objects.lxml
is now 4.9.1.max_rows
to USB device query, fixing pagination.Device
fields that are never populated.Device
documentation.BaseAlertSearchQuery.set_types
so that it mentions all valid alert types.Open an issue in the GitHub Repository or check out other ways to contact us.