Class: OpsWorksAppAppSourcePasswordRule
Instance Method Summary
collapse
#audit_impl
Methods inherited from BaseRule
#audit, #audit_impl, #violation
Instance Method Details
#password_property ⇒ Object
25
26
27
|
# File 'lib/cfn-nag/custom_rules/OpsWorksAppAppSourcePasswordRule.rb', line 25
def password_property
:appSource
end
|
#resource_type ⇒ Object
21
22
23
|
# File 'lib/cfn-nag/custom_rules/OpsWorksAppAppSourcePasswordRule.rb', line 21
def resource_type
'AWS::OpsWorks::App'
end
|
17
18
19
|
# File 'lib/cfn-nag/custom_rules/OpsWorksAppAppSourcePasswordRule.rb', line 17
def rule_id
'F67'
end
|
#rule_text ⇒ Object
7
8
9
10
11
|
# File 'lib/cfn-nag/custom_rules/OpsWorksAppAppSourcePasswordRule.rb', line 7
def rule_text
'OpsWorks App AppSource 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/ssm-secure value.'
end
|
#sub_property_name ⇒ Object
29
30
31
|
# File 'lib/cfn-nag/custom_rules/OpsWorksAppAppSourcePasswordRule.rb', line 29
def sub_property_name
'Password'
end
|