Skip to content

Commit

Permalink
Adding eventlog parsing logic
Browse files Browse the repository at this point in the history
  • Loading branch information
yawangwang committed Jan 10, 2024
1 parent f7d91b3 commit f5182a2
Show file tree
Hide file tree
Showing 6 changed files with 245 additions and 136 deletions.
1 change: 1 addition & 0 deletions cel/cos_tlv.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const (
OverrideEnvType
// EventContent is empty on success, or contains an error message on failure.
LaunchSeparatorType
MemoryMonitorType
)

// CosTlv is a specific event type created for the COS (Google Container-Optimized OS),
Expand Down
6 changes: 6 additions & 0 deletions proto/attest.proto
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,16 @@ message SemanticVersion {
uint32 patch = 3;
}

message HealthMonitoringState {
// Whether memory monitoring is enabled.
bool memory_enabled = 1;
}

message AttestedCosState {
ContainerState container = 1;
SemanticVersion cos_version = 2;
SemanticVersion launcher_version = 3;
HealthMonitoringState health_monitoring = 4;
}

message EfiApp {
Expand Down

0 comments on commit f5182a2

Please sign in to comment.