From 7e013e0a486ea306c47d7881978a946df1009baa Mon Sep 17 00:00:00 2001 From: Ryan Davis Date: Tue, 15 Oct 2019 15:13:00 -0700 Subject: [PATCH] Mark json as an 'os' platform. Signed-off-by: Ryan Davis --- lib/inspec/resources/json.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/inspec/resources/json.rb b/lib/inspec/resources/json.rb index bebff8507..ae7487e65 100644 --- a/lib/inspec/resources/json.rb +++ b/lib/inspec/resources/json.rb @@ -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