build: update OSCAL submodule to v1.2.1#276
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe pull request updates the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@src/test/java/dev/metaschema/oscal/lib/validation/OscalValidationTest.java`:
- Line 83: The test in OscalValidationTest currently fetches the remote fixture
using a branch ref ("refs/heads/master"); update the URL to use an immutable
reference (a commit SHA or a release tag) so CI is deterministic. Locate the URL
string in OscalValidationTest (the remote fixture declaration for the
FedRAMP_rev5_MODERATE-baseline_profile.xml) and replace the "refs/heads/master"
portion with a specific commit SHA or release tag for that repository; verify
the new URL is accessible and update any test constants or comments to note the
pinned revision.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 6cca70b2-5aaa-43fb-a90e-70a69ad78e3c
📒 Files selected for processing (3)
oscalsrc/main/metaschema-bindings/oscal-metaschema-bindings.xmlsrc/test/java/dev/metaschema/oscal/lib/validation/OscalValidationTest.java
Update the OSCAL submodule from v1.2.0 to v1.2.1, which includes JSON schema corrections, assembly definition fixes, and constraint corrections. Move the select-control-by-id and matching binding configurations from the profile metaschema section to the control-common metaschema section, since OSCAL v1.2.1 consolidated these definitions into oscal_control-common_metaschema.xml. Update the FedRAMP profile test URL to the new OSCAL-Foundation repository location (rev5 MODERATE baseline), since the original GSA/fedramp-automation repository is no longer publicly accessible.
a3e269e to
da4da33
Compare
3f4647d
into
metaschema-framework:develop
Summary
select-control-by-idandmatchingbinding configurations from the profile metaschema section to the control-common metaschema section, matching OSCAL v1.2.1's consolidation of these definitions intooscal_control-common_metaschema.xmlOSCAL-Foundation/fedramp-automationrepository (rev5 MODERATE baseline), sinceGSA/fedramp-automationis no longer publicly accessibleTest plan
mvn install -PCI -Preleasepasses@Disabledremains disabled)OscalValidationTest.testValidateOscalProfileXmlnow passes against the new FedRAMP repository URLSummary by CodeRabbit