Skip to content

Only store attestation data that is needed

Codecov / codecov/project/ec-cli succeeded Dec 8, 2024 in 0s

71.05% (-0.17%) compared to a6f67d9

View this Pull Request on Codecov

71.05% (-0.17%) compared to a6f67d9

Details

Codecov Report

Attention: Patch coverage is 26.92308% with 19 lines in your changes missing coverage. Please review.

Project coverage is 71.05%. Comparing base (a6f67d9) to head (8387eab).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
internal/applicationsnapshot/attestation.go 15.38% 11 Missing ⚠️
cmd/validate/image.go 50.00% 5 Missing ⚠️
internal/attestation/slsa_provenance_02.go 0.00% 2 Missing ⚠️
cmd/validate/input.go 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2207      +/-   ##
==========================================
- Coverage   71.21%   71.05%   -0.17%     
==========================================
  Files          88       88              
  Lines        7501     7520      +19     
==========================================
+ Hits         5342     5343       +1     
- Misses       2159     2177      +18     
Files with missing lines Coverage Δ
internal/applicationsnapshot/report.go 76.00% <ø> (ø)
cmd/validate/input.go 42.24% <0.00%> (ø)
internal/attestation/slsa_provenance_02.go 88.00% <0.00%> (-3.67%) ⬇️
cmd/validate/image.go 90.59% <50.00%> (-0.97%) ⬇️
internal/applicationsnapshot/attestation.go 63.33% <15.38%> (-36.67%) ⬇️