Sha256: d1b3aef515942087851af11b63fd7a7109e2b6578de56d76d6dcbdc2c173516b

Contents?: true

Size: 557 Bytes

Versions: 16

Compression:

Stored size: 557 Bytes

Contents

# encoding: utf-8
# copyright: 2017, 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

16 entries across 16 versions & 1 rubygems

Version Path
inspec-1.51.25 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-1.51.21 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-1.51.18 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-1.51.6 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-1.51.0 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-1.50.1 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-1.49.2 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-1.48.0 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-1.47.0 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-1.46.2 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-1.45.13 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-1.45.9 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-1.44.8 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-1.43.8 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-1.43.5 lib/bundles/inspec-init/templates/profile/controls/example.rb
inspec-1.42.3 lib/bundles/inspec-init/templates/profile/controls/example.rb