Repository navigation
feat(shared): resolve CURIEs in control requirement-url and config-url during validate - #3592
aksharprabhudesai wants to merge 1 commit into
Conversation
…l during validate
f81712f to
c37f09c
Compare
|
@byrash @rohithashok What must a control requirement CURIE and a control config CURIE look like? Did you already agree on this as part of #3334? The CURIE form is @aksharprabhudesai Review findings related to this:
Please wait for the CURIE form to be clarified before you make more changes. Many CALM maintainers are at OSFF New York this week, so a reply can take a few days. |
|
Confirmed. I will hold further changes until the control configuration CURIE format is clarified. |
Description
Closes #3334
Passes the validation reference resolver chain into control validation (
validateAllControls) so controlrequirement-urlandconfig-urlCURIEs resolve from the local cache,--assets-path, or--calm-hub-url.Control CURIEs (
{domain}:controls:{slug}@{version}) expand to domain-scoped Hub URLs (/calm/domains/{domain}/controls/{slug}/requirement/versions/{version}) viaconstructControlDocumentId. Plain URLs and#-prefixed JSON pointers continue to resolve throughSchemaDirectoryand the pattern document as before.Type of Change
Affected Components
cli/)calm/)calm-ai/)calm-hub/)calm-hub-ui/)calm-lab/)calm-models/)calm-server/)calm-studio/)calm-widgets/)calm-guard/)docs/)shared/)calm-plugins/vscode/)Commit Message Format ✅
Testing
Checklist