Sha256: d190beb1f767195a82ef3bb1c8205c421389af48919ffd7c736ef743d1d406ba

Contents?: true

Size: 274 Bytes

Versions: 10

Compression:

Stored size: 274 Bytes

Contents

title "Test AliCloud Instances count"

control "ali-cloud-instances-1.0" do
  impact 1.0
  title "Ensure AliCloud ECS Instances Class has correct attributes."
  describe alicloud_ecs_instances do
    it { should exist }
    its("entries.count") { should be >= 1 }
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
inspec-core-6.8.11 lib/plugins/inspec-init/templates/profiles/alicloud/controls/example.rb
inspec-core-5.22.58 lib/plugins/inspec-init/templates/profiles/alicloud/controls/example.rb
inspec-core-5.22.55 lib/plugins/inspec-init/templates/profiles/alicloud/controls/example.rb
inspec-core-6.8.1 lib/plugins/inspec-init/templates/profiles/alicloud/controls/example.rb
inspec-core-5.22.40 lib/plugins/inspec-init/templates/profiles/alicloud/controls/example.rb
inspec-core-6.6.0 lib/plugins/inspec-init/templates/profiles/alicloud/controls/example.rb
inspec-core-5.22.36 lib/plugins/inspec-init/templates/profiles/alicloud/controls/example.rb
inspec-core-5.22.29 lib/plugins/inspec-init/templates/profiles/alicloud/controls/example.rb
inspec-core-5.22.3 lib/plugins/inspec-init/templates/profiles/alicloud/controls/example.rb
inspec-core-5.21.29 lib/plugins/inspec-init/templates/profiles/alicloud/controls/example.rb