Skip to content

Commit

Permalink
Merge pull request #20 from epam/added_index
Browse files Browse the repository at this point in the history
upd: added index(comment) to all rules
  • Loading branch information
anna-shcherbak authored Aug 23, 2023
2 parents 2bbf751 + 1fb3342 commit 9d60206
Show file tree
Hide file tree
Showing 547 changed files with 4,469 additions and 3,981 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ policies:
value:
- "0.0.0.0/0"
- "::/0"
comment: '0024062000'
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ policies:
key: 'NotAfter'
op: lt
value: 7

comment: '0029022000'
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ policies:
key: 'NotAfter'
op: lt
value: 30

comment: '0029022000'
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ policies:
- type: snapshot-age
op: le
days: 14

comment: '0049042000'
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ policies:
selectorList: selectorList[?AdvancedEventSelectors[?FieldSelectors[?Field == 'eventCategory' && Equals[?contains(@, 'Management')==`true`]] && !(FieldSelectors[?Field=='readOnly']) && !(FieldSelectors[?Field=='eventSource'])] || EventSelectors[?IncludeManagementEvents==`true` && ReadWriteType=='All']]
op: eq
value: 0

comment: '0016010300'
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ policies:
filters:
- type: used
- type: has-allow-all

comment: '0022000301'
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ policies:
- type: credential
key: access_keys.last_used_date
value: null

comment: '0033000301'
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ policies:
filters:
- type: account-iam-role-light-filter
value: AWSSupportAccess

comment: '0022000301'
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ policies:
configurationChangesAlarmList: "\\(\\(\\$\\.errorCode=\"\\*UnauthorizedOperation\"\\) ?\\|\\| ?\\(\\$\\.errorCode=\"AccessDenied\\*\"\\)\\) ?&& ?\\(\\(\\$\\.sourceIPAddress!=(\")?delivery\\.logs\\.amazonaws\\.com(\")?\\) ?&& ?\\(\\$\\.eventName!=(\")?HeadBucket(\")?\\)\\)"
op: eq
value: 0

comment: '0016010300'
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ policies:
key: PublicAccessBlockConfiguration.RestrictPublicBuckets
op: eq
value: false

comment: '0040010300'
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ policies:
- Effect: Allow
Action: '*'
Principal: '*'
comment: '0033042001'
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ policies:
configurationChangesAlarmList: "\\(\\$\\.eventName ?= ?\"ConsoleLogin\"\\) ?&& ?\\(\\$\\.additionalEventData.MFAUsed ?!= ?\"Yes\"\\) ?&& ?\\(\\$\\.userIdentity\\.type ?= ?\"IAMUser\"\\) ?&& ?\\(\\$.responseElements\\.ConsoleLogin ?= ?\"Success\"\\)"
op: eq
value: 0

comment: '0016010300'
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ policies:
configurationChangesAlarmList: "(\\()? ?\\$\\.userIdentity\\.type ?= ?\"Root\" ?(\\))? ?\\&\\& ?(\\(?) ?\\$\\.userIdentity\\.invokedBy NOT EXISTS ?(\\))? ?&& ?(\\()? ?\\$\\.eventType ?!= ?\"AwsServiceEvent\" ?(\\))?"
op: eq
value: 0

comment: '0016010300'
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ policies:
configurationChangesAlarmList: "(\\()? ?\\$\\.eventName=DeleteGroupPolicy ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName=DeleteRolePolicy ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName=DeleteUserPolicy(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName=PutGroupPolicy(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName=PutRolePolicy(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName=PutUserPolicy ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName=CreatePolicy ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName=DeletePolicy ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName=CreatePolicyVersion ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName=DeletePolicyVersion(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName=AttachRolePolicy ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName=DetachRolePolicy ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName=AttachUserPolicy ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName=DetachUserPolicy ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName=AttachGroupPolicy ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName=DetachGroupPolicy ?(\\))?"
op: eq
value: 0

comment: '0016010300'
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ policies:
configurationChangesAlarmList: "(\\()? ?\\$\\.eventName ?= ?(\")?CreateTrail(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?UpdateTrail(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DeleteTrail(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?StartLogging(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?StopLogging(\")? ?(\\))?"
op: eq
value: 0

comment: '0016010300'
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ policies:
configurationChangesAlarmList: "(\\()? ?\\$\\.eventName ?= ?(\")?ConsoleLogin(\")? ?(\\))? ?&& ?(\\()? ?\\$\\.errorMessage ?= ?(\")?Failed authentication(\")? ?(\\))?"
op: eq
value: 0

comment: '0016010300'
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ policies:
configurationChangesAlarmList: "(\\()? ?\\$\\.eventSource ?= ?(\")?kms\\.amazonaws\\.com(\")? ?(\\))? ?&& ?\\((\\()? ?\\$\\.eventName ?= ?(\")?DisableKey(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?ScheduleKeyDeletion(\")? ?(\\))?\\)"
op: eq
value: 0

comment: '0016010300'
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ policies:
filters:
- type: cloudtrail-s3-logging
enabled: false

comment: '0019010300'
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ policies:
- key: Action
op: eq
value: "*"

comment: '0033030400'
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ policies:
configurationChangesAlarmList: "(\\()? ?\\$\\.eventSource ?= ?(\")?s3\\.amazonaws\\.com(\")? ?(\\))? ?&& ?\\((\\()? ?\\$\\.eventName ?= ?(\")?PutBucketAcl(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?PutBucketPolicy(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?PutBucketCors(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?PutBucketLifecycle(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?PutBucketReplication(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DeleteBucketPolicy(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DeleteBucketCors(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DeleteBucketLifecycle(\")? ?(\\)) ?\\|\\| ?(\\() ?\\$\\.eventName ?= ?(\")?DeleteBucketReplication(\")? ?(\\))? ?\\)"
op: eq
value: 0

comment: '0016010300'
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ policies:
configurationChangesAlarmList: "(\\()? ?\\$\\.eventSource ?= ?(\")?config\\.amazonaws\\.com(\")? ?(\\))? ?&& ?\\((\\()? ?\\$\\.eventName ?= ?(\")?StopConfigurationRecorder(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DeleteDeliveryChannel(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?PutDeliveryChannel(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?PutConfigurationRecorder(\")? ?(\\))? ?\\)"
op: eq
value: 0

comment: '0016010300'
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ policies:
configurationChangesAlarmList: "(\\()? ?\\$\\.eventName ?= ?(\")?AuthorizeSecurityGroupIngress(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?AuthorizeSecurityGroupEgress(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?RevokeSecurityGroupIngress(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?RevokeSecurityGroupEgress(\")? ?(\\))? ?\\|\\| ?(\\()?\\$\\.eventName ?= ?(\")?CreateSecurityGroup(\")? ?(\\))? ?\\|\\| ?(\\()?\\$\\.eventName ?= ?(\")?DeleteSecurityGroup(\")? ?(\\))?"
op: eq
value: 0

comment: '0016010300'
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ policies:
configurationChangesAlarmList: "(\\()? ?\\$\\.eventName ?= ?(\")?CreateNetworkAcl(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?CreateNetworkAclEntry(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DeleteNetworkAcl(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DeleteNetworkAclEntry(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?ReplaceNetworkAclEntry(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?ReplaceNetworkAclAssociation(\")? ?(\\))?"
op: eq
value: 0

comment: '0016010300'
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ policies:
configurationChangesAlarmList: "(\\()? ?\\$\\.eventName ?= ?(\")?CreateCustomerGateway(\")?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DeleteCustomerGateway(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?AttachInternetGateway(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?CreateInternetGateway(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DeleteInternetGateway(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DetachInternetGateway(\")? ?(\\))?"
op: eq
value: 0

comment: '0016010300'
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ policies:
configurationChangesAlarmList: "(\\()? ?\\$\\.eventName ?= ?(\")?CreateRoute(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?CreateRouteTable(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?ReplaceRoute(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?ReplaceRouteTableAssociation(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DeleteRouteTable(\")? ?(\\))? ?\\|\\| ?(\\()?\\$\\.eventName ?= ?(\")?DeleteRoute(\")? ?(\\)) ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DisassociateRouteTable(\")? ?(\\))?"
op: eq
value: 0

comment: '0016010300'
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ policies:
configurationChangesAlarmList: "(\\()? ?\\$\\.eventName ?= ?(\")?CreateVpc(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DeleteVpc(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?ModifyVpcAttribute(\")? ?(\\)) ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?AcceptVpcPeeringConnection(\")? ?(\\))? ?\\|\\| ?(\\()?\\$\\.eventName ?= ?(\")?CreateVpcPeeringConnection(\")?(\\))? ?\\|\\| ?(\\()?\\$\\.eventName ?= ?(\")?DeleteVpcPeeringConnection(\")? ?(\\)) ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?RejectVpcPeeringConnection(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?AttachClassicLinkVpc(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DetachClassicLinkVpc(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DisableVpcClassicLink(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?EnableVpcClassicLink(\")?(\\))?"
op: eq
value: 0

comment: '0016010300'
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ policies:
key: EncryptionType
op: eq
value: NONE
comment: '0029052000'
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ policies:
key: Encrypted
op: eq
value: false
comment: '0043082000'
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ policies:
resource: ecs-service
filters:
- type: ecs-task-definition-filter

comment: '0033082000'
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ policies:
required-ports: 9200, 9300, 11211, 27017, 61620, 9090, 22, 389, 1521, 2483, 6379, 7000, 7199, 8888, 9042, 9160, 3389
egress: false
cidr: ["0.0.0.0/0", "::/0"]
comment: '0040092000'
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ policies:
required-ports: 135, 636, 1433, 2383, 2484, 3306, 5432, 7001, 9000, 11214, 11215, 23, 445, 25, 110, 137, 138, 139, 161, 53, 3000, 3020, 4505, 4506, 8000, 8080, 5500, 5900, 1434, 2382, 8140, 27018, 61621
egress: false
cidr: ["0.0.0.0/0", "::/0"]
comment: '0040032000'
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ policies:
required-ports: 135, 636, 2383, 2484, 3306, 5432, 7001, 9000, 11214, 11215, 23, 445, 25, 110, 137, 138, 139, 161, 53, 3000, 3020, 4505, 4506, 8000, 8080, 5500, 5900, 1434, 2382, 8140, 27018, 61621, 1433
egress: false
cidr: ["0.0.0.0/0", "::/0"]
comment: '0040022000'
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ policies:
required-ports: 22, 3389, 9090, 389, 1521, 2483, 6379, 7000, 7199, 8888, 9042, 9160, 9200, 9300, 11211, 27017, 61620
egress: false
cidr: ["0.0.0.0/0", "::/0"]
comment: '0040022000'
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ policies:
required-ports: 61621, 8140, 2382, 1434, 5900, 5500, 8080, 8000, 4506, 4505, 3020, 3000, 53, 161, 139, 138, 137, 110, 25, 445, 23, 11215, 27018, 11214, 9000, 7001, 5432, 3306, 2484, 2383, 1433, 636, 135
egress: false
cidr: ["0.0.0.0/0", "::/0"]
comment: '0040022000'
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ policies:
required-ports: 22, 3389, 9090, 389, 1521, 2483, 6379, 7000, 7199, 8888, 9042, 9160, 9200, 9300, 11211, 27017, 61620
egress: false
cidr: ["0.0.0.0/0", "::/0"]
comment: '0040022000'
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ policies:
selectorList: selectorList[?EventSelectors[?DataResources[?Type=='AWS::S3::Object' && Values==['arn:aws:s3']] && (ReadWriteType=='All' || ReadWriteType=='WriteOnly' )] || AdvancedEventSelectors[?FieldSelectors[?Equals[?contains(@, 'AWS::S3::Object')==`true`] && Field == 'resources.type'] && FieldSelectors[?Field == 'eventCategory' && Equals[?contains(@, 'Data')==`true`]] && !(FieldSelectors[?Field=='resources.ARN']) && ( !(FieldSelectors[?Field=='readOnly']) || (FieldSelectors[?contains(values(@), 'readOnly') && Equals[?contains(@, 'true')==`false`]] ))]]
op: eq
value: 0

comment: '0019010300'
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ policies:
selectorList: selectorList[?EventSelectors[?DataResources[?Type=='AWS::S3::Object'] && (ReadWriteType=='All' || ReadWriteType=='ReadOnly' )] || AdvancedEventSelectors[?FieldSelectors[? Equals[?contains(@, 'AWS::S3::Object')==`true`] && Field == 'resources.type'] && FieldSelectors[?Field == 'eventCategory' && Equals[?contains(@, 'Data')==`true`]] && ( !(FieldSelectors[?Field=='readOnly']) || (FieldSelectors[?contains(values(@), 'readOnly') && Equals[?contains(@, 'true')==`true`]] ))]]
op: eq
value: 0

comment: '0019010300'
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ policies:
configurationChangesAlarmList: "{ ?(\\()? ?\\$\\.eventSource ?= ?organizations\\.amazonaws\\.com(\\))? ?&& ?\\( ?(\\()? ?\\$\\.eventName ?= ?(\")?AcceptHandshake(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?AttachPolicy(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?CreateAccount(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?CreateOrganizationalUnit(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?CreatePolicy(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DeclineHandshake(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DeleteOrganization(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DeleteOrganizationalUnit(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DeletePolicy(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DetachPolicy(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?DisablePolicyType(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?EnablePolicyType(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?InviteAccountToOrganization(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?LeaveOrganization(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?MoveAccount(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?RemoveAccountFromOrganization(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?UpdatePolicy(\")? ?(\\))? ?\\|\\| ?(\\()? ?\\$\\.eventName ?= ?(\")?UpdateOrganizationalUnit(\")? ?(\\))? ?\\) ?}"
op: eq
value: 0

comment: '0016010300'
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ policies:
required-ports: 22,3389
cidr: 0.0.0.0/0
rule-action: allow
comment: '0024020300'
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ policies:
op: eq
- not:
- type: elasticsearch-domain-filter

comment: '0050052000'
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ policies:
key: SourceType=='db-cluster' && SourceIdsList==null && ( EventCategoriesList==null || (EventCategoriesList.contains(@, 'failure')==`true` && EventCategoriesList.contains(@'maintenance')==`true`)) && Enabled==`true`
value: true
op: eq

comment: '0032062000'
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ policies:
key: SourceType=='db-instance' && SourceIdsList==null && ( EventCategoriesList==null || (EventCategoriesList.contains(@, 'configuration change')==`true` && EventCategoriesList.contains(@, 'failure')==`true` && EventCategoriesList.contains(@, 'maintenance')==`true`)) && Enabled==`true`
value: true
op: eq

comment: '0032062000'
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ policies:
key: SourceType=='db-parameter-group' && SourceIdsList==null && ( EventCategoriesList==null || EventCategoriesList.contains(@, 'configuration change')==`true`) && Enabled==`true`
value: true
op: eq

comment: '0032062000'
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ policies:
key: SourceType=='db-security-group' && Enabled==`true` && SourceIdsList==null && ( EventCategoriesList==null || length(EventCategoriesList[])==`2`)
value: true
op: eq

comment: '0032062000'
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ policies:
required-ports: 1433, 1521, 3306, 5432
- type: vpc-security-group-inbound-ports
required-ports: 1433, 1521, 3306, 5432
comment: '0024062000'
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ policies:
value: 0
- type: auto-scaling
enabled: false

comment: '0005062000'
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ policies:
- type: value
key: RotationEnabled
value: absent
comment: '0028092000'
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ policies:
- type: value
key: LastRotatedDate
value: present

comment: '0028092000'
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ policies:
- type: value
key: LastAccessedDate
value: empty
comment: '0002092000'
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ policies:
key: KeyManager
op: eq
value: AWS

comment: '0045142000'
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ policies:
key: AcceptanceRequired
op: eq
value: false
comment: '0024022000'
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ policies:
filters:
- type: redis-memcache-filter
port: ["11211", "6379"]
comment: '0024062000'
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ policies:
key: IsDefault
op: eq
value: true
comment: '0024062000'
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ policies:
parameters:
- key: log_output
value: FILE
comment: '0019062000'
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ policies:
IAM Access Analyzer findings are not reviewed and resolved
filters:
- type: analyzer-findings-filter
comment: '0016002000'
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ policies:
key: LoadBalancerType
op: eq
value: "application"
comment: '0019030400'
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ policies:
filters:
- not:
- type: describe-configuration-settings-filter
comment: '0032032000'
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ policies:
key: ManagedActionsEnabled
op: eq
value: "false"
comment: '0021030400'
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ policies:
resource: sqs
filters:
- type: redrive-policy-sqs-filter
comment: '0023142000'
Loading

0 comments on commit 9d60206

Please sign in to comment.