Add resource support declarations for Azure

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
Clinton Wolfe 2018-02-09 10:22:56 -05:00
parent 5751bad11c
commit ded1394e8b
4 changed files with 8 additions and 0 deletions

View file

@ -11,6 +11,8 @@ module Inspec::Resources
Inspec Resource to interrogate any Resource type in Azure
'
supports platform: 'azure'
attr_accessor :filter, :total, :counts, :name, :type, :location, :probes
def initialize(opts = {})

View file

@ -10,6 +10,8 @@ module Inspec::Resources
Inspec Resource to get metadata about a specific Resource Group
'
supports platform: 'azure'
attr_reader :name, :location, :id, :total, :counts, :mapping
# Constructor to get the resource group itself and perform some analysis on the

View file

@ -10,6 +10,8 @@ module Inspec::Resources
Inspec Resource to test Azure Virtual Machines
'
supports platform: 'azure'
# Constructor for the resource. This calls the parent constructor to
# get the generic resource for the specified machine. This will provide
# static methods that are documented

View file

@ -11,6 +11,8 @@ module Inspec::Resources
Inspec Resource to ensure that the data disks attached to a machine are correct
'
supports platform: 'azure'
# Create a filter table so that tests on the disk can be performed
filter = FilterTable.create
filter.add_accessor(:where)