Releases: code42/incydr_python
Releases · code42/incydr_python
v1.1.0
1.1.0 - 2023-05-01
Added
- Better error messaging when authentication parameters or env vars missing when instantiating the
incydr.Clientor running CLI commands. - Missing authentication parameters (
url,api_client_id, orapi_client_secret) causes client to raise new exception type:AuthMissingError. incydr.exceptionsmodule has been added to the public API.- Support for Agents APIs, including:
- An
agents.v1client to the SDK with the following methods:client.agents.v1.get_page()to query a single page of agents.client.agents.v1.iter_all()to lazily iterate through all pages of agents.client.agents.v1.get_agent()to retrieve details of a single agent by ID.client.agents.v1.update()to update thenameorexternalReferencefield of an agent.client.agents.v1.activate()to activate a list of agents by their IDs.client.agents.v1.deactivate()to deactivate a list of agents by their IDs.
- A set of
agentsCLI commands:incydr agents listto list all agents in your environment (in table, CSV, or JSON formats).incydr agents showto show the details of a given agent by ID.incydr agents bulk-activateto activate a set of agents from CSV or JSON-LINES file input.incydr agents bulk-deactivateto deactivate a set of agents from CSV or JSON-LINES file input.
- An
- New search terms on the incydr.enums.file_events.EventSearchTerm enum, enabling full support for querying the latest file event fields.
- New file event field models:
AcquiredFromGit,AcquiredFromSourceUser,UntrustedValues. - Various other additions to existing model fields