defenseunicorns / uds-cli

GNU Affero General Public License v3.0
26 stars 11 forks source link

uds inspect --validate #600

Open eFAILution opened 6 months ago

eFAILution commented 6 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 6 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 5 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