Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Operational-Best-Practices-for-NCSC-CloudSec-Principles.yaml #411

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,26 @@
##################################################################################

Parameters:
InternetGatewayAuthorizedVpcOnlyParamAuthorizedVpcIds:
Default: ''
Type: String
NoUnrestrictedRouteToIgwParamRouteTableIds:
Default: ''
Type: String
AccessKeysRotatedParamMaxAccessKeyAge:
Default: '90'
Type: String
AcmCertificateExpirationCheckParamDaysToExpiration:
Default: '90'
Type: String
CloudwatchAlarmActionCheckParamAlarmActionRequired:
Default: 'TRUE'
Default: 'true'
Type: String
CloudwatchAlarmActionCheckParamInsufficientDataActionRequired:
Default: 'TRUE'
Default: 'true'
Type: String
CloudwatchAlarmActionCheckParamOkActionRequired:
Default: 'FALSE'
Default: 'false'
Type: String
CwLoggroupRetentionPeriodCheckParamMinRetentionTime:
Default: '365'
Expand Down Expand Up @@ -68,13 +74,13 @@ Parameters:
Default: '90'
Type: String
RedshiftClusterConfigurationCheckParamClusterDbEncrypted:
Default: 'TRUE'
Default: 'true'
Type: String
RedshiftClusterConfigurationCheckParamLoggingEnabled:
Default: 'TRUE'
Default: 'true'
Type: String
RedshiftClusterMaintenancesettingsCheckParamAllowVersionUpgrade:
Default: 'TRUE'
Default: 'true'
Type: String
RestrictedIncomingTrafficParamBlockedPort1:
Default: '20'
Expand All @@ -92,16 +98,16 @@ Parameters:
Default: '4333'
Type: String
S3AccountLevelPublicAccessBlocksPeriodicParamBlockPublicAcls:
Default: 'TRUE'
Default: 'true'
Type: String
S3AccountLevelPublicAccessBlocksPeriodicParamBlockPublicPolicy:
Default: 'TRUE'
Default: 'true'
Type: String
S3AccountLevelPublicAccessBlocksPeriodicParamIgnorePublicAcls:
Default: 'TRUE'
Default: 'true'
Type: String
S3AccountLevelPublicAccessBlocksPeriodicParamRestrictPublicBuckets:
Default: 'TRUE'
Default: 'true'
Type: String
VpcSgOpenOnlyToAuthorizedPortsParamAuthorizedTcpPorts:
Default: '443'
Expand Down Expand Up @@ -871,6 +877,12 @@ Resources:
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:
Expand Down Expand Up @@ -945,6 +957,12 @@ Resources:
Source:
Owner: AWS
SourceIdentifier: NO_UNRESTRICTED_ROUTE_TO_IGW
InputParameters:
routeTableIds:
Fn::If:
- noUnrestrictedRouteToIgwParamRouteTableIds
- Ref: NoUnrestrictedRouteToIgwParamRouteTableIds
- Ref: AWS::NoValue
Type: AWS::Config::ConfigRule
OpensearchEncryptedAtRest:
Properties:
Expand Down Expand Up @@ -1586,3 +1604,13 @@ Conditions:
- Fn::Equals:
- ''
- Ref: VpcSgOpenOnlyToAuthorizedPortsParamAuthorizedTcpPorts
internetGatewayAuthorizedVpcOnlyParamAuthorizedVpcIds:
Fn::Not:
- Fn::Equals:
- ''
- Ref: InternetGatewayAuthorizedVpcOnlyParamAuthorizedVpcIds
noUnrestrictedRouteToIgwParamRouteTableIds:
Fn::Not:
- Fn::Equals:
- ''
- Ref: NoUnrestrictedRouteToIgwParamRouteTableIds