Sha256: ecddf7d519ec3e2cce221f8970efba2a5a9451eea96bcee5173520761c77f3c7

Contents?: true

Size: 576 Bytes

Versions: 5

Compression:

Stored size: 576 Bytes

Contents

# encoding: utf-8
# copyright: 2018, The Authors

title 'sample section'

# you can also use plain tests
describe file('/tmp') do
  it { should be_directory }
end

# you add controls here
control 'tmp-1.0' do                        # A unique ID for this control
  impact 0.7                                # The criticality, if this control fails.
  title 'Create /tmp directory'             # A human-readable title
  desc 'An optional description...'
  describe file('/tmp') do                  # The actual test
    it { should be_directory }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
inspec-2.1.81 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-2.1.21 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-2.1.10 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-2.0.32 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-2.0.17 lib/bundles/inspec-init/templates/profile/controls/example.rb