UNCLASSIFIED - NO CUI

Skip to content

fix issue with incorrect url format

Danny Gershman requested to merge feature/oscal-lint-fix into master

General MR

Summary

Discovered a linting issue when using lula with the URL format in the oscal-component.yaml file here. This addresses that.

Relevant logs/screenshots

› bin/lula tools lint -f ../../P1/bigbang/oscal-component.yaml                                                                                                                         /Users/dgershman/.kube/int-c2set-config -)
2023/12/10 09:44:21 Failed to validate component-definition version 1.0.4: [
  {
    "keywordLocation": "/oneOf/2/properties/component-definition/$ref/properties/metadata/$ref/properties/parties/items/$ref/properties/links/items/$ref/properties/href/format",
    "absoluteKeywordLocation": "http://csrc.nist.gov/ns/oscal/1.0/1.0.4/oscal-complete-schema.json#/definitions/oscal-complete-oscal-metadata:link/properties/href/format",
    "instanceLocation": "/component-definition/metadata/parties/0/links/0/href",
    "error": "'\u003chttps://p1.dso.mil\u003e' is not valid 'uri-reference'",
    "failedValue": "\u003chttps://p1.dso.mil\u003e"
  }
]
Edited by Danny Gershman

Merge request reports