Skip to content

Commit da45cdc

Browse files
authored
Build resolved profiles of base FR tailoring catalog and workaround upstream content issue (#1228)
* Update valid example SSP to use local HIGH profile by path not URL * Workaround malformed upstream content per metaschema-framework/liboscal-java#144 An upstream bug fix to work around profile resolution failures from warning will come shortly. * Update Makefile to build resolved catalog of tailoring profile for debugging and general use
1 parent 0e3a2a6 commit da45cdc

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

src/content/module.mk

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ build-content:
3939
@echo "Producing artifacts for SAR..."
4040
$(OSCAL_CLI) convert -f $(SRC_DIR)/content/rev5/templates/sar/xml -o $(DIST_DIR)/content/rev5/templates/sar -s
4141

42+
@echo "Resolving FedRAMP tailoring catalog ..."
43+
$(OSCAL_CLI) resolve -f $(SRC_DIR)/content/rev5/baselines/xml/FedRAMP_rev5_catalog_tailoring_profile.xml -o $(XML_DIR)/FedRAMP_rev5_catalog_tailoring-resolved-profile_catalog.xml -s
4244
@echo "Resolving FedRAMP HIGH baseline profile..."
4345
$(OSCAL_CLI) resolve -f $(SRC_DIR)/content/rev5/baselines/xml/FedRAMP_rev5_HIGH-baseline_profile.xml -o $(XML_DIR)/FedRAMP_rev5_HIGH-baseline-resolved-profile_catalog.xml -s
4446
@echo "Resolving FedRAMP MODERATE baseline profile..."

src/content/rev5/baselines/xml/FedRAMP_rev5_catalog_tailoring_profile.xml

+15-1
Original file line numberDiff line numberDiff line change
@@ -6405,6 +6405,20 @@
64056405
<prop ns="http://fedramp.gov/ns/oscal" name="response-point" value="You must fill in this response point."/>
64066406
</add>
64076407
</alter>
6408+
<alter control-id="pe-6.2">
6409+
<!-- See upstream bug report usnistgov/OSCAL#ABCD why FedRAMP strips the anchor tag to an adjacent parameter. -->
6410+
<remove by-id="pe-06.02_odp.03"/>
6411+
<add position="after" by-id="pe-06.02_odp.02">
6412+
<param id="pe-06.02_odp.03">
6413+
<prop name="alt-identifier" ns="http://csrc.nist.gov/ns/oscal" value="pe-6.2_prm_3"/>
6414+
<prop name="label" ns="http://csrc.nist.gov/ns/oscal" value="PE-06(02)_ODP[03]" class="sp800-53a"/>
6415+
<label>automated mechanisms</label>
6416+
<guideline>
6417+
<p>automated mechanisms used to recognize classes or types of intrusions and initiate response actions (defined in PE-06(02)_ODP) are defined;</p>
6418+
</guideline>
6419+
</param>
6420+
</add>
6421+
</alter>
64086422
<alter control-id="pe-6.4">
64096423
<add position="starting" by-id="pe-6.4_obj">
64106424
<prop ns="http://fedramp.gov/ns/oscal" name="response-point" value="You must fill in this response point."/>
@@ -9005,7 +9019,7 @@
90059019
<add position="after" by-id="sc-13_gdn">
90069020
<part id="sc-13_fr" name="item" ns="http://fedramp.gov/ns/oscal">
90079021
<title>SC-13 Additional FedRAMP Requirements and Guidance</title>
9008-
9022+
90099023
<part id="sc-13_fr_gdn.1" name="guidance" ns="http://fedramp.gov/ns/oscal">
90109024
<prop name="label" value="Guidance:"/>
90119025
<p>This control applies to all use of cryptography. In addition to encryption, this includes functions such as hashing, random number generation, and key generation. Examples include the following:</p>

src/content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -564,10 +564,9 @@
564564
</responsible-party>
565565
</metadata>
566566
<import-profile
567-
href="https://raw.githubusercontent.com/GSA/fedramp-automation/refs/heads/develop/dist/content/rev5/baselines/xml/FedRAMP_rev5_HIGH-baseline_profile.xml">
567+
href="../../../baselines/xml/FedRAMP_rev5_HIGH-baseline_profile.xml">
568568
<remarks>
569-
<p>This example points to the FedRAMP Rev 5 Moderate baseline that is part of the official
570-
FedRAMP 3.0.0 release.</p>
569+
<p>This example points to the FedRAMP Rev 5 HIGH baseline that is part of the official FedRAMP 3.0.0 release.</p>
571570
<p>Must adjust accordingly for applicable baseline and revision.</p>
572571
</remarks>
573572
</import-profile>

0 commit comments

Comments
 (0)