Class: KinesisFirehoseDeliveryStreamRedshiftDestinationConfigurationPasswordRule

Inherits:
PasswordBaseRule show all
Defined in:
lib/cfn-nag/custom_rules/KinesisFirehoseDeliveryStreamRedshiftDestinationConfigurationPasswordRule.rb

Instance Method Summary collapse

Methods inherited from PasswordBaseRule

#audit_impl

Methods inherited from BaseRule

#audit, #audit_impl

Instance Method Details

#password_propertyObject


26
27
28
# File 'lib/cfn-nag/custom_rules/KinesisFirehoseDeliveryStreamRedshiftDestinationConfigurationPasswordRule.rb', line 26

def password_property
  :redshiftDestinationConfiguration
end

#resource_typeObject


22
23
24
# File 'lib/cfn-nag/custom_rules/KinesisFirehoseDeliveryStreamRedshiftDestinationConfigurationPasswordRule.rb', line 22

def resource_type
  'AWS::KinesisFirehose::DeliveryStream'
end

#rule_idObject


18
19
20
# File 'lib/cfn-nag/custom_rules/KinesisFirehoseDeliveryStreamRedshiftDestinationConfigurationPasswordRule.rb', line 18

def rule_id
  'F66'
end

#rule_textObject


7
8
9
10
11
12
# File 'lib/cfn-nag/custom_rules/KinesisFirehoseDeliveryStreamRedshiftDestinationConfigurationPasswordRule.rb', line 7

def rule_text
  'Kinesis Firehose DeliveryStream RedshiftDestinationConfiguration 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

#rule_typeObject


14
15
16
# File 'lib/cfn-nag/custom_rules/KinesisFirehoseDeliveryStreamRedshiftDestinationConfigurationPasswordRule.rb', line 14

def rule_type
  Violation::FAILING_VIOLATION
end

#sub_property_nameObject


30
31
32
# File 'lib/cfn-nag/custom_rules/KinesisFirehoseDeliveryStreamRedshiftDestinationConfigurationPasswordRule.rb', line 30

def sub_property_name
  'Password'
end