inspec/lib/vulcano.rb

43 lines
1.2 KiB
Ruby
Raw Normal View History

# encoding: utf-8
# copyright: 2015, Dominik Richter
# license: All rights reserved
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8
libdir = File.dirname(__FILE__)
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
require 'utils/spec_helper'
require 'vulcano/version'
require 'vulcano/resource'
require 'vulcano/rule'
require 'vulcano/rspec_json_formatter'
require 'resources/audit_policy'
require 'resources/command'
2015-07-14 22:47:04 +00:00
require 'resources/env'
2015-07-15 13:16:10 +00:00
require 'resources/etc_group'
require 'resources/file'
require 'resources/group_policy'
2015-07-15 14:33:39 +00:00
require 'resources/login_def'
require 'resources/mysql_conf'
require 'resources/mysql_session'
2015-07-15 14:33:39 +00:00
require 'resources/parse_config'
2015-07-14 22:47:17 +00:00
require 'resources/passwd'
require 'resources/postgres_conf'
require 'resources/postgres_session'
require 'resources/processes'
require 'resources/registry_key'
require 'resources/security_policy'
require 'resources/ssh_conf'
require 'matchers/matchers'
# Dummy module for handling additional attributes
# which may be injected by the user. This covers data
# like passwords, usernames, or configuration flags.
def attributes what, required: false
return nil
end