-
Notifications
You must be signed in to change notification settings - Fork 855
/
Operational-Best-Practices-for-NYDFS-23-NYCRR-500.yaml
1507 lines (1506 loc) · 46.6 KB
/
Operational-Best-Practices-for-NYDFS-23-NYCRR-500.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
##################################################################################
#
# Conformance Pack:
# Operational Best Practices for New York State Department Of Financial Services (NYDFS)
# cybersecurity requirements for financial services companies (23 NYCRR 500).
#
# This conformance pack helps verify compliance with US NYDFS 23 NYCRR 500 requirements.
#
# See Parameters section for names and descriptions of required parameters.
#
##################################################################################
Parameters:
AccessKeysRotatedParamMaxAccessKeyAge:
Default: '90'
Type: String
AcmCertificateExpirationCheckParamDaysToExpiration:
Default: '90'
Type: String
BackupPlanMinFrequencyAndMinRetentionCheckParamRequiredFrequencyUnit:
Default: days
Type: String
BackupPlanMinFrequencyAndMinRetentionCheckParamRequiredFrequencyValue:
Default: '1'
Type: String
BackupPlanMinFrequencyAndMinRetentionCheckParamRequiredRetentionDays:
Default: '35'
Type: String
CwLoggroupRetentionPeriodCheckParamMinRetentionTime:
Default: '1827'
Type: String
IamPasswordPolicyParamMaxPasswordAge:
Default: '90'
Type: String
IamPasswordPolicyParamMinimumPasswordLength:
Default: '14'
Type: String
IamPasswordPolicyParamPasswordReusePrevention:
Default: '24'
Type: String
IamPasswordPolicyParamRequireLowercaseCharacters:
Default: 'true'
Type: String
IamPasswordPolicyParamRequireNumbers:
Default: 'true'
Type: String
IamPasswordPolicyParamRequireSymbols:
Default: 'true'
Type: String
IamPasswordPolicyParamRequireUppercaseCharacters:
Default: 'true'
Type: String
IamUserUnusedCredentialsCheckParamMaxCredentialUsageAge:
Default: '90'
Type: String
InternetGatewayAuthorizedVpcOnlyParamAuthorizedVpcIds:
Default: ''
Type: String
RestrictedIncomingTrafficParamBlockedPort1:
Default: '20'
Type: String
RestrictedIncomingTrafficParamBlockedPort2:
Default: '21'
Type: String
RestrictedIncomingTrafficParamBlockedPort3:
Default: '3389'
Type: String
RestrictedIncomingTrafficParamBlockedPort4:
Default: '3306'
Type: String
RestrictedIncomingTrafficParamBlockedPort5:
Default: '4333'
Type: String
S3AccountLevelPublicAccessBlocksPeriodicParamBlockPublicAcls:
Default: 'true'
Type: String
S3AccountLevelPublicAccessBlocksPeriodicParamBlockPublicPolicy:
Default: 'true'
Type: String
S3AccountLevelPublicAccessBlocksPeriodicParamIgnorePublicAcls:
Default: 'true'
Type: String
S3AccountLevelPublicAccessBlocksPeriodicParamRestrictPublicBuckets:
Default: 'true'
Type: String
VpcSgOpenOnlyToAuthorizedPortsParamAuthorizedTcpPorts:
Default: '443'
Type: String
Resources:
AccessKeysRotated:
Properties:
ConfigRuleName: access-keys-rotated
InputParameters:
maxAccessKeyAge:
Fn::If:
- accessKeysRotatedParamMaxAccessKeyAge
- Ref: AccessKeysRotatedParamMaxAccessKeyAge
- Ref: AWS::NoValue
Source:
Owner: AWS
SourceIdentifier: ACCESS_KEYS_ROTATED
Type: AWS::Config::ConfigRule
AcmCertificateExpirationCheck:
Properties:
ConfigRuleName: acm-certificate-expiration-check
InputParameters:
daysToExpiration:
Fn::If:
- acmCertificateExpirationCheckParamDaysToExpiration
- Ref: AcmCertificateExpirationCheckParamDaysToExpiration
- Ref: AWS::NoValue
Scope:
ComplianceResourceTypes:
- AWS::ACM::Certificate
Source:
Owner: AWS
SourceIdentifier: ACM_CERTIFICATE_EXPIRATION_CHECK
Type: AWS::Config::ConfigRule
AlbHttpDropInvalidHeaderEnabled:
Properties:
ConfigRuleName: alb-http-drop-invalid-header-enabled
Scope:
ComplianceResourceTypes:
- AWS::ElasticLoadBalancingV2::LoadBalancer
Source:
Owner: AWS
SourceIdentifier: ALB_HTTP_DROP_INVALID_HEADER_ENABLED
Type: AWS::Config::ConfigRule
AlbHttpToHttpsRedirectionCheck:
Properties:
ConfigRuleName: alb-http-to-https-redirection-check
Source:
Owner: AWS
SourceIdentifier: ALB_HTTP_TO_HTTPS_REDIRECTION_CHECK
Type: AWS::Config::ConfigRule
AlbWafEnabled:
Properties:
ConfigRuleName: alb-waf-enabled
Scope:
ComplianceResourceTypes:
- AWS::ElasticLoadBalancingV2::LoadBalancer
Source:
Owner: AWS
SourceIdentifier: ALB_WAF_ENABLED
Type: AWS::Config::ConfigRule
ApiGwAssociatedWithWaf:
Properties:
ConfigRuleName: api-gw-associated-with-waf
Scope:
ComplianceResourceTypes:
- AWS::ApiGateway::Stage
Source:
Owner: AWS
SourceIdentifier: API_GW_ASSOCIATED_WITH_WAF
Type: AWS::Config::ConfigRule
ApiGwCacheEnabledAndEncrypted:
Properties:
ConfigRuleName: api-gw-cache-enabled-and-encrypted
Scope:
ComplianceResourceTypes:
- AWS::ApiGateway::Stage
Source:
Owner: AWS
SourceIdentifier: API_GW_CACHE_ENABLED_AND_ENCRYPTED
Type: AWS::Config::ConfigRule
ApiGwExecutionLoggingEnabled:
Properties:
ConfigRuleName: api-gw-execution-logging-enabled
Scope:
ComplianceResourceTypes:
- AWS::ApiGateway::Stage
- AWS::ApiGatewayV2::Stage
Source:
Owner: AWS
SourceIdentifier: API_GW_EXECUTION_LOGGING_ENABLED
Type: AWS::Config::ConfigRule
ApiGwSslEnabled:
Properties:
ConfigRuleName: api-gw-ssl-enabled
Scope:
ComplianceResourceTypes:
- AWS::ApiGateway::Stage
Source:
Owner: AWS
SourceIdentifier: API_GW_SSL_ENABLED
Type: AWS::Config::ConfigRule
AutoscalingGroupElbHealthcheckRequired:
Properties:
ConfigRuleName: autoscaling-group-elb-healthcheck-required
Scope:
ComplianceResourceTypes:
- AWS::AutoScaling::AutoScalingGroup
Source:
Owner: AWS
SourceIdentifier: AUTOSCALING_GROUP_ELB_HEALTHCHECK_REQUIRED
Type: AWS::Config::ConfigRule
AutoscalingLaunchConfigPublicIpDisabled:
Properties:
ConfigRuleName: autoscaling-launch-config-public-ip-disabled
Scope:
ComplianceResourceTypes:
- AWS::AutoScaling::LaunchConfiguration
Source:
Owner: AWS
SourceIdentifier: AUTOSCALING_LAUNCH_CONFIG_PUBLIC_IP_DISABLED
Type: AWS::Config::ConfigRule
BackupPlanMinFrequencyAndMinRetentionCheck:
Properties:
ConfigRuleName: backup-plan-min-frequency-and-min-retention-check
InputParameters:
requiredFrequencyUnit:
Fn::If:
- backupPlanMinFrequencyAndMinRetentionCheckParamRequiredFrequencyUnit
- Ref: BackupPlanMinFrequencyAndMinRetentionCheckParamRequiredFrequencyUnit
- Ref: AWS::NoValue
requiredFrequencyValue:
Fn::If:
- backupPlanMinFrequencyAndMinRetentionCheckParamRequiredFrequencyValue
- Ref: BackupPlanMinFrequencyAndMinRetentionCheckParamRequiredFrequencyValue
- Ref: AWS::NoValue
requiredRetentionDays:
Fn::If:
- backupPlanMinFrequencyAndMinRetentionCheckParamRequiredRetentionDays
- Ref: BackupPlanMinFrequencyAndMinRetentionCheckParamRequiredRetentionDays
- Ref: AWS::NoValue
Scope:
ComplianceResourceTypes:
- AWS::Backup::BackupPlan
Source:
Owner: AWS
SourceIdentifier: BACKUP_PLAN_MIN_FREQUENCY_AND_MIN_RETENTION_CHECK
Type: AWS::Config::ConfigRule
BackupRecoveryPointEncrypted:
Properties:
ConfigRuleName: backup-recovery-point-encrypted
Scope:
ComplianceResourceTypes:
- AWS::Backup::RecoveryPoint
Source:
Owner: AWS
SourceIdentifier: BACKUP_RECOVERY_POINT_ENCRYPTED
Type: AWS::Config::ConfigRule
BackupRecoveryPointManualDeletionDisabled:
Properties:
ConfigRuleName: backup-recovery-point-manual-deletion-disabled
Scope:
ComplianceResourceTypes:
- AWS::Backup::BackupVault
Source:
Owner: AWS
SourceIdentifier: BACKUP_RECOVERY_POINT_MANUAL_DELETION_DISABLED
Type: AWS::Config::ConfigRule
BeanstalkEnhancedHealthReportingEnabled:
Properties:
ConfigRuleName: beanstalk-enhanced-health-reporting-enabled
Scope:
ComplianceResourceTypes:
- AWS::ElasticBeanstalk::Environment
Source:
Owner: AWS
SourceIdentifier: BEANSTALK_ENHANCED_HEALTH_REPORTING_ENABLED
Type: AWS::Config::ConfigRule
CloudTrailCloudWatchLogsEnabled:
Properties:
ConfigRuleName: cloud-trail-cloud-watch-logs-enabled
Source:
Owner: AWS
SourceIdentifier: CLOUD_TRAIL_CLOUD_WATCH_LOGS_ENABLED
Type: AWS::Config::ConfigRule
CloudTrailEnabled:
Properties:
ConfigRuleName: cloudtrail-enabled
Source:
Owner: AWS
SourceIdentifier: CLOUD_TRAIL_ENABLED
Type: AWS::Config::ConfigRule
CloudTrailEncryptionEnabled:
Properties:
ConfigRuleName: cloud-trail-encryption-enabled
Source:
Owner: AWS
SourceIdentifier: CLOUD_TRAIL_ENCRYPTION_ENABLED
Type: AWS::Config::ConfigRule
CloudTrailLogFileValidationEnabled:
Properties:
ConfigRuleName: cloud-trail-log-file-validation-enabled
Source:
Owner: AWS
SourceIdentifier: CLOUD_TRAIL_LOG_FILE_VALIDATION_ENABLED
Type: AWS::Config::ConfigRule
CloudtrailS3DataeventsEnabled:
Properties:
ConfigRuleName: cloudtrail-s3-dataevents-enabled
Source:
Owner: AWS
SourceIdentifier: CLOUDTRAIL_S3_DATAEVENTS_ENABLED
Type: AWS::Config::ConfigRule
CloudwatchAlarmActionCheck:
Properties:
ConfigRuleName: cloudwatch-alarm-action-check
InputParameters:
alarmActionRequired: 'true'
insufficientDataActionRequired: 'true'
okActionRequired: 'false'
Scope:
ComplianceResourceTypes:
- AWS::CloudWatch::Alarm
Source:
Owner: AWS
SourceIdentifier: CLOUDWATCH_ALARM_ACTION_CHECK
Type: AWS::Config::ConfigRule
CloudwatchLogGroupEncrypted:
Properties:
ConfigRuleName: cloudwatch-log-group-encrypted
Source:
Owner: AWS
SourceIdentifier: CLOUDWATCH_LOG_GROUP_ENCRYPTED
Type: AWS::Config::ConfigRule
CodebuildProjectArtifactEncryption:
Properties:
ConfigRuleName: codebuild-project-artifact-encryption
Scope:
ComplianceResourceTypes:
- AWS::CodeBuild::Project
Source:
Owner: AWS
SourceIdentifier: CODEBUILD_PROJECT_ARTIFACT_ENCRYPTION
Type: AWS::Config::ConfigRule
CodebuildProjectEnvvarAwscredCheck:
Properties:
ConfigRuleName: codebuild-project-envvar-awscred-check
Scope:
ComplianceResourceTypes:
- AWS::CodeBuild::Project
Source:
Owner: AWS
SourceIdentifier: CODEBUILD_PROJECT_ENVVAR_AWSCRED_CHECK
Type: AWS::Config::ConfigRule
CodebuildProjectLoggingEnabled:
Properties:
ConfigRuleName: codebuild-project-logging-enabled
Scope:
ComplianceResourceTypes:
- AWS::CodeBuild::Project
Source:
Owner: AWS
SourceIdentifier: CODEBUILD_PROJECT_LOGGING_ENABLED
Type: AWS::Config::ConfigRule
CodebuildProjectSourceRepoUrlCheck:
Properties:
ConfigRuleName: codebuild-project-source-repo-url-check
Scope:
ComplianceResourceTypes:
- AWS::CodeBuild::Project
Source:
Owner: AWS
SourceIdentifier: CODEBUILD_PROJECT_SOURCE_REPO_URL_CHECK
Type: AWS::Config::ConfigRule
CwLoggroupRetentionPeriodCheck:
Properties:
ConfigRuleName: cw-loggroup-retention-period-check
InputParameters:
MinRetentionTime:
Fn::If:
- cwLoggroupRetentionPeriodCheckParamMinRetentionTime
- Ref: CwLoggroupRetentionPeriodCheckParamMinRetentionTime
- Ref: AWS::NoValue
Source:
Owner: AWS
SourceIdentifier: CW_LOGGROUP_RETENTION_PERIOD_CHECK
Type: AWS::Config::ConfigRule
DbInstanceBackupEnabled:
Properties:
ConfigRuleName: db-instance-backup-enabled
Scope:
ComplianceResourceTypes:
- AWS::RDS::DBInstance
Source:
Owner: AWS
SourceIdentifier: DB_INSTANCE_BACKUP_ENABLED
Type: AWS::Config::ConfigRule
DmsReplicationNotPublic:
Properties:
ConfigRuleName: dms-replication-not-public
Scope:
ComplianceResourceTypes: []
Source:
Owner: AWS
SourceIdentifier: DMS_REPLICATION_NOT_PUBLIC
Type: AWS::Config::ConfigRule
DynamodbAutoscalingEnabled:
Properties:
ConfigRuleName: dynamodb-autoscaling-enabled
Scope:
ComplianceResourceTypes:
- AWS::DynamoDB::Table
Source:
Owner: AWS
SourceIdentifier: DYNAMODB_AUTOSCALING_ENABLED
Type: AWS::Config::ConfigRule
DynamodbInBackupPlan:
Properties:
ConfigRuleName: dynamodb-in-backup-plan
Source:
Owner: AWS
SourceIdentifier: DYNAMODB_IN_BACKUP_PLAN
Type: AWS::Config::ConfigRule
DynamodbPitrEnabled:
Properties:
ConfigRuleName: dynamodb-pitr-enabled
Scope:
ComplianceResourceTypes:
- AWS::DynamoDB::Table
Source:
Owner: AWS
SourceIdentifier: DYNAMODB_PITR_ENABLED
Type: AWS::Config::ConfigRule
DynamodbTableEncryptedKms:
Properties:
ConfigRuleName: dynamodb-table-encrypted-kms
Scope:
ComplianceResourceTypes:
- AWS::DynamoDB::Table
Source:
Owner: AWS
SourceIdentifier: DYNAMODB_TABLE_ENCRYPTED_KMS
Type: AWS::Config::ConfigRule
EbsInBackupPlan:
Properties:
ConfigRuleName: ebs-in-backup-plan
Source:
Owner: AWS
SourceIdentifier: EBS_IN_BACKUP_PLAN
Type: AWS::Config::ConfigRule
EbsOptimizedInstance:
Properties:
ConfigRuleName: ebs-optimized-instance
Scope:
ComplianceResourceTypes:
- AWS::EC2::Instance
Source:
Owner: AWS
SourceIdentifier: EBS_OPTIMIZED_INSTANCE
Type: AWS::Config::ConfigRule
EbsSnapshotPublicRestorableCheck:
Properties:
ConfigRuleName: ebs-snapshot-public-restorable-check
Source:
Owner: AWS
SourceIdentifier: EBS_SNAPSHOT_PUBLIC_RESTORABLE_CHECK
Type: AWS::Config::ConfigRule
Ec2EbsEncryptionByDefault:
Properties:
ConfigRuleName: ec2-ebs-encryption-by-default
Source:
Owner: AWS
SourceIdentifier: EC2_EBS_ENCRYPTION_BY_DEFAULT
Type: AWS::Config::ConfigRule
Ec2Imdsv2Check:
Properties:
ConfigRuleName: ec2-imdsv2-check
Scope:
ComplianceResourceTypes:
- AWS::EC2::Instance
Source:
Owner: AWS
SourceIdentifier: EC2_IMDSV2_CHECK
Type: AWS::Config::ConfigRule
Ec2InstanceDetailedMonitoringEnabled:
Properties:
ConfigRuleName: ec2-instance-detailed-monitoring-enabled
Scope:
ComplianceResourceTypes:
- AWS::EC2::Instance
Source:
Owner: AWS
SourceIdentifier: EC2_INSTANCE_DETAILED_MONITORING_ENABLED
Type: AWS::Config::ConfigRule
Ec2InstanceNoPublicIp:
Properties:
ConfigRuleName: ec2-instance-no-public-ip
Scope:
ComplianceResourceTypes:
- AWS::EC2::Instance
Source:
Owner: AWS
SourceIdentifier: EC2_INSTANCE_NO_PUBLIC_IP
Type: AWS::Config::ConfigRule
Ec2ManagedinstanceAssociationComplianceStatusCheck:
Properties:
ConfigRuleName: ec2-managedinstance-association-compliance-status-check
Scope:
ComplianceResourceTypes:
- AWS::SSM::AssociationCompliance
Source:
Owner: AWS
SourceIdentifier: EC2_MANAGEDINSTANCE_ASSOCIATION_COMPLIANCE_STATUS_CHECK
Type: AWS::Config::ConfigRule
EcsTaskDefinitionUserForHostModeCheck:
Properties:
ConfigRuleName: ecs-task-definition-user-for-host-mode-check
Scope:
ComplianceResourceTypes:
- AWS::ECS::TaskDefinition
Source:
Owner: AWS
SourceIdentifier: ECS_TASK_DEFINITION_USER_FOR_HOST_MODE_CHECK
Type: AWS::Config::ConfigRule
EfsEncryptedCheck:
Properties:
ConfigRuleName: efs-encrypted-check
Source:
Owner: AWS
SourceIdentifier: EFS_ENCRYPTED_CHECK
Type: AWS::Config::ConfigRule
EfsInBackupPlan:
Properties:
ConfigRuleName: efs-in-backup-plan
Source:
Owner: AWS
SourceIdentifier: EFS_IN_BACKUP_PLAN
Type: AWS::Config::ConfigRule
ElasticacheRedisClusterAutomaticBackupCheck:
Properties:
ConfigRuleName: elasticache-redis-cluster-automatic-backup-check
Source:
Owner: AWS
SourceIdentifier: ELASTICACHE_REDIS_CLUSTER_AUTOMATIC_BACKUP_CHECK
Type: AWS::Config::ConfigRule
ElasticsearchEncryptedAtRest:
Properties:
ConfigRuleName: elasticsearch-encrypted-at-rest
Source:
Owner: AWS
SourceIdentifier: ELASTICSEARCH_ENCRYPTED_AT_REST
Type: AWS::Config::ConfigRule
ElasticsearchInVpcOnly:
Properties:
ConfigRuleName: elasticsearch-in-vpc-only
Source:
Owner: AWS
SourceIdentifier: ELASTICSEARCH_IN_VPC_ONLY
Type: AWS::Config::ConfigRule
ElasticsearchLogsToCloudwatch:
Properties:
ConfigRuleName: elasticsearch-logs-to-cloudwatch
Scope:
ComplianceResourceTypes:
- AWS::Elasticsearch::Domain
Source:
Owner: AWS
SourceIdentifier: ELASTICSEARCH_LOGS_TO_CLOUDWATCH
Type: AWS::Config::ConfigRule
ElasticsearchNodeToNodeEncryptionCheck:
Properties:
ConfigRuleName: elasticsearch-node-to-node-encryption-check
Scope:
ComplianceResourceTypes:
- AWS::Elasticsearch::Domain
Source:
Owner: AWS
SourceIdentifier: ELASTICSEARCH_NODE_TO_NODE_ENCRYPTION_CHECK
Type: AWS::Config::ConfigRule
ElbAcmCertificateRequired:
Properties:
ConfigRuleName: elb-acm-certificate-required
Scope:
ComplianceResourceTypes:
- AWS::ElasticLoadBalancing::LoadBalancer
Source:
Owner: AWS
SourceIdentifier: ELB_ACM_CERTIFICATE_REQUIRED
Type: AWS::Config::ConfigRule
ElbCrossZoneLoadBalancingEnabled:
Properties:
ConfigRuleName: elb-cross-zone-load-balancing-enabled
Scope:
ComplianceResourceTypes:
- AWS::ElasticLoadBalancing::LoadBalancer
Source:
Owner: AWS
SourceIdentifier: ELB_CROSS_ZONE_LOAD_BALANCING_ENABLED
Type: AWS::Config::ConfigRule
ElbDeletionProtectionEnabled:
Properties:
ConfigRuleName: elb-deletion-protection-enabled
Scope:
ComplianceResourceTypes:
- AWS::ElasticLoadBalancingV2::LoadBalancer
Source:
Owner: AWS
SourceIdentifier: ELB_DELETION_PROTECTION_ENABLED
Type: AWS::Config::ConfigRule
ElbLoggingEnabled:
Properties:
ConfigRuleName: elb-logging-enabled
Scope:
ComplianceResourceTypes:
- AWS::ElasticLoadBalancing::LoadBalancer
- AWS::ElasticLoadBalancingV2::LoadBalancer
Source:
Owner: AWS
SourceIdentifier: ELB_LOGGING_ENABLED
Type: AWS::Config::ConfigRule
ElbTlsHttpsListenersOnly:
Properties:
ConfigRuleName: elb-tls-https-listeners-only
Scope:
ComplianceResourceTypes:
- AWS::ElasticLoadBalancing::LoadBalancer
Source:
Owner: AWS
SourceIdentifier: ELB_TLS_HTTPS_LISTENERS_ONLY
Type: AWS::Config::ConfigRule
Elbv2AcmCertificateRequired:
Properties:
ConfigRuleName: elbv2-acm-certificate-required
Source:
Owner: AWS
SourceIdentifier: ELBV2_ACM_CERTIFICATE_REQUIRED
Type: AWS::Config::ConfigRule
EmrKerberosEnabled:
Properties:
ConfigRuleName: emr-kerberos-enabled
Source:
Owner: AWS
SourceIdentifier: EMR_KERBEROS_ENABLED
Type: AWS::Config::ConfigRule
EmrMasterNoPublicIp:
Properties:
ConfigRuleName: emr-master-no-public-ip
Scope:
ComplianceResourceTypes: []
Source:
Owner: AWS
SourceIdentifier: EMR_MASTER_NO_PUBLIC_IP
Type: AWS::Config::ConfigRule
EncryptedVolumes:
Properties:
ConfigRuleName: encrypted-volumes
Scope:
ComplianceResourceTypes:
- AWS::EC2::Volume
Source:
Owner: AWS
SourceIdentifier: ENCRYPTED_VOLUMES
Type: AWS::Config::ConfigRule
GuarddutyEnabledCentralized:
Properties:
ConfigRuleName: guardduty-enabled-centralized
Source:
Owner: AWS
SourceIdentifier: GUARDDUTY_ENABLED_CENTRALIZED
Type: AWS::Config::ConfigRule
IamGroupHasUsersCheck:
Properties:
ConfigRuleName: iam-group-has-users-check
Scope:
ComplianceResourceTypes:
- AWS::IAM::Group
Source:
Owner: AWS
SourceIdentifier: IAM_GROUP_HAS_USERS_CHECK
Type: AWS::Config::ConfigRule
IamNoInlinePolicyCheck:
Properties:
ConfigRuleName: iam-no-inline-policy-check
Scope:
ComplianceResourceTypes:
- AWS::IAM::User
- AWS::IAM::Role
- AWS::IAM::Group
Source:
Owner: AWS
SourceIdentifier: IAM_NO_INLINE_POLICY_CHECK
Type: AWS::Config::ConfigRule
IamPasswordPolicy:
Properties:
ConfigRuleName: iam-password-policy
InputParameters:
MaxPasswordAge:
Fn::If:
- iamPasswordPolicyParamMaxPasswordAge
- Ref: IamPasswordPolicyParamMaxPasswordAge
- Ref: AWS::NoValue
MinimumPasswordLength:
Fn::If:
- iamPasswordPolicyParamMinimumPasswordLength
- Ref: IamPasswordPolicyParamMinimumPasswordLength
- Ref: AWS::NoValue
PasswordReusePrevention:
Fn::If:
- iamPasswordPolicyParamPasswordReusePrevention
- Ref: IamPasswordPolicyParamPasswordReusePrevention
- Ref: AWS::NoValue
RequireLowercaseCharacters:
Fn::If:
- iamPasswordPolicyParamRequireLowercaseCharacters
- Ref: IamPasswordPolicyParamRequireLowercaseCharacters
- Ref: AWS::NoValue
RequireNumbers:
Fn::If:
- iamPasswordPolicyParamRequireNumbers
- Ref: IamPasswordPolicyParamRequireNumbers
- Ref: AWS::NoValue
RequireSymbols:
Fn::If:
- iamPasswordPolicyParamRequireSymbols
- Ref: IamPasswordPolicyParamRequireSymbols
- Ref: AWS::NoValue
RequireUppercaseCharacters:
Fn::If:
- iamPasswordPolicyParamRequireUppercaseCharacters
- Ref: IamPasswordPolicyParamRequireUppercaseCharacters
- Ref: AWS::NoValue
Source:
Owner: AWS
SourceIdentifier: IAM_PASSWORD_POLICY
Type: AWS::Config::ConfigRule
IamPolicyNoStatementsWithAdminAccess:
Properties:
ConfigRuleName: iam-policy-no-statements-with-admin-access
Scope:
ComplianceResourceTypes:
- AWS::IAM::Policy
Source:
Owner: AWS
SourceIdentifier: IAM_POLICY_NO_STATEMENTS_WITH_ADMIN_ACCESS
Type: AWS::Config::ConfigRule
IamRootAccessKeyCheck:
Properties:
ConfigRuleName: iam-root-access-key-check
Source:
Owner: AWS
SourceIdentifier: IAM_ROOT_ACCESS_KEY_CHECK
Type: AWS::Config::ConfigRule
IamUserGroupMembershipCheck:
Properties:
ConfigRuleName: iam-user-group-membership-check
Scope:
ComplianceResourceTypes:
- AWS::IAM::User
Source:
Owner: AWS
SourceIdentifier: IAM_USER_GROUP_MEMBERSHIP_CHECK
Type: AWS::Config::ConfigRule
IamUserMfaEnabled:
Properties:
ConfigRuleName: iam-user-mfa-enabled
Source:
Owner: AWS
SourceIdentifier: IAM_USER_MFA_ENABLED
Type: AWS::Config::ConfigRule
IamUserNoPoliciesCheck:
Properties:
ConfigRuleName: iam-user-no-policies-check
Scope:
ComplianceResourceTypes:
- AWS::IAM::User
Source:
Owner: AWS
SourceIdentifier: IAM_USER_NO_POLICIES_CHECK
Type: AWS::Config::ConfigRule
IamUserUnusedCredentialsCheck:
Properties:
ConfigRuleName: iam-user-unused-credentials-check
InputParameters:
maxCredentialUsageAge:
Fn::If:
- iamUserUnusedCredentialsCheckParamMaxCredentialUsageAge
- Ref: IamUserUnusedCredentialsCheckParamMaxCredentialUsageAge
- Ref: AWS::NoValue
Source:
Owner: AWS
SourceIdentifier: IAM_USER_UNUSED_CREDENTIALS_CHECK
Type: AWS::Config::ConfigRule
IncomingSshDisabled:
Properties:
ConfigRuleName: restricted-ssh
Scope:
ComplianceResourceTypes:
- AWS::EC2::SecurityGroup
Source:
Owner: AWS
SourceIdentifier: INCOMING_SSH_DISABLED
Type: AWS::Config::ConfigRule
InstancesInVpc:
Properties:
ConfigRuleName: ec2-instances-in-vpc
Scope:
ComplianceResourceTypes:
- AWS::EC2::Instance
Source:
Owner: AWS
SourceIdentifier: INSTANCES_IN_VPC
Type: AWS::Config::ConfigRule
InternetGatewayAuthorizedVpcOnly:
Properties:
ConfigRuleName: internet-gateway-authorized-vpc-only
Scope:
ComplianceResourceTypes:
- AWS::EC2::InternetGateway
Source:
Owner: AWS
SourceIdentifier: INTERNET_GATEWAY_AUTHORIZED_VPC_ONLY
InputParameters:
AuthorizedVpcIds:
Fn::If:
- internetGatewayAuthorizedVpcOnlyParamAuthorizedVpcIds
- Ref: InternetGatewayAuthorizedVpcOnlyParamAuthorizedVpcIds
- Ref: AWS::NoValue
Type: AWS::Config::ConfigRule
KinesisStreamEncrypted:
Properties:
ConfigRuleName: kinesis-stream-encrypted
Scope:
ComplianceResourceTypes:
- AWS::Kinesis::Stream
Source:
Owner: AWS
SourceIdentifier: KINESIS_STREAM_ENCRYPTED
Type: AWS::Config::ConfigRule
LambdaFunctionPublicAccessProhibited:
Properties:
ConfigRuleName: lambda-function-public-access-prohibited
Scope:
ComplianceResourceTypes:
- AWS::Lambda::Function
Source:
Owner: AWS
SourceIdentifier: LAMBDA_FUNCTION_PUBLIC_ACCESS_PROHIBITED
Type: AWS::Config::ConfigRule
LambdaInsideVpc:
Properties:
ConfigRuleName: lambda-inside-vpc
Scope:
ComplianceResourceTypes:
- AWS::Lambda::Function
Source:
Owner: AWS
SourceIdentifier: LAMBDA_INSIDE_VPC
Type: AWS::Config::ConfigRule
MfaEnabledForIamConsoleAccess:
Properties:
ConfigRuleName: mfa-enabled-for-iam-console-access
Source:
Owner: AWS
SourceIdentifier: MFA_ENABLED_FOR_IAM_CONSOLE_ACCESS
Type: AWS::Config::ConfigRule
MultiRegionCloudTrailEnabled:
Properties:
ConfigRuleName: multi-region-cloudtrail-enabled
Source:
Owner: AWS
SourceIdentifier: MULTI_REGION_CLOUD_TRAIL_ENABLED
Type: AWS::Config::ConfigRule
NoUnrestrictedRouteToIgw:
Properties:
ConfigRuleName: no-unrestricted-route-to-igw
Scope:
ComplianceResourceTypes:
- AWS::EC2::RouteTable
Source:
Owner: AWS
SourceIdentifier: NO_UNRESTRICTED_ROUTE_TO_IGW
Type: AWS::Config::ConfigRule
OpensearchAuditLoggingEnabled:
Properties:
ConfigRuleName: opensearch-audit-logging-enabled
Scope:
ComplianceResourceTypes:
- AWS::OpenSearch::Domain
Source:
Owner: AWS
SourceIdentifier: OPENSEARCH_AUDIT_LOGGING_ENABLED
Type: AWS::Config::ConfigRule
OpensearchEncryptedAtRest:
Properties:
ConfigRuleName: opensearch-encrypted-at-rest
Scope:
ComplianceResourceTypes:
- AWS::OpenSearch::Domain
Source:
Owner: AWS
SourceIdentifier: OPENSEARCH_ENCRYPTED_AT_REST
Type: AWS::Config::ConfigRule
OpensearchInVpcOnly:
Properties:
ConfigRuleName: opensearch-in-vpc-only
Scope:
ComplianceResourceTypes:
- AWS::OpenSearch::Domain
Source:
Owner: AWS
SourceIdentifier: OPENSEARCH_IN_VPC_ONLY
Type: AWS::Config::ConfigRule
OpensearchLogsToCloudwatch:
Properties:
ConfigRuleName: opensearch-logs-to-cloudwatch
Scope:
ComplianceResourceTypes:
- AWS::OpenSearch::Domain
Source:
Owner: AWS
SourceIdentifier: OPENSEARCH_LOGS_TO_CLOUDWATCH
Type: AWS::Config::ConfigRule
OpensearchNodeToNodeEncryptionCheck:
Properties:
ConfigRuleName: opensearch-node-to-node-encryption-check
Scope:
ComplianceResourceTypes:
- AWS::OpenSearch::Domain
Source:
Owner: AWS
SourceIdentifier: OPENSEARCH_NODE_TO_NODE_ENCRYPTION_CHECK
Type: AWS::Config::ConfigRule
RdsEnhancedMonitoringEnabled:
Properties:
ConfigRuleName: rds-enhanced-monitoring-enabled
Scope:
ComplianceResourceTypes:
- AWS::RDS::DBInstance
Source:
Owner: AWS
SourceIdentifier: RDS_ENHANCED_MONITORING_ENABLED
Type: AWS::Config::ConfigRule
RdsInBackupPlan:
Properties:
ConfigRuleName: rds-in-backup-plan
Source:
Owner: AWS
SourceIdentifier: RDS_IN_BACKUP_PLAN
Type: AWS::Config::ConfigRule
RdsInstanceDeletionProtectionEnabled:
Properties:
ConfigRuleName: rds-instance-deletion-protection-enabled
Scope:
ComplianceResourceTypes:
- AWS::RDS::DBInstance
Source:
Owner: AWS
SourceIdentifier: RDS_INSTANCE_DELETION_PROTECTION_ENABLED
Type: AWS::Config::ConfigRule
RdsInstancePublicAccessCheck:
Properties:
ConfigRuleName: rds-instance-public-access-check
Scope:
ComplianceResourceTypes:
- AWS::RDS::DBInstance
Source:
Owner: AWS
SourceIdentifier: RDS_INSTANCE_PUBLIC_ACCESS_CHECK
Type: AWS::Config::ConfigRule
RdsLoggingEnabled:
Properties:
ConfigRuleName: rds-logging-enabled
Scope:
ComplianceResourceTypes:
- AWS::RDS::DBInstance
Source:
Owner: AWS
SourceIdentifier: RDS_LOGGING_ENABLED
Type: AWS::Config::ConfigRule
RdsMultiAzSupport:
Properties:
ConfigRuleName: rds-multi-az-support
Scope:
ComplianceResourceTypes:
- AWS::RDS::DBInstance
Source:
Owner: AWS
SourceIdentifier: RDS_MULTI_AZ_SUPPORT
Type: AWS::Config::ConfigRule
RdsSnapshotEncrypted:
Properties:
ConfigRuleName: rds-snapshot-encrypted
Scope:
ComplianceResourceTypes:
- AWS::RDS::DBSnapshot
- AWS::RDS::DBClusterSnapshot
Source:
Owner: AWS
SourceIdentifier: RDS_SNAPSHOT_ENCRYPTED
Type: AWS::Config::ConfigRule
RdsSnapshotsPublicProhibited:
Properties:
ConfigRuleName: rds-snapshots-public-prohibited
Scope:
ComplianceResourceTypes:
- AWS::RDS::DBSnapshot
- AWS::RDS::DBClusterSnapshot
Source:
Owner: AWS
SourceIdentifier: RDS_SNAPSHOTS_PUBLIC_PROHIBITED
Type: AWS::Config::ConfigRule
RdsStorageEncrypted:
Properties:
ConfigRuleName: rds-storage-encrypted
Scope:
ComplianceResourceTypes: