Amazon MQ broker logging disabled 이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우
언제든지 연락주시기 바랍니다. Id: cloudformation-aws-mq-broker-logging-disabled
Provider: AWS
Platform: CloudFormation
Severity: Medium
Category: Observability
Learn More Description Amazon MQ brokers must have audit and general logging enabled so broker activity and security events are recorded for detection and investigation, and to support compliance and forensic requirements. In AWS CloudFormation, the AWS::AmazonMQ::Broker resource must include the Logs property with both Audit and General defined and set to true. Resources missing Logs, missing either Audit or General, or with either value set to false will be flagged.
Secure configuration example:
MyBroker :
Type : AWS::AmazonMQ::Broker
Properties :
BrokerName : my-broker
Logs :
Audit : true
General : true
Compliant Code Examples AWSTemplateFormatVersion : "2010-09-09"
Description : "Create a basic ActiveMQ broker"
Resources :
BasicBroker :
Type : "AWS::AmazonMQ::Broker"
Properties :
AutoMinorVersionUpgrade : "false"
BrokerName : MyBasicBroker
DeploymentMode : SINGLE_INSTANCE
EncryptionOptions :
UseAwsOwnedKey : true
EngineType : ActiveMQ
EngineVersion : "5.15.0"
HostInstanceType : mq.t2.micro
PubliclyAccessible : false
Users :
-
ConsoleAccess : "true"
Groups :
- MyGroup
Password :
Ref : "BrokerPassword"
Username :
Ref : "BrokerUsername"
Logs :
General : true
Audit : true
Non-Compliant Code Examples AWSTemplateFormatVersion : "2010-09-09"
Description : "Create a basic ActiveMQ broker"
Resources :
BasicBroker3 :
Type : "AWS::AmazonMQ::Broker"
Properties :
BrokerName : MyBasicBroker
DeploymentMode : SINGLE_INSTANCE
EngineType : ActiveMQ
EngineVersion : "5.15.0"
HostInstanceType : mq.t2.micro
PubliclyAccessible : false
Users :
-
ConsoleAccess : "true"
Groups :
- MyGroup
Password :
Ref : "BrokerPassword"
Username :
Ref : "BrokerUsername"
Logs :
General : true
BasicBroker4 :
Type : "AWS::AmazonMQ::Broker"
Properties :
BrokerName : MyBasicBroker
DeploymentMode : SINGLE_INSTANCE
EngineType : ActiveMQ
EngineVersion : "5.15.0"
HostInstanceType : mq.t2.micro
PubliclyAccessible : false
Users :
-
ConsoleAccess : "true"
Groups :
- MyGroup
Password :
Ref : "BrokerPassword"
Username :
Ref : "BrokerUsername"
Logs :
Audit : true
BasicBroker5 :
Type : "AWS::AmazonMQ::Broker"
Properties :
BrokerName : MyBasicBroker
DeploymentMode : SINGLE_INSTANCE
EngineType : ActiveMQ
EngineVersion : "5.15.0"
HostInstanceType : mq.t2.micro
PubliclyAccessible : false
Users :
-
ConsoleAccess : "true"
Groups :
- MyGroup
Password :
Ref : "BrokerPassword"
Username :
Ref : "BrokerUsername"
Logs :
General : false
Audit : true
BasicBroker6 :
Type : "AWS::AmazonMQ::Broker"
Properties :
BrokerName : MyBasicBroker
DeploymentMode : SINGLE_INSTANCE
EngineType : ActiveMQ
EngineVersion : "5.15.0"
HostInstanceType : mq.t2.micro
PubliclyAccessible : false
Users :
-
ConsoleAccess : "true"
Groups :
- MyGroup
Password :
Ref : "BrokerPassword"
Username :
Ref : "BrokerUsername"
Logs :
Audit : false
General : true
BasicBroker7 :
Type : "AWS::AmazonMQ::Broker"
Properties :
BrokerName : MyBasicBroker
DeploymentMode : SINGLE_INSTANCE
EngineType : ActiveMQ
EngineVersion : "5.15.0"
HostInstanceType : mq.t2.micro
PubliclyAccessible : false
Users :
-
ConsoleAccess : "true"
Groups :
- MyGroup
Password :
Ref : "BrokerPassword"
Username :
Ref : "BrokerUsername"