If you have a buildpack using buildpack API 0.6, libcnb will still perform SBOM validation even though that is a feature of buildpack API 0.7. This causes a problem because it expects the a list of supported SBOM media types to be present in buildpack.toml, but that is specific to API 0.7 so buildpacks with API 0.6 won't have it.
If you have a buildpack using buildpack API 0.6, libcnb will still perform SBOM validation even though that is a feature of buildpack API 0.7. This causes a problem because it expects the a list of supported SBOM media types to be present in buildpack.toml, but that is specific to API 0.7 so buildpacks with API 0.6 won't have it.
I think we need to check the buildpack API before making this call.
Thoughts?