mirror of
https://github.com/inspec/inspec
synced 2024-11-27 15:10:44 +00:00
Merge pull request #4147 from inspec/mj/authors
Remove authors tags from source files.
This commit is contained in:
commit
342cef2367
227 changed files with 0 additions and 405 deletions
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
# use basic tests
|
# use basic tests
|
||||||
describe package('nginx') do
|
describe package('nginx') do
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
# install nginx
|
# install nginx
|
||||||
include_recipe('prepare::nginx')
|
include_recipe('prepare::nginx')
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
# install repositories for nginx
|
# install repositories for nginx
|
||||||
case node['platform']
|
case node['platform']
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
# use basic tests
|
# use basic tests
|
||||||
describe package('nginx') do
|
describe package('nginx') do
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
# use basic tests
|
# use basic tests
|
||||||
describe package('nginx') do
|
describe package('nginx') do
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
# Copyright 2015 Dominik Richter
|
# Copyright 2015 Dominik Richter
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
Encoding.default_external = Encoding::UTF_8
|
Encoding.default_external = Encoding::UTF_8
|
||||||
Encoding.default_internal = Encoding::UTF_8
|
Encoding.default_internal = Encoding::UTF_8
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
libdir = File.dirname(__FILE__)
|
libdir = File.dirname(__FILE__)
|
||||||
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
require 'net/http'
|
require 'net/http'
|
||||||
require 'addressable/uri'
|
require 'addressable/uri'
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
require 'inspec/base_cli'
|
require 'inspec/base_cli'
|
||||||
|
|
||||||
module Supermarket
|
module Supermarket
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
require 'uri'
|
require 'uri'
|
||||||
require 'inspec/fetcher'
|
require 'inspec/fetcher'
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'openssl'
|
require 'openssl'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
module Fetchers
|
module Fetchers
|
||||||
class Mock < Inspec.fetcher(1)
|
class Mock < Inspec.fetcher(1)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'uri'
|
require 'uri'
|
||||||
require 'openssl'
|
require 'openssl'
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# copyright: 2015, Dominik Richter
|
# copyright: 2015, Dominik Richter
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
libdir = File.dirname(__FILE__)
|
libdir = File.dirname(__FILE__)
|
||||||
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
require 'rubygems/package'
|
require 'rubygems/package'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
require 'zip'
|
require 'zip'
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# copyright: 2015, Dominik Richter
|
# copyright: 2015, Dominik Richter
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'train'
|
require 'train'
|
||||||
require 'inspec/config'
|
require 'inspec/config'
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
require 'thor'
|
require 'thor'
|
||||||
require 'inspec/log'
|
require 'inspec/log'
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# Copyright 2015 Dominik Richter
|
# Copyright 2015 Dominik Richter
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'logger'
|
require 'logger'
|
||||||
require 'thor'
|
require 'thor'
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
require 'inspec/dsl'
|
require 'inspec/dsl'
|
||||||
require 'inspec/dsl_shared'
|
require 'inspec/dsl_shared'
|
||||||
require 'rspec/core/dsl'
|
require 'rspec/core/dsl'
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Steven Danna <steve@chef.io>
|
|
||||||
require 'inspec/log'
|
require 'inspec/log'
|
||||||
require 'inspec/errors'
|
require 'inspec/errors'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
module Inspec
|
module Inspec
|
||||||
class DescribeBase
|
class DescribeBase
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# copyright: 2015, Dominik Richter
|
# copyright: 2015, Dominik Richter
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
require 'inspec/log'
|
require 'inspec/log'
|
||||||
require 'inspec/plugin/v2'
|
require 'inspec/plugin/v2'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
module Inspec
|
module Inspec
|
||||||
class Error < StandardError; end
|
class Error < StandardError; end
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# copyright: 2016, Chef Software Inc.
|
# copyright: 2016, Chef Software Inc.
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'rspec/expectations'
|
require 'rspec/expectations'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'inspec/plugin/v1'
|
require 'inspec/plugin/v1'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Steven Danna
|
|
||||||
# author: Victoria Jeffrey
|
|
||||||
require 'inspec/plugin/v1/plugin_types/resource'
|
require 'inspec/plugin/v1/plugin_types/resource'
|
||||||
require 'inspec/dsl_shared'
|
require 'inspec/dsl_shared'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'mixlib/log'
|
require 'mixlib/log'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
module Inspec
|
module Inspec
|
||||||
module MethodSource
|
module MethodSource
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
require 'inspec/plugin/v1/registry'
|
require 'inspec/plugin/v1/registry'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
require 'inspec/file_provider'
|
require 'inspec/file_provider'
|
||||||
require 'inspec/plugin/v1/registry'
|
require 'inspec/plugin/v1/registry'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
module Inspec
|
module Inspec
|
||||||
module ResourceBehaviors
|
module ResourceBehaviors
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'inspec/plugin/v1/registry'
|
require 'inspec/plugin/v1/registry'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'inspec/plugin/v1/registry'
|
require 'inspec/plugin/v1/registry'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'forwardable'
|
require 'forwardable'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
class PluginRegistry
|
class PluginRegistry
|
||||||
attr_reader :registry
|
attr_reader :registry
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# copyright: 2016, Chef Software Inc.
|
# copyright: 2016, Chef Software Inc.
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
class Struct
|
class Struct
|
||||||
unless instance_methods.include? :to_h
|
unless instance_methods.include? :to_h
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# Copyright 2015 Dominik Richter
|
# Copyright 2015 Dominik Richter
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'forwardable'
|
require 'forwardable'
|
||||||
require 'openssl'
|
require 'openssl'
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
require 'inspec/log'
|
require 'inspec/log'
|
||||||
require 'inspec/rule'
|
require 'inspec/rule'
|
||||||
require 'inspec/resource'
|
require 'inspec/resource'
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Adam Leff
|
|
||||||
|
|
||||||
require 'inspec/profile'
|
require 'inspec/profile'
|
||||||
require 'inspec/config'
|
require 'inspec/config'
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
module Inspec
|
module Inspec
|
||||||
class RequireLoader
|
class RequireLoader
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# copyright: 2015, Vulcano Security GmbH
|
# copyright: 2015, Vulcano Security GmbH
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
require 'inspec/plugin/v1'
|
require 'inspec/plugin/v1'
|
||||||
|
|
||||||
module Inspec
|
module Inspec
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
#
|
#
|
||||||
# Copyright 2017, Christoph Hartmann
|
# Copyright 2017, Christoph Hartmann
|
||||||
#
|
#
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Patrick Muench
|
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Matt Kulka
|
|
||||||
|
|
||||||
module Inspec::Resources::DockerObject
|
module Inspec::Resources::DockerObject
|
||||||
def exist?
|
def exist?
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Nolan Davidson
|
|
||||||
|
|
||||||
require 'tomlrb'
|
require 'tomlrb'
|
||||||
require 'inspec/resources/json'
|
require 'inspec/resources/json'
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# copyright: 2015, Dominik Richter
|
# copyright: 2015, Dominik Richter
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'method_source'
|
require 'method_source'
|
||||||
require 'inspec/describe'
|
require 'inspec/describe'
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# copyright: 2015, Dominik Richter
|
# copyright: 2015, Dominik Richter
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'forwardable'
|
require 'forwardable'
|
||||||
require 'uri'
|
require 'uri'
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
module Inspec
|
module Inspec
|
||||||
class RunnerMock
|
class RunnerMock
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'rspec/core'
|
require 'rspec/core'
|
||||||
require 'rspec/its'
|
require 'rspec/its'
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# Copyright 2017 Chef Software
|
# Copyright 2017 Chef Software
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
module Inspec
|
module Inspec
|
||||||
class RuntimeProfile
|
class RuntimeProfile
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
require 'inspec/plugin/v1'
|
require 'inspec/plugin/v1'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'pry'
|
require 'pry'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'inspec/plugin/v1'
|
require 'inspec/plugin/v1'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'shellwords'
|
require 'shellwords'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
module Converter
|
module Converter
|
||||||
# convert the value to an integer if we have numbers only
|
# convert the value to an integer if we have numbers only
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
module DatabaseHelper
|
module DatabaseHelper
|
||||||
class SQLColumn
|
class SQLColumn
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'parslet'
|
require 'parslet'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: ERAMOTO Masaya
|
|
||||||
|
|
||||||
module FileReader
|
module FileReader
|
||||||
def read_file_content(path, allow_empty = false)
|
def read_file_content(path, allow_empty = false)
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Stephan Renatus
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
module FilterTable
|
module FilterTable
|
||||||
# This is used as a sentinel value in custom property filtering
|
# This is used as a sentinel value in custom property filtering
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
# copyright: 2015, Chef Software, Inc.
|
# copyright: 2015, Chef Software, Inc.
|
||||||
# author: Stephan Renatus
|
|
||||||
|
|
||||||
class FilterArray
|
class FilterArray
|
||||||
attr_accessor :rules
|
attr_accessor :rules
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# copyright: 2015, Vulcano Security GmbH
|
# copyright: 2015, Vulcano Security GmbH
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
module FindFiles
|
module FindFiles
|
||||||
TYPES = {
|
TYPES = {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
class ::Hash
|
class ::Hash
|
||||||
# Inspired by: http://stackoverflow.com/a/9381776
|
# Inspired by: http://stackoverflow.com/a/9381776
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'json'
|
require 'json'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'json'
|
require 'json'
|
||||||
require 'net/http'
|
require 'net/http'
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
module Modulator
|
module Modulator
|
||||||
def modules
|
def modules
|
||||||
@modules ||= {}
|
@modules ||= {}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'parslet'
|
require 'parslet'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
module ObjectTraverser
|
module ObjectTraverser
|
||||||
def extract_value(keys, value)
|
def extract_value(keys, value)
|
||||||
return nil if value.nil?
|
return nil if value.nil?
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
module PasswdParser
|
module PasswdParser
|
||||||
# Parse /etc/passwd files.
|
# Parse /etc/passwd files.
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# copyright: 2015, Dominik Richter
|
# copyright: 2015, Dominik Richter
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'inspec/utils/parser'
|
require 'inspec/utils/parser'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
class Spdx
|
class Spdx
|
||||||
def self.licenses
|
def self.licenses
|
||||||
spdx_file = File.join(File.dirname(__FILE__), 'spdx.txt').freeze
|
spdx_file = File.join(File.dirname(__FILE__), 'spdx.txt').freeze
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# copyright: 2015, Vulcano Security GmbH
|
# copyright: 2015, Vulcano Security GmbH
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
RSpec::Matchers.define :be_readable do
|
RSpec::Matchers.define :be_readable do
|
||||||
match do |file|
|
match do |file|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
class AwsEc2Instance < Inspec.resource(1)
|
class AwsEc2Instance < Inspec.resource(1)
|
||||||
name 'aws_ec2_instance'
|
name 'aws_ec2_instance'
|
||||||
desc 'Verifies settings for an EC2 instance'
|
desc 'Verifies settings for an EC2 instance'
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Viktor Yakovlyev
|
|
||||||
class AwsIamPasswordPolicy < Inspec.resource(1)
|
class AwsIamPasswordPolicy < Inspec.resource(1)
|
||||||
name 'aws_iam_password_policy'
|
name 'aws_iam_password_policy'
|
||||||
desc 'Verifies iam password policy'
|
desc 'Verifies iam password policy'
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
# author: Alex Bedley
|
|
||||||
# author: Steffanie Freeman
|
|
||||||
# author: Simon Varlow
|
|
||||||
# author: Chris Redekop
|
|
||||||
class AwsIamUser < Inspec.resource(1)
|
class AwsIamUser < Inspec.resource(1)
|
||||||
name 'aws_iam_user'
|
name 'aws_iam_user'
|
||||||
desc 'Verifies settings for AWS IAM user'
|
desc 'Verifies settings for AWS IAM user'
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
# author: Alex Bedley
|
|
||||||
# author: Steffanie Freeman
|
|
||||||
# author: Simon Varlow
|
|
||||||
# author: Chris Redekop
|
|
||||||
class AwsIamUsers < Inspec.resource(1)
|
class AwsIamUsers < Inspec.resource(1)
|
||||||
name 'aws_iam_users'
|
name 'aws_iam_users'
|
||||||
desc 'Verifies settings for AWS IAM users'
|
desc 'Verifies settings for AWS IAM users'
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Mohamed El-Sharkawi
|
|
||||||
class AwsRdsInstance < Inspec.resource(1)
|
class AwsRdsInstance < Inspec.resource(1)
|
||||||
name 'aws_rds_instance'
|
name 'aws_rds_instance'
|
||||||
desc 'Verifies settings for an rds instance'
|
desc 'Verifies settings for an rds instance'
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Matthew Dromazos
|
|
||||||
class AwsS3Bucket < Inspec.resource(1)
|
class AwsS3Bucket < Inspec.resource(1)
|
||||||
name 'aws_s3_bucket'
|
name 'aws_s3_bucket'
|
||||||
desc 'Verifies settings for a s3 bucket'
|
desc 'Verifies settings for a s3 bucket'
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Matthew Dromazos
|
|
||||||
class AwsS3BucketObject < Inspec.resource(1)
|
class AwsS3BucketObject < Inspec.resource(1)
|
||||||
name 'aws_s3_bucket_object'
|
name 'aws_s3_bucket_object'
|
||||||
desc 'Verifies settings for a s3 bucket object'
|
desc 'Verifies settings for a s3 bucket object'
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Matthew Dromazos
|
|
||||||
# author: Sam Cornwell
|
|
||||||
class AwsS3Buckets < Inspec.resource(1)
|
class AwsS3Buckets < Inspec.resource(1)
|
||||||
name 'aws_s3_buckets'
|
name 'aws_s3_buckets'
|
||||||
desc 'Verifies settings for AWS S3 Buckets in bulk'
|
desc 'Verifies settings for AWS S3 Buckets in bulk'
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'inspec/fetcher'
|
require 'inspec/fetcher'
|
||||||
require 'inspec/metadata'
|
require 'inspec/metadata'
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'inspec/fetcher'
|
require 'inspec/fetcher'
|
||||||
require 'inspec/metadata'
|
require 'inspec/metadata'
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Stephan Renatus
|
|
||||||
|
|
||||||
include_recipe 'runit::default'
|
include_recipe 'runit::default'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Stephan Renatus
|
|
||||||
|
|
||||||
directory '/etc/init' do
|
directory '/etc/init' do
|
||||||
action :create
|
action :create
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
case node['platform_family']
|
case node['platform_family']
|
||||||
when 'rhel'
|
when 'rhel'
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
# add nginx apt repository
|
# add nginx apt repository
|
||||||
case node['platform']
|
case node['platform']
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Stephan Renatus
|
|
||||||
|
|
||||||
case node['platform']
|
case node['platform']
|
||||||
when 'centos'
|
when 'centos'
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
#
|
#
|
||||||
# prepare all operating systems with the required configuration
|
# prepare all operating systems with the required configuration
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
if platform_family?('rhel', 'debian', 'fedora')
|
if platform_family?('rhel', 'debian', 'fedora')
|
||||||
docker_service 'default' do
|
docker_service 'default' do
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
#
|
#
|
||||||
# prepares a sample file for verification
|
# prepares a sample file for verification
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Stephan Renatus
|
|
||||||
|
|
||||||
if platform_family?('rhel', 'debian', 'fedora')
|
if platform_family?('rhel', 'debian', 'fedora')
|
||||||
execute 'iptables -A INPUT -i eth0 -p tcp -m tcp '\
|
execute 'iptables -A INPUT -i eth0 -p tcp -m tcp '\
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
#
|
#
|
||||||
# adds a yaml file
|
# adds a yaml file
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
#
|
#
|
||||||
# file mount tests
|
# file mount tests
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Omar Irizarry
|
|
||||||
#
|
#
|
||||||
# change a few Windows registry keys for testing purposes
|
# change a few Windows registry keys for testing purposes
|
||||||
if node['platform_family'] == 'windows'
|
if node['platform_family'] == 'windows'
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
#
|
#
|
||||||
# installs everything to do the package test
|
# installs everything to do the package test
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Stephan Renatus
|
|
||||||
#
|
#
|
||||||
# installs everyting for the postgres tests
|
# installs everyting for the postgres tests
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Alex Pop
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
#
|
#
|
||||||
# change a few Windows registry keys for testing purposes
|
# change a few Windows registry keys for testing purposes
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
# author: Dominik Richter
|
|
||||||
#
|
#
|
||||||
# prepares services
|
# prepares services
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Christoph Hartmann
|
|
||||||
#
|
#
|
||||||
# installs ssh
|
# installs ssh
|
||||||
return if node['platform_family'] == 'windows'
|
return if node['platform_family'] == 'windows'
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
require 'docker'
|
require 'docker'
|
||||||
require 'yaml'
|
require 'yaml'
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
|
|
||||||
require_relative 'docker_run'
|
require_relative 'docker_run'
|
||||||
require_relative '../lib/inspec'
|
require_relative '../lib/inspec'
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# author: Dominik Richter
|
|
||||||
# author: Christoph Hartmann
|
|
||||||
|
|
||||||
require 'helper'
|
require 'helper'
|
||||||
require 'rbconfig'
|
require 'rbconfig'
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue