ComplianceAsCode / content

Security automation content in SCAP, Bash, Ansible, and other formats
https://complianceascode.readthedocs.io/en/latest/
Other
2.13k stars 674 forks source link

OSCAL Import/Update Job fails with OSCAL 1.1.1 content #11435

Open jpower432 opened 5 months ago

jpower432 commented 5 months ago

Description of problem:

Background

As described in the comment on https://github.com/ComplianceAsCode/content/pull/11286, the compliance-trestle tool does not yet support OSCAL 1.1.1. OSCAL 1.1.1 support is on the compliance-trestle roadmap. The NIST catalog reference was pinned to a commit until the newest content can be imported and continue to allow FedRAMP profile updates to be imported. The most recent commit on https://github.com/GSA/fedramp-automation/commit/6518de14df4552821ad17cc93f5eeaec4b46716b updates the FedRAMP Rev5 content to OSCAL v1.1.1 making it incompatible with compliance-trestle which is used in this job.

Possible Solutions (Short term)

SCAP Security Guide Version:

https://github.com/ComplianceAsCode/content/commit/45ab494e782a41144af256c54093a18dd10b89a5

Operating System Version:

ubuntu-latest - GitHub Action

Steps to Reproduce:

  1. Let the job run or run the job manually
  2. Observe the failure for the FedRAMP Rev 5 content only

Actual Results:

Job Failed with error trestle.core.commands.import_:94 ERROR: Error while importing OSCAL file: OSCAL version: 1.1.1 is not supported, use 1.0.4 instead.

Expected Results:

Job Passed

Additional Information/Debugging Steps:

https://github.com/ComplianceAsCode/content/actions/runs/7436163149

jpower432 commented 5 months ago

cc @Mab879