I have seeing one question that identify image from deployment which has vulnerable curl and I ahve find two images from deployments out of 3 images. And asked create an SBOM SPDX for the container’s image and save to ~/bugged.spdx.
I have find two images below command
k exec -n -c – apk info | grep curl
but bom generate and save it to the spdx file for two images what is the command?
i have simply run bom generate -i -i --format json --output bugged.spdx
please provide the detail explanation is it correct or not?