From 759e3dc59967ac43458a31e2e794fe8ae420a180 Mon Sep 17 00:00:00 2001 From: jpower432 Date: Mon, 16 Sep 2024 11:30:13 +0000 Subject: [PATCH] Auto-transform rules [skip ci] --- .../example/component-definition.json | 16 ++++++---------- example.csv | 3 +++ 2 files changed, 9 insertions(+), 10 deletions(-) create mode 100644 example.csv diff --git a/component-definitions/example/component-definition.json b/component-definitions/example/component-definition.json index 80a00c3..bdb3d8b 100644 --- a/component-definitions/example/component-definition.json +++ b/component-definitions/example/component-definition.json @@ -1,15 +1,15 @@ { "component-definition": { - "uuid": "4bc731f1-03bf-4f56-a76a-d8ea62dfd788", + "uuid": "4a90c766-e3a0-400f-be24-0c21b22e1614", "metadata": { "title": "Component definition for example", - "last-modified": "2024-09-16T11:30:05.944576+00:00", + "last-modified": "2024-09-16T11:30:11+00:00", "version": "1.0", - "oscal-version": "1.0.4" + "oscal-version": "1.1.2" }, "components": [ { - "uuid": "b8c06a65-a8f5-424b-89de-d81fb36b1902", + "uuid": "8ed9b4ac-e318-431a-873c-b227380227e3", "type": "service", "title": "Example", "description": "Example Application", @@ -47,7 +47,7 @@ ], "control-implementations": [ { - "uuid": "8f6f79aa-101e-4cd3-a7bb-5d6a4a80fa1f", + "uuid": "062242ea-5f31-4ef5-a9a5-70228f1d0c8a", "source": "profiles/fedramp_rev5_high/profile.json", "description": "FedRAMP REV5 High Baseline", "set-parameters": [ @@ -60,7 +60,7 @@ ], "implemented-requirements": [ { - "uuid": "54158878-afd7-49bb-ad08-8a6004adb5e2", + "uuid": "78bccedb-19d7-448b-b8e2-0c6147f65383", "control-id": "ac-1", "description": "", "props": [ @@ -68,10 +68,6 @@ "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/example.csv b/example.csv new file mode 100644 index 0000000..12e8128 --- /dev/null +++ b/example.csv @@ -0,0 +1,3 @@ +Component_Title,Component_Description,Component_Type,Rule_Id,Rule_Description,Profile_Source,Profile_Description,Control_Id_List,Namespace,Check_Id,Check_Description,Original_Risk_Rating,Adjusted_Risk_Rating,Risk_Adjustment,Parameter_Id,Parameter_Description,Parameter_Value_Alternatives,Parameter_Value_Default +example component,example description,service,example rule,example description,example href,example profile,example,https://oscal-compass.github.io/compliance-trestle/schemas/oscal,,,,,,,,, +Example,Example Application,service,Test-rule_001,Ensure all of the services are running these tests,profiles/fedramp_rev5_high/profile.json,FedRAMP REV5 High Baseline,ac-1,https://oscal-compass.github.io/compliance-trestle/schemas/oscal,,,,,,prm_1,prm_1 description,"{""default"": ""5%"", ""5pc"": ""5%"", ""10pc"": ""10%"", ""15pc"": ""15%"", ""20pc"": ""20%""}",5%