Skip to content

Commit

Permalink
Publishing generated metaschema resources [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
david-waltermire-nist authored and aj-stein-nist committed Oct 18, 2022
1 parent 5910df3 commit e4f710c
Show file tree
Hide file tree
Showing 12 changed files with 3,140 additions and 478 deletions.
436 changes: 429 additions & 7 deletions json/convert/oscal_complete_xml-to-json-converter.xsl

Large diffs are not rendered by default.

634 changes: 617 additions & 17 deletions json/convert/oscal_poam_xml-to-json-converter.xsl

Large diffs are not rendered by default.

77 changes: 77 additions & 0 deletions json/schema/oscal_assessment-plan_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1523,6 +1523,83 @@
"target-id",
"status" ],
"additionalProperties" : false },
"oscal-ap-oscal-assessment-common:finding" :
{ "title" : "Finding",
"description" : "Describes an individual finding.",
"$id" : "#assembly_oscal-assessment-common_finding",
"type" : "object",
"properties" :
{ "uuid" :
{ "title" : "Finding Universally Unique Identifier",
"description" : "A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference this finding in this or other OSCAL instances. The locally defined UUID of the finding can be used to reference the data item locally or globally (e.g., in an imported OSCAL instance). This UUID should be assigned per-subject, which means it should be consistently used to identify the same subject across revisions of the document.",
"$ref" : "#/definitions/UUIDDatatype" },
"title" :
{ "title" : "Finding Title",
"description" : "The title for this finding.",
"type" : "string" },
"description" :
{ "title" : "Finding Description",
"description" : "A human-readable description of this finding.",
"type" : "string" },
"props" :
{ "type" : "array",
"minItems" : 1,
"items" :
{ "$ref" : "#assembly_oscal-metadata_property" } },
"links" :
{ "type" : "array",
"minItems" : 1,
"items" :
{ "$ref" : "#assembly_oscal-metadata_link" } },
"origins" :
{ "type" : "array",
"minItems" : 1,
"items" :
{ "$ref" : "#assembly_oscal-assessment-common_origin" } },
"target" :
{ "$ref" : "#assembly_oscal-assessment-common_finding-target" },
"implementation-statement-uuid" :
{ "title" : "Implementation Statement UUID",
"description" : "A machine-oriented identifier reference to the implementation statement in the SSP to which this finding is related.",
"$ref" : "#/definitions/UUIDDatatype" },
"related-observations" :
{ "type" : "array",
"minItems" : 1,
"items" :
{ "title" : "Related Observation",
"description" : "Relates the finding to a set of referenced observations that were used to determine the finding.",
"type" : "object",
"properties" :
{ "observation-uuid" :
{ "title" : "Observation Universally Unique Identifier Reference",
"description" : "A machine-oriented identifier reference to an observation defined in the list of observations.",
"$ref" : "#/definitions/UUIDDatatype" } },
"required" :
[ "observation-uuid" ],
"additionalProperties" : false } },
"related-risks" :
{ "type" : "array",
"minItems" : 1,
"items" :
{ "title" : "Associated Risk",
"description" : "Relates the finding to a set of referenced risks that were used to determine the finding.",
"type" : "object",
"properties" :
{ "risk-uuid" :
{ "title" : "Risk Universally Unique Identifier Reference",
"description" : "A machine-oriented identifier reference to a risk defined in the list of risks.",
"$ref" : "#/definitions/UUIDDatatype" } },
"required" :
[ "risk-uuid" ],
"additionalProperties" : false } },
"remarks" :
{ "$ref" : "#field_oscal-metadata_remarks" } },
"required" :
[ "uuid",
"title",
"description",
"target" ],
"additionalProperties" : false },
"oscal-ap-oscal-assessment-common:observation" :
{ "title" : "Observation",
"description" : "Describes an individual observation.",
Expand Down
156 changes: 78 additions & 78 deletions json/schema/oscal_assessment-results_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
{ "type" : "array",
"minItems" : 1,
"items" :
{ "$ref" : "#assembly_oscal-ar_finding" } },
{ "$ref" : "#assembly_oscal-assessment-common_finding" } },
"remarks" :
{ "$ref" : "#field_oscal-metadata_remarks" } },
"required" :
Expand All @@ -222,83 +222,6 @@
"start",
"reviewed-controls" ],
"additionalProperties" : false },
"oscal-ar-oscal-ar:finding" :
{ "title" : "Finding",
"description" : "Describes an individual finding.",
"$id" : "#assembly_oscal-ar_finding",
"type" : "object",
"properties" :
{ "uuid" :
{ "title" : "Finding Universally Unique Identifier",
"description" : "A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference this finding in this or other OSCAL instances. The locally defined UUID of the finding can be used to reference the data item locally or globally (e.g., in an imported OSCAL instance). This UUID should be assigned per-subject, which means it should be consistently used to identify the same subject across revisions of the document.",
"$ref" : "#/definitions/UUIDDatatype" },
"title" :
{ "title" : "Finding Title",
"description" : "The title for this finding.",
"type" : "string" },
"description" :
{ "title" : "Finding Description",
"description" : "A human-readable description of this finding.",
"type" : "string" },
"props" :
{ "type" : "array",
"minItems" : 1,
"items" :
{ "$ref" : "#assembly_oscal-metadata_property" } },
"links" :
{ "type" : "array",
"minItems" : 1,
"items" :
{ "$ref" : "#assembly_oscal-metadata_link" } },
"origins" :
{ "type" : "array",
"minItems" : 1,
"items" :
{ "$ref" : "#assembly_oscal-assessment-common_origin" } },
"target" :
{ "$ref" : "#assembly_oscal-assessment-common_finding-target" },
"implementation-statement-uuid" :
{ "title" : "Implementation Statement UUID",
"description" : "A machine-oriented identifier reference to the implementation statement in the SSP to which this finding is related.",
"$ref" : "#/definitions/UUIDDatatype" },
"related-observations" :
{ "type" : "array",
"minItems" : 1,
"items" :
{ "title" : "Related Observation",
"description" : "Relates the finding to a set of referenced observations that were used to determine the finding.",
"type" : "object",
"properties" :
{ "observation-uuid" :
{ "title" : "Observation Universally Unique Identifier Reference",
"description" : "A machine-oriented identifier reference to an observation defined in the list of observations.",
"$ref" : "#/definitions/UUIDDatatype" } },
"required" :
[ "observation-uuid" ],
"additionalProperties" : false } },
"related-risks" :
{ "type" : "array",
"minItems" : 1,
"items" :
{ "title" : "Associated Risk",
"description" : "Relates the finding to a set of referenced risks that were used to determine the finding.",
"type" : "object",
"properties" :
{ "risk-uuid" :
{ "title" : "Risk Universally Unique Identifier Reference",
"description" : "A machine-oriented identifier reference to a risk defined in the list of risks.",
"$ref" : "#/definitions/UUIDDatatype" } },
"required" :
[ "risk-uuid" ],
"additionalProperties" : false } },
"remarks" :
{ "$ref" : "#field_oscal-metadata_remarks" } },
"required" :
[ "uuid",
"title",
"description",
"target" ],
"additionalProperties" : false },
"oscal-ar-oscal-ar:import-ap" :
{ "title" : "Import Assessment Plan",
"description" : "Used by assessment-results to import information about the original plan for assessing the system.",
Expand Down Expand Up @@ -1753,6 +1676,83 @@
"target-id",
"status" ],
"additionalProperties" : false },
"oscal-ar-oscal-assessment-common:finding" :
{ "title" : "Finding",
"description" : "Describes an individual finding.",
"$id" : "#assembly_oscal-assessment-common_finding",
"type" : "object",
"properties" :
{ "uuid" :
{ "title" : "Finding Universally Unique Identifier",
"description" : "A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference this finding in this or other OSCAL instances. The locally defined UUID of the finding can be used to reference the data item locally or globally (e.g., in an imported OSCAL instance). This UUID should be assigned per-subject, which means it should be consistently used to identify the same subject across revisions of the document.",
"$ref" : "#/definitions/UUIDDatatype" },
"title" :
{ "title" : "Finding Title",
"description" : "The title for this finding.",
"type" : "string" },
"description" :
{ "title" : "Finding Description",
"description" : "A human-readable description of this finding.",
"type" : "string" },
"props" :
{ "type" : "array",
"minItems" : 1,
"items" :
{ "$ref" : "#assembly_oscal-metadata_property" } },
"links" :
{ "type" : "array",
"minItems" : 1,
"items" :
{ "$ref" : "#assembly_oscal-metadata_link" } },
"origins" :
{ "type" : "array",
"minItems" : 1,
"items" :
{ "$ref" : "#assembly_oscal-assessment-common_origin" } },
"target" :
{ "$ref" : "#assembly_oscal-assessment-common_finding-target" },
"implementation-statement-uuid" :
{ "title" : "Implementation Statement UUID",
"description" : "A machine-oriented identifier reference to the implementation statement in the SSP to which this finding is related.",
"$ref" : "#/definitions/UUIDDatatype" },
"related-observations" :
{ "type" : "array",
"minItems" : 1,
"items" :
{ "title" : "Related Observation",
"description" : "Relates the finding to a set of referenced observations that were used to determine the finding.",
"type" : "object",
"properties" :
{ "observation-uuid" :
{ "title" : "Observation Universally Unique Identifier Reference",
"description" : "A machine-oriented identifier reference to an observation defined in the list of observations.",
"$ref" : "#/definitions/UUIDDatatype" } },
"required" :
[ "observation-uuid" ],
"additionalProperties" : false } },
"related-risks" :
{ "type" : "array",
"minItems" : 1,
"items" :
{ "title" : "Associated Risk",
"description" : "Relates the finding to a set of referenced risks that were used to determine the finding.",
"type" : "object",
"properties" :
{ "risk-uuid" :
{ "title" : "Risk Universally Unique Identifier Reference",
"description" : "A machine-oriented identifier reference to a risk defined in the list of risks.",
"$ref" : "#/definitions/UUIDDatatype" } },
"required" :
[ "risk-uuid" ],
"additionalProperties" : false } },
"remarks" :
{ "$ref" : "#field_oscal-metadata_remarks" } },
"required" :
[ "uuid",
"title",
"description",
"target" ],
"additionalProperties" : false },
"oscal-ar-oscal-assessment-common:observation" :
{ "title" : "Observation",
"description" : "Describes an individual observation.",
Expand Down
Loading

0 comments on commit e4f710c

Please sign in to comment.