Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error finding file path when validating a component-definition #683

Closed
CloudBeard opened this issue Sep 26, 2024 · 2 comments
Closed

Error finding file path when validating a component-definition #683

CloudBeard opened this issue Sep 26, 2024 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@CloudBeard
Copy link
Collaborator

Environment

Device and OS: Ubuntu 22.04
App version: v0.7.0
Kubernetes distro: N/A
Kubernetes version: N/A
provider: N/A

When validating a component-definition that imports a component-definition that contains a remote validation of a file path will error due to current file path lookup functionality and not find the validations.

Steps to reproduce

  1. git clone https://github.com/defenseunicorns/uds-core.git
  2. lula validate -f compliance/oscal-component.yaml
  3. Check the log file to see the warning.

Expected result

assessment-result.yaml is created that contains the imported component-definition's remote validations are tested and satisfied compared to validating that component-definition individually.

Actual Result

The imported component-definition's remote validations are not found due to current file path functionality.

Visual Proof (screenshots, videos, text, etc)

image (2)
image (1)

Severity/Priority

Moderate/Moderate

@CloudBeard CloudBeard added the possible-bug Something may not be working label Sep 26, 2024
@github-actions github-actions bot added the triage Awaiting triage from the team label Sep 26, 2024
@brandtkeller brandtkeller added bug Something isn't working and removed possible-bug Something may not be working triage Awaiting triage from the team labels Oct 9, 2024
@brandtkeller
Copy link
Member

Should be a duplicate of #684 and should be fixed in v0.8.0 or main

@CloudBeard
Copy link
Collaborator Author

Also verified in UDS Core branch where bug was first discovered. No issues with main.

Resolved as apart of #686

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

No branches or pull requests

3 participants