| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
vsaResp = &api.VerifySoftwareArtifactResponse{Allowed: true}is it too late to convert this to an enum with variants `ALLOWED, REJECTED, EXEMPTED`? (Or somehow else identify that a package was exemption for VSA).
Alternatively, can we NOT call setVerificationSummary if the package was exempted? (that the lack of verification summary will serve as a signal it was exempted).
I just this storing "Allowed: true" for packages we haven't actually verified is wrong.
Edit: looks like setVerificationSummary does nothing if `resp.VerificationSummary == ""`. I think it will be clearer if this check was done here instead.
if !vsaResp.Allowed {we should probably log packages exempted from the check
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
vsaResp = &api.VerifySoftwareArtifactResponse{Allowed: true}is it too late to convert this to an enum with variants `ALLOWED, REJECTED, EXEMPTED`? (Or somehow else identify that a package was exemption for VSA).
Alternatively, can we NOT call setVerificationSummary if the package was exempted? (that the lack of verification summary will serve as a signal it was exempted).
I just this storing "Allowed: true" for packages we haven't actually verified is wrong.
Edit: looks like setVerificationSummary does nothing if `resp.VerificationSummary == ""`. I think it will be clearer if this check was done here instead.
The proto is copied from https://source.corp.google.com/piper///depot/google3/google/internal/bcid/softwareverifier/v1/software_verifier_service.proto;l=255 so we probably don't want to change its fields.
Updated to only call `setVerificationSummary` when `resp.VerificationSummary != ""`. I will keep the checks in setVerificationSummary until we remove the backfill logic.
we should probably log packages exempted from the check
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |