Cmem-plugin-base

Latest version: v4.9.0

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

4.9.0

Added

- TypedEntitySchema - A custom entity schema that holds entities of a specific type (e.g. files)
- FileEntitySchema - Entity schema that holds a collection of files
- testing module with different context classes for tests:
- TestUserContext
- TestPluginContext
- TestTaskContext
- TestExecutionContext
- TestSystemContext

4.8.0

Added

- The execution report also contains sample entities now (CMEM-3664):
- For plugins that don't update the execution report by themselves, DataIntegration will automatically add sample entities.
- Plugins that update the execution report can add sample entities to `ExecutionReport.sample_entities`.

4.7.0

Added

- Added workflow status to execution context. This can be used to check if the workflow task has been cancelled by the user: `context.workflow.status() != "Canceling"`
- Added workflow identifier to execution context: `context.workflow.workflow_id()`
- Added package_name to PluginDescription. This is read by DataIntegration and part of the plugin JSON.

4.6.0

Fixed

- discover_plugins function to make sure all package modules are re-imported freshly

4.5.0

Added

- util method to generate entities from python dict | list object
- parameter sub_schemata in EntitySchema to capture nested entity schemata

Changed

- renamed EntityPath parameter is_uri to is_relation
- renamed EntitySchema parameter sub_path to path_to_root

4.4.0

Added

- capabilities for hierarchical entities as input and output of workflow tasks

Page 1 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.