Class: EMRClusterKerberosAttributesCrossRealmTrustPrincipalPasswordRule
- Inherits:
-
PasswordBaseRule
- Object
- BaseRule
- PasswordBaseRule
- EMRClusterKerberosAttributesCrossRealmTrustPrincipalPasswordRule
- Defined in:
- lib/cfn-nag/custom_rules/EMRClusterKerberosAttributesCrossRealmTrustPrincipalPasswordRule.rb
Instance Method Summary collapse
- #password_property ⇒ Object
- #resource_type ⇒ Object
- #rule_id ⇒ Object
- #rule_text ⇒ Object
- #rule_type ⇒ Object
- #sub_property_name ⇒ Object
Methods inherited from PasswordBaseRule
Methods inherited from BaseRule
Instance Method Details
#password_property ⇒ Object
26 27 28 |
# File 'lib/cfn-nag/custom_rules/EMRClusterKerberosAttributesCrossRealmTrustPrincipalPasswordRule.rb', line 26 def password_property :kerberosAttributes end |
#resource_type ⇒ Object
22 23 24 |
# File 'lib/cfn-nag/custom_rules/EMRClusterKerberosAttributesCrossRealmTrustPrincipalPasswordRule.rb', line 22 def resource_type 'AWS::EMR::Cluster' end |
#rule_id ⇒ Object
18 19 20 |
# File 'lib/cfn-nag/custom_rules/EMRClusterKerberosAttributesCrossRealmTrustPrincipalPasswordRule.rb', line 18 def rule_id 'F64' end |
#rule_text ⇒ Object
7 8 9 10 11 12 |
# File 'lib/cfn-nag/custom_rules/EMRClusterKerberosAttributesCrossRealmTrustPrincipalPasswordRule.rb', line 7 def rule_text 'EMR Cluster KerberosAttributes CrossRealmTrustPrincipal 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 |
#rule_type ⇒ Object
14 15 16 |
# File 'lib/cfn-nag/custom_rules/EMRClusterKerberosAttributesCrossRealmTrustPrincipalPasswordRule.rb', line 14 def rule_type Violation::FAILING_VIOLATION end |
#sub_property_name ⇒ Object
30 31 32 |
# File 'lib/cfn-nag/custom_rules/EMRClusterKerberosAttributesCrossRealmTrustPrincipalPasswordRule.rb', line 30 def sub_property_name 'CrossRealmTrustPrincipalPassword' end |