Skip to content

Commit

Permalink
remove changes from other pr
Browse files Browse the repository at this point in the history
  • Loading branch information
Max-Huneshagen committed Nov 13, 2023
1 parent 383223c commit 5b83fae
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 124 deletions.
16 changes: 0 additions & 16 deletions cfripper/config/regex.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,19 +173,3 @@
- sns:Get*
"""
REGEX_HAS_STAR_OR_STAR_AFTER_COLON = re.compile(r"^(\w*:)*[*?]+$")


"""
Check that stack name only consists of alphanumerical characters and hyphens.
Valid:
- abcdefg
- ABCDEFG
- abcdEFG
- aBc-DeFG
- a1b2c3
Invalid:
- abc_defg
- AB:cdefg
- !@£$$%aA
"""
REGEX_ALPHANUMERICAL_OR_HYPHEN = re.compile(r"^[A-Za-z0-9\-]+$")
2 changes: 0 additions & 2 deletions cfripper/rules/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
SQSQueuePolicyNotPrincipalRule,
SQSQueuePolicyPublicRule,
)
from cfripper.rules.stack_name_matches_regex import StackNameMatchesRegexRule
from cfripper.rules.storage_encrypted_rule import StorageEncryptedRule
from cfripper.rules.wildcard_policies import (
GenericResourceWildcardPolicyRule,
Expand Down Expand Up @@ -97,7 +96,6 @@
SQSQueuePolicyNotPrincipalRule,
SQSQueuePolicyPublicRule,
SQSQueuePolicyWildcardActionRule,
StackNameMatchesRegexRule,
WildcardResourceRule,
)
}
Expand Down
46 changes: 0 additions & 46 deletions cfripper/rules/stack_name_matches_regex.py

This file was deleted.

60 changes: 0 additions & 60 deletions tests/rules/test_StackNameMatchesRegexRule.py

This file was deleted.

0 comments on commit 5b83fae

Please sign in to comment.