mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue