INNER CODE UNIT · Ruby

cfn_nag_config

stelligent/cfn_nag · lib/cfn-nag/cfn_nag_executor.rb:122

  def cfn_nag_config(opts)
    CfnNagConfig.new(
      profile_definition: @profile_definition,
      deny_list_definition: @deny_list_definition,
      rule_directory: opts[:rule_directory],
      allow_suppression: opts[:allow_suppression],
      print_suppression: opts[:print_suppression],
      isolate_custom_rule_exceptions: opts[:isolate_custom_rule_exceptions],
      fail_on_warnings: opts[:fail_on_warnings],
      rule_repository_definitions: @rule_repository_definitions,
      ignore_fatal: opts[:ignore_fatal],
      rule_arguments: merge_rule_arguments(opts),
      rule_directory_recursive: opts[:rule_directory_recursive]
    )
  end

  def argf_finished?
    ARGF.closed? || ARGF.eof?

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…