From 481f814cdcc0871b42288b2941ae24973dfd2c4b Mon Sep 17 00:00:00 2001 From: jpower432 Date: Tue, 12 Mar 2024 20:07:17 +0000 Subject: [PATCH] Sync automatic updates --- .../example/component-definition.json | 6 ++++- .../test_comp/component-definition.json | 18 ++++++++++++++- .../example/Example/source_001/ac/ac-1.md | 22 +++++++++++++++++++ .../test_comp/My Comp/example/ac/ac-1.md | 22 +++++++++++++++++++ 4 files changed, 66 insertions(+), 2 deletions(-) diff --git a/component-definitions/example/component-definition.json b/component-definitions/example/component-definition.json index df64de8..0ddeda0 100644 --- a/component-definitions/example/component-definition.json +++ b/component-definitions/example/component-definition.json @@ -3,7 +3,7 @@ "uuid": "2c886a12-6ffa-41f9-a304-fec473e6a7ec", "metadata": { "title": "Component definition for example", - "last-modified": "2024-03-12T20:06:19+00:00", + "last-modified": "2024-03-12T20:07:14.430687+00:00", "version": "1.0", "oscal-version": "1.0.4" }, @@ -68,6 +68,10 @@ "name": "Rule_Id", "ns": "https://oscal-compass.github.io/compliance-trestle/schemas/oscal", "value": "Test-rule_001" + }, + { + "name": "implementation-status", + "value": "planned" } ] } diff --git a/component-definitions/test_comp/component-definition.json b/component-definitions/test_comp/component-definition.json index 064176c..9d01035 100644 --- a/component-definitions/test_comp/component-definition.json +++ b/component-definitions/test_comp/component-definition.json @@ -3,7 +3,7 @@ "uuid": "1ab73aee-4eef-4f7a-aec9-50a4554dc7be", "metadata": { "title": "Component definition for test_comp", - "last-modified": "2024-03-12T20:06:19+00:00", + "last-modified": "2024-03-12T20:07:14.322243+00:00", "version": "1.0", "oscal-version": "1.0.4" }, @@ -104,6 +104,10 @@ "name": "Rule_Id", "ns": "https://oscal-compass.github.io/compliance-trestle/schemas/oscal", "value": "rule-sc-1" + }, + { + "name": "implementation-status", + "value": "planned" } ] }, @@ -116,6 +120,10 @@ "name": "Rule_Id", "ns": "https://oscal-compass.github.io/compliance-trestle/schemas/oscal", "value": "rule-ac-2" + }, + { + "name": "implementation-status", + "value": "planned" } ] }, @@ -128,6 +136,10 @@ "name": "Rule_Id", "ns": "https://oscal-compass.github.io/compliance-trestle/schemas/oscal", "value": "rule-ac-1" + }, + { + "name": "implementation-status", + "value": "planned" } ] }, @@ -140,6 +152,10 @@ "name": "Rule_Id", "ns": "https://oscal-compass.github.io/compliance-trestle/schemas/oscal", "value": "rule-ac-4.4" + }, + { + "name": "implementation-status", + "value": "planned" } ] } diff --git a/markdown/components/example/Example/source_001/ac/ac-1.md b/markdown/components/example/Example/source_001/ac/ac-1.md index a6d75d4..ea23dcb 100644 --- a/markdown/components/example/Example/source_001/ac/ac-1.md +++ b/markdown/components/example/Example/source_001/ac/ac-1.md @@ -18,6 +18,28 @@ x-trestle-global: title: FedRAMP Rev 5 High Baseline href: profiles/fedramp_rev5_high/profile.json sort-id: ac-01 +x-trestle-rules-params: + Example: + - name: prm_1 + description: prm_1 description + options: "{'default': '5%', '5pc': '5%', '10pc': '10%', '15pc': '15%', '20pc': + '20%'}" + rule-id: Test-rule_001 +x-trestle-comp-def-rules-param-vals: + # You may set new values for rule parameters by adding + # + # component-values: + # - value 1 + # - value 2 + # + # below a section of values: + # The values list refers to the values as set by the components, and the component-values are the new values + # to be placed in SetParameters of the component definition. + # + Example: + - name: prm_1 + values: + - 5% --- # ac-1 - \[Access Control\] Policy and Procedures diff --git a/markdown/components/test_comp/My Comp/example/ac/ac-1.md b/markdown/components/test_comp/My Comp/example/ac/ac-1.md index 6bc8c35..b62367f 100644 --- a/markdown/components/test_comp/My Comp/example/ac/ac-1.md +++ b/markdown/components/test_comp/My Comp/example/ac/ac-1.md @@ -18,6 +18,28 @@ x-trestle-global: title: Example href: trestle://profiles/example/profile.json sort-id: ac-01 +x-trestle-rules-params: + My Comp: + - name: prm_1 + description: prm_1 description + options: "{'default': '5%', '5pc': '5%', '10pc': '10%', '15pc': '15%', '20pc': + '20%'}" + rule-id: rule-ac-1 +x-trestle-comp-def-rules-param-vals: + # You may set new values for rule parameters by adding + # + # component-values: + # - value 1 + # - value 2 + # + # below a section of values: + # The values list refers to the values as set by the components, and the component-values are the new values + # to be placed in SetParameters of the component definition. + # + My Comp: + - name: prm_1 + values: + - 5% --- # ac-1 - \[Access Control\] Policy and Procedures