From 673f0ee9fab57f6eb79103951654a08cda27033c Mon Sep 17 00:00:00 2001 From: David Waltermire Date: Tue, 3 Nov 2020 14:22:04 -0500 Subject: [PATCH] Fixed missing json-value-key or made as-type='empty', which resolves #769 --- .../oscal_assessment-common_metaschema.xml | 124 ++++++------------ src/metaschema/oscal_catalog_metaschema.xml | 2 +- .../oscal_framework-common_metaschema.xml | 2 +- src/metaschema/oscal_profile_metaschema.xml | 3 - 4 files changed, 42 insertions(+), 89 deletions(-) diff --git a/src/metaschema/oscal_assessment-common_metaschema.xml b/src/metaschema/oscal_assessment-common_metaschema.xml index 23785e1c23..386fe34cfc 100644 --- a/src/metaschema/oscal_assessment-common_metaschema.xml +++ b/src/metaschema/oscal_assessment-common_metaschema.xml @@ -67,8 +67,10 @@ - - + + + + @@ -93,17 +95,15 @@ - + Include Control Identifies an individual control to include. - - + Exclude Control Identifies an individual control to exclude. - @@ -131,17 +131,15 @@ - + Include Objective Identifies an individual control objective to include. - - + Exclude Objective Identifies an individual control objective to exclude. - @@ -180,11 +178,11 @@ - + Assessment Method Identifies a method for assessing the satisfaction of this objective. - - + + Method ID Identifies the assessment method by its UUID value. @@ -194,7 +192,7 @@ - + Assessment Method A local definition of a control objective. Uses catalog syntax for control objective and assessment actions. @@ -869,7 +867,7 @@ Result A brief indication as to whether the objective is satisfied or not. - + value @@ -934,27 +932,23 @@

Identifies who was interviewed, or what was tested or inspected.

- - origin field + + Origin Identifies the source of the finding, such as a tool, interviewed person, or activity. + type flag type flag ... - An assessment tool, defined in the assets section of the - assessment plan or results. - A test method defined in the assessment-activities - section of the assessment plan or results. - A task defined in the schedule of the assessment plan or - results. - An assessment activity defined in the - assessment-activities section of the assessment plan or results. - The UUID points elsewhere in the this file or an imported - file. + An assessment tool, defined in the assets section of the assessment plan or results. + A test method defined in the assessment-activities section of the assessment plan or results. + A task defined in the schedule of the assessment plan or results. + An assessment activity defined in the assessment-activities section of the assessment plan or results. + The UUID points elsewhere in the this file or an imported file. @@ -999,36 +993,15 @@ - + Assessor Identifies an individual who gathered the evidence resulting in the observation or risk identification. - + Party UUID The UUID of the assessor who collected the evidence or made the observation. - - - Origin - Identifies the tool or activity that resulted in the observation. - - - - - type flag - type flag ... - - - An assessment tool, defined in the assets section of the assessment plan or results. - A test method defined in the assessment-activities section of the assessment plan or results. - A task defined in the schedule of the assessment plan or results. - An assessment activity defined in the assessment-activities section of the assessment plan or results. - The UUID points elsewhere in the this file or an imported file. - - - - UUID Reference A pointer to a relevant item, using it's UUID. @@ -1064,6 +1037,7 @@ Threat ID A pointer, by ID, to an externally-defined threat. + id Threat Type Identification System Specifies the source of the threat information. @@ -1074,8 +1048,9 @@ - - URI + + + Threat Information Resource Reference An optional location for the threat data, from which this ID originates. @@ -1137,13 +1112,19 @@ Risk Metric An individual risk metric from a specified system. - + value + name flag name flag ... + An identifier managed by the CVE program (see https://cve.mitre.org/). + Access Vector + Attack Vector + Attack Vector + Likelihood as defined by FedRAMP. The class can be used to specifiy 'inital' and 'adjusted'. Impacted Control Vulnerability ID Source ID @@ -1412,22 +1393,14 @@ - - remediation-origin field - Points to the source of the recommendation - + + + Remediation Origin + Points to the source of the recommendation. - - type flag - type flag ... - - - The UUID of the person or organization who made the recommendation - The UUID of the tool that made the recommendation - - - + + @@ -1437,23 +1410,6 @@ - - Remediation Origin - Points to the source of the remediation recommendation or plan - - - - type flag - type flag ... - - - The UUID of the person or organization who made the recommendation - The UUID of the tool that made the recommendation - - - - - Risk Statement Describes the risk. diff --git a/src/metaschema/oscal_catalog_metaschema.xml b/src/metaschema/oscal_catalog_metaschema.xml index 8473af7522..1dc89486ea 100644 --- a/src/metaschema/oscal_catalog_metaschema.xml +++ b/src/metaschema/oscal_catalog_metaschema.xml @@ -64,7 +64,7 @@ Control Group A group of controls, or of groups of controls. - + Group Identifier A unique identifier for a specific group instance that can be used to reference the group within this and in other OSCAL documents. This identifier's uniqueness is document scoped and is intended to be consistent for the same group across minor revisions of the document. diff --git a/src/metaschema/oscal_framework-common_metaschema.xml b/src/metaschema/oscal_framework-common_metaschema.xml index 9cee1dc859..c2983d9493 100644 --- a/src/metaschema/oscal_framework-common_metaschema.xml +++ b/src/metaschema/oscal_framework-common_metaschema.xml @@ -24,7 +24,7 @@ Control mapping A mapping of a control or control statement to one or more other concepts. - + diff --git a/src/metaschema/oscal_profile_metaschema.xml b/src/metaschema/oscal_profile_metaschema.xml index c116c38267..115e81da7b 100644 --- a/src/metaschema/oscal_profile_metaschema.xml +++ b/src/metaschema/oscal_profile_metaschema.xml @@ -226,7 +226,6 @@ Call Call a control by its ID - @@ -236,7 +235,6 @@ Match controls by identifier Select controls by (regular expression) match on ID - @@ -336,7 +334,6 @@ Removal Specifies elements to be removed from a control, in resolution - Reference by (assigned) name Items to remove, by assigned name