mirror of
https://github.com/inspec/inspec
synced 2025-02-01 14:53:34 +00:00
Mark json as an 'os' platform.
Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
parent
915fdd0396
commit
7e013e0a48
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ require "inspec/utils/file_reader"
|
||||||
module Inspec::Resources
|
module Inspec::Resources
|
||||||
class JsonConfig < Inspec.resource(1)
|
class JsonConfig < Inspec.resource(1)
|
||||||
name "json"
|
name "json"
|
||||||
|
supports platform: "os"
|
||||||
desc "Use the json InSpec audit resource to test data in a JSON file."
|
desc "Use the json InSpec audit resource to test data in a JSON file."
|
||||||
example <<~EXAMPLE
|
example <<~EXAMPLE
|
||||||
describe json('policyfile.lock.json') do
|
describe json('policyfile.lock.json') do
|
||||||
|
|
Loading…
Reference in a new issue