Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 105 additions & 0 deletions api/proto/teleport/legacy/types/events/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4800,6 +4800,9 @@ message OneOf {
events.SigstorePolicyCreate SigstorePolicyCreate = 210;
events.SigstorePolicyUpdate SigstorePolicyUpdate = 211;
events.SigstorePolicyDelete SigstorePolicyDelete = 212;
events.AutoUpdateAgentRolloutTrigger AutoUpdateAgentRolloutTrigger = 213;
events.AutoUpdateAgentRolloutForceDone AutoUpdateAgentRolloutForceDone = 214;
events.AutoUpdateAgentRolloutRollback AutoUpdateAgentRolloutRollback = 215;
}
}

Expand Down Expand Up @@ -7335,6 +7338,108 @@ message AutoUpdateVersionDelete {
];
}

// AutoUpdateAgentRolloutTrigger is emitted when one or many groups from the auto update agent rollout are manually
// triggered.
message AutoUpdateAgentRolloutTrigger {
// Metadata is a common event metadata
Metadata Metadata = 1 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// User is a common user event metadata
UserMetadata User = 2 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// ConnectionMetadata holds information about the connection
ConnectionMetadata Connection = 3 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

repeated string groups = 4;

// Status indicates whether the trigger was successful.
Status Status = 5 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}

// AutoUpdateAgentRolloutForceDone is emitted when one or many groups from the auto update agent rollout are manually
// forced into the done state.
message AutoUpdateAgentRolloutForceDone {
// Metadata is a common event metadata
Metadata Metadata = 1 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// User is a common user event metadata
UserMetadata User = 2 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// ConnectionMetadata holds information about the connection
ConnectionMetadata Connection = 3 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

repeated string groups = 4;

// Status indicates whether the trigger was successful.
Status Status = 5 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}

// AutoUpdateAgentRolloutRollback is emitted when one or many groups from the auto update agent rollout are manually
// rolledback.
message AutoUpdateAgentRolloutRollback {
// Metadata is a common event metadata
Metadata Metadata = 1 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// User is a common user event metadata
UserMetadata User = 2 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// ConnectionMetadata holds information about the connection
ConnectionMetadata Connection = 3 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

repeated string groups = 4;

// Status indicates whether the trigger was successful.
Status Status = 5 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}

// StaticHostUserCreate is emitted when a static host user is created.
message StaticHostUserCreate {
// Metadata is a common event metadata
Expand Down
12 changes: 12 additions & 0 deletions api/types/events/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -2388,6 +2388,18 @@ func (m *AutoUpdateVersionDelete) TrimToMaxSize(_ int) AuditEvent {
return m
}

func (m *AutoUpdateAgentRolloutTrigger) TrimToMaxSize(_ int) AuditEvent {
return m
}

func (m *AutoUpdateAgentRolloutForceDone) TrimToMaxSize(_ int) AuditEvent {
return m
}

func (m *AutoUpdateAgentRolloutRollback) TrimToMaxSize(_ int) AuditEvent {
return m
}

func (m *ContactCreate) TrimToMaxSize(_ int) AuditEvent {
return m
}
Expand Down
Loading
Loading