Module: Inspec::Schema::ExecJsonMin
- Defined in:
- lib/inspec/schema/exec_json_min.rb
Constant Summary collapse
- CONTROL =
Represents a subset of the information about a control, designed for conciseness
Primitives::SchemaType.new("Exec JSON-MIN Control", { "type" => "object", "additionalProperties" => true, "required" => %w{id profile_id profile_sha256 status code_desc}, "properties" => { "id" => Primitives::STRING, "profile_id" => { "type" => %w{string null} }, "profile_sha256" => Primitives::STRING, "status" => Primitives::STRING, "code_desc" => Primitives::STRING, "skip_message" => Primitives::STRING, "resource" => Primitives::STRING, "message" => Primitives::STRING, "exception" => Primitives::STRING, "backtrace" => Primitives.array(Primitives::STRING), }, }, [])
- OUTPUT =
Result of exec jsonmin. Top level value
Primitives::SchemaType.new("Exec JSON-MIN output", { "type" => "object", "additionalProperties" => true, "required" => %w{statistics controls version}, "properties" => { "statistics" => Primitives::STATISTICS.ref, "version" => Primitives::STRING, "controls" => Primitives.array(CONTROL.ref), }, }, [Primitives::STATISTICS, CONTROL])