Releases: code42/incydr_python
Releases · code42/incydr_python
v1.2.0
1.2.0 - 2024-3-18
Added
- The following agent health related fields will be present on the response when retrieving agents:
serialNumbermachineIdagentHealthIssueTypes
- Additional optional args in the SDK's agent client for filtering by agent health.
client.agents.v1.get_page()andclient.agents.v1.get_page()now accept:agent_healthy: bool- Retrieve only healthy agents withTrueor only unhealthy agents withFalse. Defaults to returning all agents.agent_health_issue_types: List[str] | str- Retrieve agents with any of the given health issues. Ex:NOT_CONNECTING
- Additional options in the CLI's agent command group for filtering by agent health:
incydr agents listnow accepts:--healthy- Retrieve only healthy agents.--unhealthy- Retrieve only unhealthy agents.- Pass a comma separated list of health issue types to the unhealthy option to filter for agents with any of the given health issues. Ex:
--unhealthy NOT_CONNECTING,NOT_SENDING_SECURITY_EVENTS - Use
incydr agents list --helpto see more specifics on the new command options.
- See the SDK documentation and the CLI documentation for more details.
v1.1.2
1.1.2 - 2023-12-11
Fixed
- Saved search filter values can now accept a list of strings. Prior to this fix this was incorrectly resulting in a model validation error.
v1.1.1
1.1.1 - 2023-10-03
Fixed
- Pinned Pydantic version to major version
1.*following the release of Pydantic 2.0.
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