You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.
When executing oscalkit generate code and processing a profile that has been imported using an https:// link, if that profile internally imports a profile/catalog relatively, the path is resolved incorrectly by appending the current system relative path to the https:// path of the parent profile that has imported the catalog/profile. The problem lies in the parentPath handing in: https://github.com/docker/oscalkit/blob/c5a92172971fa7ea1ccfdf7b08f67ed5bae53683/generator/profile.go#L44
Related to: #57
When executing
oscalkit generate code
and processing a profile that has been imported using anhttps://
link, if that profile internally imports a profile/catalog relatively, the path is resolved incorrectly by appending the current system relative path to thehttps://
path of the parent profile that has imported the catalog/profile. The problem lies in the parentPath handing in:https://github.com/docker/oscalkit/blob/c5a92172971fa7ea1ccfdf7b08f67ed5bae53683/generator/profile.go#L44
cc: @minhaj10p @anweiss
The text was updated successfully, but these errors were encountered: