From 59bd5c5ef0a2c984536a21dff7f295cf4826d208 Mon Sep 17 00:00:00 2001 From: Alexander Stein Date: Wed, 1 Jun 2022 18:04:07 -0400 Subject: [PATCH] [WIP] Add rules model and refs into component-definition model. --- src/metaschema/examples/rules-component.xml | 73 ++++++++++++ src/metaschema/oscal_component_metaschema.xml | 19 ++++ .../oscal_rules-common_metaschema.xml | 105 ++++++++++++++++++ 3 files changed, 197 insertions(+) create mode 100644 src/metaschema/examples/rules-component.xml create mode 100644 src/metaschema/oscal_rules-common_metaschema.xml diff --git a/src/metaschema/examples/rules-component.xml b/src/metaschema/examples/rules-component.xml new file mode 100644 index 0000000000..0184e6b15f --- /dev/null +++ b/src/metaschema/examples/rules-component.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + Important Rule 1 + This is a description of Important Rule 1. + + + Test A for Rule 1 + This is Test A, it can be executed to demonstrate a system meets requirements for Rule 1. + + + Test B for Rule 1 + This is Test B, it can be executed to demonstrate a system meets requirements for Rule 1. + + + Test C for Rule 1 + This is Test C, it can be optionally executed to demonstrate a system meets requirements for Rule 1. + + + Test D for Rule 1 + This is Test C, it can be optionally executed to demonstrate a system meets requirements for Rule 1. + + + + + + + + + + + + + + + + + + + + + + + + Example Rule & Test Component 1 + A Sample Component with Rule and Test Integration + + Rule Implementation for Testing Scenario Usage Pattern 1. + + + Rule Implementation for Testing Scenario Usage Pattern 2. + + + Rule Implementation for Testing Scenario Usage Pattern 3. + + + + \ No newline at end of file diff --git a/src/metaschema/oscal_component_metaschema.xml b/src/metaschema/oscal_component_metaschema.xml index c757be4c80..a74385fb18 100644 --- a/src/metaschema/oscal_component_metaschema.xml +++ b/src/metaschema/oscal_component_metaschema.xml @@ -26,6 +26,7 @@ + Component Definition @@ -41,6 +42,17 @@ + + rule + + + + test + + + + + component @@ -118,6 +130,7 @@ +