Class: AmazonMQBrokerUsersPasswordRule
Instance Method Summary
collapse
#audit_impl
Methods inherited from BaseRule
#audit, #audit_impl, #violation
Instance Method Details
#password_property ⇒ Object
24
25
26
|
# File 'lib/cfn-nag/custom_rules/AmazonMQBrokerUsersPasswordRule.rb', line 24
def password_property
:users
end
|
#resource_type ⇒ Object
20
21
22
|
# File 'lib/cfn-nag/custom_rules/AmazonMQBrokerUsersPasswordRule.rb', line 20
def resource_type
'AWS::AmazonMQ::Broker'
end
|
16
17
18
|
# File 'lib/cfn-nag/custom_rules/AmazonMQBrokerUsersPasswordRule.rb', line 16
def rule_id
'F52'
end
|
#rule_text ⇒ Object
7
8
9
10
|
# File 'lib/cfn-nag/custom_rules/AmazonMQBrokerUsersPasswordRule.rb', line 7
def rule_text
'AmazonMQ Broker Users Password must not be a plaintext string or a Ref to a Parameter with a Default value. ' \
'Can be Ref to a NoEcho Parameter without a Default, or a dynamic reference to a secretsmanager value.'
end
|
#sub_property_name ⇒ Object
28
29
30
|
# File 'lib/cfn-nag/custom_rules/AmazonMQBrokerUsersPasswordRule.rb', line 28
def sub_property_name
'Password'
end
|