Class: DMSEndpointMongoDbSettingsPasswordRule
- Inherits:
-
PasswordBaseRule
- Object
- BaseRule
- PasswordBaseRule
- DMSEndpointMongoDbSettingsPasswordRule
- Defined in:
- lib/cfn-nag/custom_rules/DMSEndpointMongoDbSettingsPasswordRule.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
24 25 26 |
# File 'lib/cfn-nag/custom_rules/DMSEndpointMongoDbSettingsPasswordRule.rb', line 24 def password_property :mongoDbSettings end |
#resource_type ⇒ Object
20 21 22 |
# File 'lib/cfn-nag/custom_rules/DMSEndpointMongoDbSettingsPasswordRule.rb', line 20 def resource_type 'AWS::DMS::Endpoint' end |
#rule_id ⇒ Object
16 17 18 |
# File 'lib/cfn-nag/custom_rules/DMSEndpointMongoDbSettingsPasswordRule.rb', line 16 def rule_id 'F55' end |
#rule_text ⇒ Object
7 8 9 10 |
# File 'lib/cfn-nag/custom_rules/DMSEndpointMongoDbSettingsPasswordRule.rb', line 7 def rule_text 'DMS Endpoint MongoDbSettings Password must not be a plaintext string ' \ 'or a Ref to a NoEcho Parameter with a Default value.' end |
#rule_type ⇒ Object
12 13 14 |
# File 'lib/cfn-nag/custom_rules/DMSEndpointMongoDbSettingsPasswordRule.rb', line 12 def rule_type Violation::FAILING_VIOLATION end |
#sub_property_name ⇒ Object
28 29 30 |
# File 'lib/cfn-nag/custom_rules/DMSEndpointMongoDbSettingsPasswordRule.rb', line 28 def sub_property_name 'Password' end |