Mark json as an 'os' platform.

Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
Ryan Davis 2019-10-15 15:13:00 -07:00
parent 915fdd0396
commit 7e013e0a48

View file

@ -5,6 +5,7 @@ require "inspec/utils/file_reader"
module Inspec::Resources
class JsonConfig < Inspec.resource(1)
name "json"
supports platform: "os"
desc "Use the json InSpec audit resource to test data in a JSON file."
example <<~EXAMPLE
describe json('policyfile.lock.json') do