Class: AppStreamDirectoryConfigServiceAccountCredentialsAccountPasswordRule
- Inherits:
-
PasswordBaseRule
- Object
- BaseRule
- PasswordBaseRule
- AppStreamDirectoryConfigServiceAccountCredentialsAccountPasswordRule
- Defined in:
- lib/cfn-nag/custom_rules/AppStreamDirectoryConfigServiceAccountCredentialsAccountPasswordRule.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
25 26 27 |
# File 'lib/cfn-nag/custom_rules/AppStreamDirectoryConfigServiceAccountCredentialsAccountPasswordRule.rb', line 25 def password_property :serviceAccountCredentials end |
#resource_type ⇒ Object
21 22 23 |
# File 'lib/cfn-nag/custom_rules/AppStreamDirectoryConfigServiceAccountCredentialsAccountPasswordRule.rb', line 21 def resource_type 'AWS::AppStream::DirectoryConfig' end |
#rule_id ⇒ Object
17 18 19 |
# File 'lib/cfn-nag/custom_rules/AppStreamDirectoryConfigServiceAccountCredentialsAccountPasswordRule.rb', line 17 def rule_id 'F53' end |
#rule_text ⇒ Object
7 8 9 10 11 |
# File 'lib/cfn-nag/custom_rules/AppStreamDirectoryConfigServiceAccountCredentialsAccountPasswordRule.rb', line 7 def rule_text 'AppStream DirectoryConfig ServiceAccountCredentials AccountPassword ' \ 'must not be a plaintext string or a Ref to a NoEcho Parameter ' \ 'with a Default value.' end |
#rule_type ⇒ Object
13 14 15 |
# File 'lib/cfn-nag/custom_rules/AppStreamDirectoryConfigServiceAccountCredentialsAccountPasswordRule.rb', line 13 def rule_type Violation::FAILING_VIOLATION end |
#sub_property_name ⇒ Object
29 30 31 |
# File 'lib/cfn-nag/custom_rules/AppStreamDirectoryConfigServiceAccountCredentialsAccountPasswordRule.rb', line 29 def sub_property_name 'AccountPassword' end |