From 5169eb5b08537e970cc914bb326224592319a344 Mon Sep 17 00:00:00 2001 From: Joe Richey Date: Fri, 9 Sep 2022 21:30:45 -0700 Subject: [PATCH] Measure Separator event into container launcher. Signed-off-by: Joe Richey --- launcher/container_runner.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/launcher/container_runner.go b/launcher/container_runner.go index 452aa565d..9ddbc5ddc 100644 --- a/launcher/container_runner.go +++ b/launcher/container_runner.go @@ -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