class CodePipelineWebhookAuthenticationConfigurationSecretTokenRule

Public Instance Methods

password_property() click to toggle source
# File lib/cfn-nag/custom_rules/CodePipelineWebhookAuthenticationConfigurationSecretTokenRule.rb, line 25
def password_property
  :authenticationConfiguration
end
resource_type() click to toggle source
# File lib/cfn-nag/custom_rules/CodePipelineWebhookAuthenticationConfigurationSecretTokenRule.rb, line 21
def resource_type
  'AWS::CodePipeline::Webhook'
end
rule_id() click to toggle source
# File lib/cfn-nag/custom_rules/CodePipelineWebhookAuthenticationConfigurationSecretTokenRule.rb, line 17
def rule_id
  'F69'
end
rule_text() click to toggle source
# File lib/cfn-nag/custom_rules/CodePipelineWebhookAuthenticationConfigurationSecretTokenRule.rb, line 7
def rule_text
  'CodePipeline Webhook AuthenticationConfiguration SecretToken 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() click to toggle source
# File lib/cfn-nag/custom_rules/CodePipelineWebhookAuthenticationConfigurationSecretTokenRule.rb, line 13
def rule_type
  Violation::FAILING_VIOLATION
end
sub_property_name() click to toggle source
# File lib/cfn-nag/custom_rules/CodePipelineWebhookAuthenticationConfigurationSecretTokenRule.rb, line 29
def sub_property_name
  'SecretToken'
end