Skip to content

Commit

Permalink
Measure Separator event into container launcher.
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Richey <joerichey@google.com>
  • Loading branch information
josephlr committed Sep 10, 2022
1 parent 4a50da2 commit 5169eb5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion launcher/container_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,11 @@ func (r *ContainerRunner) measureContainerClaims(ctx context.Context) error {
}
}

return nil
separator := cel.CosTlv{
EventType: cel.LaunchSeparatorType,
EventContent: nil, // Success
}
return r.attestAgent.MeasureEvent(separator)
}

// Retrieves an OIDC token from the attestation service, and returns how long
Expand Down

0 comments on commit 5169eb5

Please sign in to comment.