defenseunicorns / uds-cli

Apache License 2.0
24 stars 10 forks source link

uds inspect --validate #600

Open eFAILution opened 3 months ago

eFAILution commented 3 months ago

Is your feature request related to a problem? Please describe

In a CI hardening pipeline there is a need to extrapolate the image-repo:tag and run scans against them, but all of that compute time would be wasted if the bundle would never build in the first place. Some projects do not have a bundle artifact (eg. LFAI) due to size or other reasons. Would it be possible to have uds verify the package endpoints exist along with some other verification in order to 'dry-run' a build?

Describe the solution you'd like

(optional) A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

eFAILution commented 3 months ago

Is there any directory structure standard for UDS projects? I'm asking because it might be nice to also include UDS project directories for this as well.

UncleGedd commented 3 months ago

@eFAILution I think the flag we added over in https://github.com/defenseunicorns/uds-cli/pull/599 solves this issue. You should be able to do uds inspect uds-bundle.yaml --list-images and get the list of images without having to create the bundle