add structured logging to PURL and sigstore Rego builtins#3121
Conversation
Add log.WithField("function", ...) to PURL and sigstore custom Rego
builtin functions to ease troubleshooting. This follows the same
pattern already used in the OCI builtin functions.
Functions updated:
- ec.purl.is_valid
- ec.purl.parse
- ec.sigstore.verify_image
- ec.sigstore.verify_attestation
Ref: EC-1668
Resolves: conforma#1361
Signed-off-by: Rob Nester <rnester@redhat.com>
Code Review by Qodo
1. Missing rfunc log field
|
Codecov Report❌ Patch coverage is
Flags with carried forward coverage won't be shown. Click here to find out more. ... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|

Add log.WithField("function", ...) to PURL and sigstore custom Rego builtin functions to ease troubleshooting. This follows the same pattern already used in the OCI builtin functions.
Functions updated:
Ref: EC-1668
Resolves: #1361