Skip to content

Commit

Permalink
Update namespaces in constraints and unit test data files
Browse files Browse the repository at this point in the history
  • Loading branch information
Rene2mt committed Nov 27, 2024
1 parent c24cee7 commit b727064
Show file tree
Hide file tree
Showing 28 changed files with 250 additions and 250 deletions.
32 changes: 16 additions & 16 deletions src/validations/constraints/content/ssp-all-VALID.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<version>1.1</version>
<oscal-version>1.1.2</oscal-version>
<document-id scheme="https://example.com/identifiers">SSP-2024-002</document-id>
<prop name="fedramp-version" ns="https://fedramp.gov/ns/oscal" value="fedramp-3.0.0rc1-oscal-1.1.2"/>
<prop name="fedramp-version" ns="http://fedramp.gov/ns/oscal" value="fedramp-3.0.0rc1-oscal-1.1.2"/>
<prop name="marking" value="cui"/>
<role id="authorizing-official">
<title>Authorizing Official</title>
Expand Down Expand Up @@ -178,11 +178,11 @@
<p>Remarks are required if service model is "other". Optional otherwise.</p>
</remarks>
</prop>
<prop name='authorization-type' value='fedramp-agency' ns="https://fedramp.gov/ns/oscal"/>
<prop name='authorization-type' value='fedramp-agency' ns="http://fedramp.gov/ns/oscal"/>
<prop name="identity-assurance-level" value="2"/>
<prop name="authenticator-assurance-level" value="2"/>
<prop name="federation-assurance-level" value="2"/>
<prop ns="https://fedramp.gov/ns/oscal" name="fully-operational-date" value="2023-01-01+00:00"/>
<prop ns="http://fedramp.gov/ns/oscal" name="fully-operational-date" value="2023-01-01+00:00"/>
<security-sensitivity-level>fips-199-moderate</security-sensitivity-level>
<system-information>
<information-type uuid="33333333-0000-4000-9000-000000000003">
Expand Down Expand Up @@ -262,9 +262,9 @@

<leveraged-authorization uuid="233e0f09-fe5e-47e2-bca3-5f32df75e57a">
<title>GovCloud</title>
<prop ns="https://fedramp.gov/ns/oscal" name="leveraged-system-identifier" value="F1603047866"/>
<prop ns="https://fedramp.gov/ns/oscal" name="authorization-type" value="fedramp-agency"/>
<prop ns="https://fedramp.gov/ns/oscal" name="impact-level" value="moderate"/>
<prop ns="http://fedramp.gov/ns/oscal" name="leveraged-system-identifier" value="F1603047866"/>
<prop ns="http://fedramp.gov/ns/oscal" name="authorization-type" value="fedramp-agency"/>
<prop ns="http://fedramp.gov/ns/oscal" name="impact-level" value="moderate"/>
<link href="//path/to/leveraged_system_ssp.xml"/>
<party-uuid>f0bc13a4-3303-47dd-80d3-380e159c8362</party-uuid>
<date-authorized>2015-01-01</date-authorized>
Expand All @@ -277,8 +277,8 @@
<user uuid="44444444-0000-4000-9000-000000000004">
<title>System Administrator</title>
<prop name="type" value="internal"/>
<prop ns="https://fedramp.gov/ns/oscal" name="privilege-level" value="read-write"/>
<prop ns="https://fedramp.gov/ns/oscal" name="sensitivity" value="high-risk"/>
<prop ns="http://fedramp.gov/ns/oscal" name="privilege-level" value="read-write"/>
<prop ns="http://fedramp.gov/ns/oscal" name="sensitivity" value="high-risk"/>
<role-id>system-admin</role-id>
<authorized-privilege>
<title>Admin</title>
Expand Down Expand Up @@ -308,8 +308,8 @@
<p>An external leveraged system.</p>
</description>
<prop name="leveraged-authorization-uuid" value="233e0f09-fe5e-47e2-bca3-5f32df75e57a"/>
<prop name="nature-of-agreement" ns="https://fedramp.gov/ns/oscal" value="sla"/>
<prop ns="https://fedramp.gov/ns/oscal" name="authentication-method" value="yes"/>
<prop name="nature-of-agreement" ns="http://fedramp.gov/ns/oscal" value="sla"/>
<prop ns="http://fedramp.gov/ns/oscal" name="authentication-method" value="yes"/>
<status state="operational"/>
</component>

Expand All @@ -318,9 +318,9 @@
<description>
<p>Secure connection to an external API for data enrichment.</p>
</description>
<prop name="interconnection-security" value="vpn" ns="https://fedramp.gov/ns/oscal"/>
<prop name="interconnection-direction" value="in/out" ns="https://fedramp.gov/ns/oscal"/>
<prop ns="https://fedramp.gov/ns/oscal" name="authentication-method" value="yes">
<prop name="interconnection-security" value="vpn" ns="http://fedramp.gov/ns/oscal"/>
<prop name="interconnection-direction" value="in/out" ns="http://fedramp.gov/ns/oscal"/>
<prop ns="http://fedramp.gov/ns/oscal" name="authentication-method" value="yes">
<remarks>
<p>Some description of the authentication method.</p>
</remarks>
Expand All @@ -340,8 +340,8 @@
<p>Briefly describe the external system.</p>
</description>
<prop name="asset-type" value="cli"/>
<prop name="direction" value="in/out" ns="https://fedramp.gov/ns/oscal"/>
<prop name="nature-of-agreement" ns="https://fedramp.gov/ns/oscal" value="isa"/>
<prop name="direction" value="in/out" ns="http://fedramp.gov/ns/oscal"/>
<prop name="nature-of-agreement" ns="http://fedramp.gov/ns/oscal" value="isa"/>
<status state="operational"/>
</component>

Expand Down Expand Up @@ -372,7 +372,7 @@
<prop name="allows-authenticated-scan" value="yes"/>
<prop name="public" value="no"/>
<prop name="virtual" value="yes"/>
<prop name="scan-type" value="database" ns="https://fedramp.gov/ns/oscal"/>
<prop name="scan-type" value="database" ns="http://fedramp.gov/ns/oscal"/>
<responsible-party role-id="asset-owner">
<party-uuid>11111111-0000-4000-9000-000000000001</party-uuid>
</responsible-party>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<system-security-plan xmlns="http://csrc.nist.gov/ns/oscal/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" uuid="12345678-1234-4321-8765-123456789012">
<system-implementation>
<component uuid="66666666-0000-4000-9000-000000000006" type="interconnection">
<prop ns="https://fedramp.gov/ns/oscal" name="authentication-method" value="yes">
<prop ns="http://fedramp.gov/ns/oscal" name="authentication-method" value="yes">
<!-- <remarks>
<p>Some description of the authentication method.</p>
</remarks> Missing remarks field. Authentication method count = 1 and remarks count = 0.-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<component uuid="11111111-2222-4000-8000-009000100001" type="system">
<prop name="leveraged-authorization-uuid" value="11111111-2222-4000-8000-019000000001"/>
<prop name="implementation-point" value="external"/>
<prop ns="https://fedramp.gov/ns/oscal" name="nature-of-agreement" value="sla"/>
<!-- <prop ns="https://fedramp.gov/ns/oscal" name="authentication-method" value="INVALID"> Missing authentication-method
<prop ns="http://fedramp.gov/ns/oscal" name="nature-of-agreement" value="sla"/>
<!-- <prop ns="http://fedramp.gov/ns/oscal" name="authentication-method" value="INVALID"> Missing authentication-method
<remarks>
<p>If 'yes', describe the authentication method.</p>
<p>If 'no', explain why no authentication is used.</p>
Expand All @@ -19,8 +19,8 @@
<component uuid="11111111-2222-4000-8000-009000500002" type="service">
<prop name="implementation-point" value="external"/>
<prop name="direction" value="outgoing"/>
<prop ns="https://fedramp.gov/ns/oscal" name="still-supported" value="yes"/>
<!-- <prop ns="https://fedramp.gov/ns/oscal" name="authentication-method" value="INVALID"> Missing authentication-method
<prop ns="http://fedramp.gov/ns/oscal" name="still-supported" value="yes"/>
<!-- <prop ns="http://fedramp.gov/ns/oscal" name="authentication-method" value="INVALID"> Missing authentication-method
<remarks>
<p>If 'yes', describe the authentication method.</p>
<p>If 'no', explain why no authentication is used.</p>
Expand All @@ -31,9 +31,9 @@
<component uuid="11111111-2222-4000-8000-009000200001" type="interconnection">
<prop name="direction" value="incoming"/>
<prop name="direction" value="outgoing"/>
<prop ns="https://fedramp.gov/ns/oscal" name="nature-of-agreement" value="contract"/>
<prop ns="https://fedramp.gov/ns/oscal" name="still-supported" value="yes"/>
<!-- <prop ns="https://fedramp.gov/ns/oscal" name="authentication-method" value="INVALID"> Missing authentication-method
<prop ns="http://fedramp.gov/ns/oscal" name="nature-of-agreement" value="contract"/>
<prop ns="http://fedramp.gov/ns/oscal" name="still-supported" value="yes"/>
<!-- <prop ns="http://fedramp.gov/ns/oscal" name="authentication-method" value="INVALID"> Missing authentication-method
<remarks>
<p>If 'yes', describe the authentication method in the remarks.</p>
<p>If 'no', explain why no authentication is used in the remarks.</p>
Expand All @@ -44,7 +44,7 @@
<component uuid="11111111-2222-4000-8000-009000500004" type="service">
<prop name="implementation-point" value="internal"/>
<prop name="direction" value="outgoing"/>
<!-- <prop ns="https://fedramp.gov/ns/oscal" name="authentication-method" value="INVALID"> Missing authentication-method
<!-- <prop ns="http://fedramp.gov/ns/oscal" name="authentication-method" value="INVALID"> Missing authentication-method
<remarks>
<p>If 'yes', describe the authentication method in the remarks.</p>
<p>If 'no', explain why no authentication is used in the remarks.</p>
Expand All @@ -56,7 +56,7 @@
<prop name="asset-type" value="cli"/>
<prop name="implementation-point" value="internal"/>
<prop name="direction" value="outgoing"/>
<!-- <prop ns="https://fedramp.gov/ns/oscal" name="authentication-method" value="INVALID"> Missing authentication-method
<!-- <prop ns="http://fedramp.gov/ns/oscal" name="authentication-method" value="INVALID"> Missing authentication-method
<remarks>
<p>If 'yes', describe the authentication method in the remarks.</p>
<p>If 'no', explain why no authentication is used in the remarks.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<p>Briefly describe the external system.</p>
</description>
<prop name="asset-type" value="cli"/>
<prop name="direction" value="in/out" ns="https://fedramp.gov/ns/oscal"/>
<prop name="nature-of-agreement" ns="https://fedramp.gov/ns/oscal" value="invalid"/>
<prop name="direction" value="in/out" ns="http://fedramp.gov/ns/oscal"/>
<prop name="nature-of-agreement" ns="http://fedramp.gov/ns/oscal" value="invalid"/>
<status state="operational"/>
</component>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
uuid="12345678-1234-4321-8765-123456789012">

<system-characteristics>
<prop ns="https://fedramp.gov/ns/oscal" name="fully-operational-date" value="2027-01-01+00:00"/><!-- operational date should not be in future -->
<prop ns="http://fedramp.gov/ns/oscal" name="fully-operational-date" value="2027-01-01+00:00"/><!-- operational date should not be in future -->
</system-characteristics>

</system-security-plan>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
uuid="12345678-1234-4321-8765-123456789012">

<system-characteristics>
<prop ns="https://fedramp.gov/ns/oscal" name="fully-operational-date" value="2023"/><!-- year only instead of full date -->
<prop ns="http://fedramp.gov/ns/oscal" name="fully-operational-date" value="2023"/><!-- year only instead of full date -->
</system-characteristics>

</system-security-plan>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
uuid="12345678-1234-4321-8765-123456789012">

<system-characteristics>
<prop ns="https://fedramp.gov/ns/oscal" name="fully-operational-date" value="2023-01-01"/><!-- no timezone -->
<prop ns="http://fedramp.gov/ns/oscal" name="fully-operational-date" value="2023-01-01"/><!-- no timezone -->
</system-characteristics>

</system-security-plan>
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<version>1.1</version>
<oscal-version>1.1.2</oscal-version>
<document-id scheme="https://example.com/identifiers">SSP-2024-002</document-id>
<prop name="fedramp-version" ns="https://fedramp.gov/ns/oscal" value="fedramp-3.0.0rc1-oscal-1.1.2"/>
<prop name="fedramp-version" ns="http://fedramp.gov/ns/oscal" value="fedramp-3.0.0rc1-oscal-1.1.2"/>

<role id="creator">
<title>Document Creator</title>
Expand Down Expand Up @@ -112,15 +112,15 @@
<import-profile href="../../../../dist/content/rev5/baselines/xml/FedRAMP_rev5_HIGH-baseline-resolved-profile_catalog.xml"/>

<system-characteristics>
<system-id identifier-type="https://fedramp.gov">F00000001</system-id>
<system-id identifier-type="http://fedramp.gov/ns/oscal">F00000001</system-id>
<system-name>Enhanced Example System</system-name>
<system-name-short>System's Short Name or Acronym</system-name-short>
<description>
<p>This is an enhanced example system for demonstration purposes, incorporating more FedRAMP-specific elements.</p>
</description>
<prop name='cloud-deployment-model' value='government-only-cloud' ns="https://fedramp.gov/ns/oscal"/>
<prop name='cloud-service-model' value='other' ns="https://fedramp.gov/ns/oscal"/>
<prop name='authorization-type' value='fedramp-agency' ns="https://fedramp.gov/ns/oscal"/>
<prop name='cloud-deployment-model' value='government-only-cloud' ns="http://fedramp.gov/ns/oscal"/>
<prop name='cloud-service-model' value='other' ns="http://fedramp.gov/ns/oscal"/>
<prop name='authorization-type' value='fedramp-agency' ns="http://fedramp.gov/ns/oscal"/>
<prop name="identity-assurance-level" value="2"/>
<prop name="authenticator-assurance-level" value="2"/>
<prop name="federation-assurance-level" value="2"/>
Expand Down Expand Up @@ -203,8 +203,8 @@
<user uuid="44444444-0000-4000-9000-000000000004">
<title>System Administrator</title>
<prop name="type" value="internal"/>
<prop ns="https://fedramp.gov/ns/oscal" name="privilege-level" value="read-write"/>
<prop ns="https://fedramp.gov/ns/oscal" name="sensitivity" value="high-risk"/>
<prop ns="http://fedramp.gov/ns/oscal" name="privilege-level" value="read-write"/>
<prop ns="http://fedramp.gov/ns/oscal" name="sensitivity" value="high-risk"/>
<role-id>system-admin</role-id>
<authorized-privilege>
<title>Admin</title>
Expand Down Expand Up @@ -234,8 +234,8 @@
<description>
<p>Secure connection to an external API for data enrichment.</p>
</description>
<prop name="interconnection-security" value="vpn" ns="https://fedramp.gov/ns/oscal"/>
<prop name="interconnection-direction" value="in/out" ns="https://fedramp.gov/ns/oscal"/>
<prop name="interconnection-security" value="vpn" ns="http://fedramp.gov/ns/oscal"/>
<prop name="interconnection-direction" value="in/out" ns="http://fedramp.gov/ns/oscal"/>
<status state="operational"/>
<responsible-role role-id="system-admin">
<party-uuid>11111111-0000-4000-9000-000000000001</party-uuid>
Expand All @@ -254,7 +254,7 @@
<prop name="allows-authenticated-scan" value="yes"/>
<prop name="public" value="no"/>
<prop name="virtual" value="yes"/>
<prop name="scan-type" value="database" ns="https://fedramp.gov/ns/oscal"/>
<prop name="scan-type" value="database" ns="http://fedramp.gov/ns/oscal"/>
<responsible-party role-id="asset-owner">
<party-uuid>11111111-0000-4000-9000-000000000001</party-uuid>
</responsible-party>
Expand All @@ -269,30 +269,30 @@
<p>Implementation of controls for the Enhanced Example System</p>
</description>
<implemented-requirement uuid="88888888-0000-4000-9000-000000000008" control-id="ac-1">
<prop name="control-origination" value="sp-system" ns="https://fedramp.gov/ns/oscal"/>
<prop name="implementation-status" value="partial" ns="https://fedramp.gov/ns/oscal"/>
<prop name="control-origination" value="sp-system" ns="http://fedramp.gov/ns/oscal"/>
<prop name="implementation-status" value="partial" ns="http://fedramp.gov/ns/oscal"/>
<statement statement-id="ac-1_stmt.a" uuid="99999999-0000-4000-9000-000000000009">
</statement>
<by-component component-uuid="55555555-0000-4000-9000-000000000005" uuid="aaaaaaaa-0000-4000-9000-00000000000a">
<description>
<p>Access Control Policy and Procedures (AC-1) is fully implemented in our system.</p>
</description>
<prop ns="https://fedramp.gov/ns/oscal" name="implementation-status" value="implemented"/>
<prop ns="http://fedramp.gov/ns/oscal" name="implementation-status" value="implemented"/>
<responsible-role role-id="system-admin">
<party-uuid>11111111-0000-4000-9000-000000000001</party-uuid>
</responsible-role>
</by-component>
</implemented-requirement>

<implemented-requirement uuid="bbbbbbbb-0000-4000-9000-00000000000b" control-id="cm-8">
<prop name="control-origination" value="sp-system" ns="https://fedramp.gov/ns/oscal"/>
<prop name="control-origination" value="sp-system" ns="http://fedramp.gov/ns/oscal"/>
<statement statement-id="cm-8_stmt.a" uuid="cccccccc-0000-4000-9000-00000000000c">
</statement>
<by-component component-uuid="55555555-0000-4000-9000-000000000005" uuid="dddddddd-0000-4000-9000-00000000000d">
<description>
<p>Information System Component Inventory (CM-8) is partially implemented.</p>
</description>
<prop ns="https://fedramp.gov/ns/oscal" name="implementation-status" value="partial"/>
<prop ns="http://fedramp.gov/ns/oscal" name="implementation-status" value="partial"/>
<responsible-role role-id="system-admin">
<party-uuid>11111111-0000-4000-9000-000000000001</party-uuid>
</responsible-role>
Expand All @@ -306,7 +306,7 @@
<description>
<p>Detailed access control policy document</p>
</description>
<prop name="type" value="policy" ns="https://fedramp.gov/ns/oscal"/>
<prop name="type" value="policy" ns="http://fedramp.gov/ns/oscal"/>
<rlink href="https://example.com/policies/access-control.pdf"/>
</resource>
<resource uuid="90a128ac-c850-48f6-8fff-a55692f80b41">
Expand Down Expand Up @@ -387,7 +387,7 @@
<description>
<p>Separation of Duties Matrix</p>
</description>
<prop ns="https://fedramp.gov/ns/oscal" name="type" value="separation-of-duties-matrix"/>
<prop ns="http://fedramp.gov/ns/oscal" name="type" value="separation-of-duties-matrix"/>
<prop name="published" value="2023-01-01T00:00:00Z"/>
<prop name="version" value="Document Version"/>
<rlink href="./documents/Sep_Matrix.docx" media-type="application/msword"/>
Expand All @@ -403,7 +403,7 @@
<description>
<p>Authorization Boundary Diagram</p>
</description>
<prop ns="https://fedramp.gov/ns/oscal" name="type" value="plan"/>
<prop ns="http://fedramp.gov/ns/oscal" name="type" value="plan"/>
<prop name="published" value="2023-01-01T00:00:00Z"/>
<prop name="version" value="Document Version"/>
<rlink href="./documents/AuthBoundary.docx" media-type="application/msword"/>
Expand All @@ -418,7 +418,7 @@
<description>
<p>Network Architecture Diagram</p>
</description>
<prop ns="https://fedramp.gov/ns/oscal" name="type" value="plan"/>
<prop ns="http://fedramp.gov/ns/oscal" name="type" value="plan"/>
<prop name="published" value="2023-01-01T00:00:00Z"/>
<prop name="version" value="Document Version"/>
<rlink href="./documents/NetworkArchitecture.docx" media-type="application/msword"/>
Expand All @@ -433,7 +433,7 @@
<description>
<p>Data flow Diagram</p>
</description>
<prop ns="https://fedramp.gov/ns/oscal" name="type" value="plan"/>
<prop ns="http://fedramp.gov/ns/oscal" name="type" value="plan"/>
<prop name="published" value="2023-01-01T00:00:00Z"/>
<prop name="version" value="Document Version"/>
<rlink href="./documents/Dataflo.docx" media-type="application/msword"/>
Expand Down
Loading

0 comments on commit b727064

Please sign in to comment.