Policyglass

Latest version: v0.8.0

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

Scan your dependencies

Page 2 of 3

0.4.5

- Fixed PolicyShards with _additional_ conditions not being marked as subsets of shards that had a subset of those conditions
- Ensured that conditions are taken into effect properly for PolicyShard's `issubset`

0.4.4

- Fixed equal `EffectiveARPs` not being considerered subsets of each toher.
- Fixed PolicyShard's `difference` to consider `conditions` and `not_conditions` in whether the shards overlap wholly.
- Updated PolicyShard's `difference` to only add a `difference` shard if there _is_ in fact a difference.
- Updated PolicyShard's `difference` to add a `PolicyShard` that is identical to self with other's condition as a not_condition if the conditions are not equal.
- Updated Policyshard's `difference` to create every possible combination of `difference_<ARP>`, `self.effective_<ARP>` and `intersection_<ARP>` and then dedupe the results to accurately compute the difference. (The test result of `difference/test_policyshard.py::deny_action_and_resource_subsets` is not how I would express it but is accurate.)
- Fixed PolicyShard equality not considering not_conditions
- EffectiveARP - If any of other's exclusions excludes something self DOESN'T then self is not a subset of other.
- EffectiveARP - Fixed `issubset` bug when self was excluded by other.
- Consider a `PolicyShard` that has a condition a subset of a `PolicyShard` that doesn't have a condition if all other signs point to it being a subset.

0.4.3

- Fixed bug causing `EffectiveARP` exclusions not to be honoured by `difference` methods.

0.4.2

- Fixed bug causing Condition Keys and Operators to be swapped.

0.4.1

- Improved formatting of `PolicyShard` explain.

0.4.0

- Added `PolicyShard` explain.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.