Method: Inspec::Reporters::Automate#initialize

Defined in:
lib/inspec/reporters/automate.rb

#initialize(config) ⇒ Automate

Returns a new instance of Automate.



6
7
8
9
10
11
12
13
14
# File 'lib/inspec/reporters/automate.rb', line 6

def initialize(config)
  super(config)

  # allow the insecure flag
  @config["verify_ssl"] = !@config["insecure"] if @config.key?("insecure")

  # default to not verifying ssl for sending reports
  @config["verify_ssl"] = @config["verify_ssl"] || false
end