Skip to content

COCOS-365 - Add IGVM measurement#379

Merged
drasko merged 1 commit into
mainfrom
dorcDev3
Mar 12, 2025
Merged

COCOS-365 - Add IGVM measurement#379
drasko merged 1 commit into
mainfrom
dorcDev3

Conversation

@dorcaslitunya

@dorcaslitunya dorcaslitunya commented Feb 21, 2025

Copy link
Copy Markdown
Contributor

What type of PR is this?

This is a feature because it adds the following functionality: Igvm measurement functionality

What does this do?

Change the CLI so it calculates the measurement based on the vTPM and OVMF used.

Which issue(s) does this PR fix/relate to?

Have you included tests for your changes?

Yes, I have included tests.

Did you document any new/modified feature?

No, I have not updated the documentation but I will focus on documentation next.

@codecov

codecov Bot commented Feb 24, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 78.68852% with 13 lines in your changes missing coverage. Please review.

Project coverage is 56.88%. Comparing base (67f939f) to head (1a3b001).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pkg/attestation/igvmmeasure/igvmmeasure.go 81.39% 8 Missing ⚠️
cli/attestation.go 81.25% 2 Missing and 1 partial ⚠️
cli/sdk.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #379      +/-   ##
==========================================
+ Coverage   56.66%   56.88%   +0.21%     
==========================================
  Files          58       59       +1     
  Lines        4998     5058      +60     
==========================================
+ Hits         2832     2877      +45     
- Misses       1868     1882      +14     
- Partials      298      299       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread scripts/igvmmeasure/igvm.sh
Comment thread pkg/attestation/igvmmeasure/igvmmeasure_test.go Outdated
Comment thread pkg/attestation/igvmmeasure/igvmmeasure_test.go Outdated
Comment thread scripts/igvmmeasure/igvm.sh Outdated
Comment thread scripts/igvmmeasure/igvm.sh Outdated
Comment thread scripts/igvmmeasure/igvm.sh
Comment thread Makefile Outdated
Comment thread scripts/igvmmeasure/igvm.sh Outdated
Comment thread pkg/attestation/igvmmeasure/README.md Outdated
Comment thread pkg/attestation/igvmmeasure/README.md Outdated
@dborovcanin dborovcanin changed the title COCOS-365-Add igvm measurement COCOS-365 - Add igvm measurement Mar 10, 2025
@dborovcanin dborovcanin changed the title COCOS-365 - Add igvm measurement COCOS-365 - Add IGVM measurement Mar 10, 2025
Comment thread cli/attestation.go Outdated
Comment thread cli/attestation_test.go Outdated
@SammyOina SammyOina requested a review from dborovcanin March 11, 2025 10:13
Comment thread cli/sdk.go Outdated
Comment thread cli/sdk.go Outdated
Comment thread cli/attestation_test.go Outdated
Comment thread cli/attestation.go Outdated
Add copyright information to package

Add testing to igvm measurements

Remove trailing white space

Improve testing

Resolve PR comments

Add measure to cli

Add README  for feature

Fix PR comments

Added new line to shell script

Add measurement interface

Fix ci

Refactor code for IgvmMeasurement to become a CLI dependency

Refactor code for IgvmMeasurement to become a CLI dependency

Refactor based on ci failures

Fix error handling

Add header

Fix ci

@drasko drasko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Change the CLI so it calculates the measurement based on the vTPM and OVMF used

4 participants