Skip to content

Commit

Permalink
Refactor rules (#77)
Browse files Browse the repository at this point in the history
* Revert issue where S3CrossAccountTrustRule would accept whitelisted aws accounts

* Fix cross-account rules

* Refactor

* Bump to 0.11.0

* fix canonical ids and services

* fix format

* remove unused import
  • Loading branch information
jsoucheiron authored and oscarbc96 committed Nov 21, 2019
1 parent 82d8ed7 commit 4db9f36
Show file tree
Hide file tree
Showing 50 changed files with 321 additions and 463 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ All notable changes to this project will be documented in this file.

## [0.11.0] - 2019-11-20
### Breaking changes
- Moved some files from model to rules, renamed rules to match pythonic style
- Moved some files from model to rules, renamed rules to match pythonic style. Moved tons of classes around
### Fixes
- Fix a regression that caused `S3CrossAccountTrustRule` and `CrossAccountTrustRule` not to alert whenever
cross-account permissions are found within the allowed list of aws accounts.
- `CrossAccountTrustRule` wrongly say that AWS canonical ids and services were a cross-account relationship.

## [0.10.2] - 2019-11-20
### Added
Expand Down
38 changes: 0 additions & 38 deletions cfripper/rules/CrossAccountTrustRule.py

This file was deleted.

27 changes: 0 additions & 27 deletions cfripper/rules/FullWildcardPrincipalRule.py

This file was deleted.

30 changes: 0 additions & 30 deletions cfripper/rules/IAMRoleWildcardActionOnPermissionsPolicyRule.py

This file was deleted.

30 changes: 0 additions & 30 deletions cfripper/rules/IAMRoleWildcardActionOnTrustPolicyRule.py

This file was deleted.

33 changes: 0 additions & 33 deletions cfripper/rules/PartialWildcardPrincipal.py

This file was deleted.

30 changes: 0 additions & 30 deletions cfripper/rules/S3BucketPolicyWildcardActionRule.py

This file was deleted.

30 changes: 0 additions & 30 deletions cfripper/rules/S3BucketPublicReadWriteAclRule.py

This file was deleted.

32 changes: 0 additions & 32 deletions cfripper/rules/S3CrossAccountTrustRule.py

This file was deleted.

30 changes: 0 additions & 30 deletions cfripper/rules/SQSQueuePolicyNotPrincipalRule.py

This file was deleted.

31 changes: 0 additions & 31 deletions cfripper/rules/SQSQueuePolicyWildcardActionRule.py

This file was deleted.

28 changes: 0 additions & 28 deletions cfripper/rules/SecurityGroupIngressOpenToWorld.py

This file was deleted.

32 changes: 0 additions & 32 deletions cfripper/rules/SecurityGroupMissingEgressRule.py

This file was deleted.

Loading

0 comments on commit 4db9f36

Please sign in to comment.