Libcovebods

Latest version: v0.15.0

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

Scan your dependencies

Page 1 of 3

0.15.0

This Release marks a very big refactoring to use with new cove and new libcove2 library.

Added

- DataReader class
- Sample mode
- Flag to DataReader classes
- libcovebods/run_tasks.py has TASK_CLASSES and TASK_CLASSES_IN_SAMPLE_MODE
- Classes for python checks have new method get_additional_check_types_possible so Cove can get more info

Changed

- CLI interface
- libcovebods/additionalfields.py has AdditionalFields class for additional fields checks
- libcovebods/jsonschemavalidate.py has JSONSchemaValidator for JSON schema checks
- libcovebods/run_tasks.py has process_additional_checks for Python checks that produce statistics and additional checks
- legacy Task classes have been split and new classes created:
- StatisticAddress
- StatisticsCurrentOwnershipOrControlStatementsAndReplacesStatementsMissing
- LegacyChecksNeedingHistory
- classes for each task - does_apply_to_schema method becomes static so can be called without setting up any complex things that __init__ may do

Removed

- Support for Python 3.6 as that is end of life
- Support for Python 3.7 as that is end of life in a few months
- All old API's

0.14.0

Changed

- requirements: Update Django to 3.2 LTS

0.13.0

Added

- Schema version 0.3
- Schema class has new method is_schema_version_equal_to_or_greater_than()
- New statistic: count of interest objects with different directOrIndirect values. For 0.3+
- Schema class has new method get_ownership_or_control_statement_interest_direct_or_indirect_list() for this
- New check: has public listing information but has public listing is false. For 0.3+
- New check: statement entityType and entitySubtype.generalCategory do not align. For 0.3+
- New check: marketIdentifierCode / operatingMarketIdentifierCode - check one not missing. For 0.3+
- New statistic: count ownership or control statement with at least one interest beneficial
- New statistic: count person statements have pep status statuses
- New check: has pep details without missing info but incorrect pep status. For 0.2 only
- New check: has pep details but incorrect pep status. For 0.3+
- New check: has pep details with missing info but incorrect pep status. Different rules are used for 0.2 only and 0.3+

Changed

- Updated included schema files, and added instructions on how to do that to the README
- Refactored libcovebods/lib/common_checks.py
- Classes RunAdditionalChecks and GetStatistics are gone, refactored to LegacyChecks and LegacyStatistics
- New abstract class AdditionalCheck - can be extended by other classes to have better seperation in the future
- New function process_additional_checks available to do work

Removed

- Removed statistic: count person statements have pep status and reason missing info

0.12.0

Added

- New additional check type, "statement_is_beneficialOwnershipOrControl_but_no_person_specified" https://github.com/openownership/lib-cove-bods/issues/47

0.11.0

Added

- New additional check type, "unknown_schema_version_used" https://github.com/openownership/cove-bods/issues/56
-- Used if some other type than a string given (eg a dict, list)
-- Used if a string is given but it's a version we don't know about
-- Used if a blank string is given
-- Used if a version with patch number is given (eg 0.2.0 instead of 0.2)

Changed

- If a version is specified in "bodsVersion" that does not exist, then it will assume the latest version
(previously it assumed the default version)
- Checking for inconsistent schema versions works against the schema the data tries to use in the first statement
(previously it worked against the version that was assumed)

0.10.1

Fixed

- A crash when statementID is not a string https://github.com/openownership/cove-bods/issues/67

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.