Pycfmodel

Latest version: v0.22.0

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

Scan your dependencies

Page 7 of 9

0.8.0

Additions
- New function `pycfmodel.model.resources.properties.policy_document.PolicyDocument.get_allowed_actions`
Improvements
- Improve action expansion to support `NotAction`
- Improve Cloudformation action file generator
- Update Cloudformation actions to latest
- Improved tests
- New optional parameters added to `pycfmodel.model.resources.properties.statement.Statement.get_action_list`
- New optional parameters added to `pycfmodel.action_expander._expand_action`
- New optional parameters added to `pycfmodel.action_expander._expand_actions`
Fixes
- Fix isort testing issue

0.7.2

Improvements
- Added all cloudformation actions file (script to generate them and test to check for new actions)
- Added `expand_actions`, it will return a new model expading stars to get all implied actions
- Added `get_expanded_action_list` to Statement to get all implied actions

0.7.1

Improvements
- Refactor `SecurityGroupIngress`, `SecurityGroupEgress`, `SecurityGroupIngressProp` and `SecurityGroupEgressProp`.
- `SecurityGroupEgress` also supports `ipv4_slash_zero` and `ipv6_slash_zero`.

0.7.0

Improvements
- `CidrIp` and `CidrIpv6` properties of Security Group ingress and egress now use type `IPv4Network` and `IPv6Network` respectively.
- This has led to modified `ipv4_slash_zero` and `ipv6_slash_zero` functions.

0.6.4

Fixes
- Allow multiple operands in `or` and `and` functions.

0.6.3

Added
- Added support for `Rules` section in template
- Added tests for `allowed_principals_with` and `non_whitelisted_allowed_principals`
Fixes
- Fix types in `allowed_principals_with`, `non_whitelisted_allowed_principals` and `PSEUDO_PARAMETERS`.

Page 7 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.