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
96 changes: 96 additions & 0 deletions api/proto/teleport/legacy/types/events/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4898,6 +4898,9 @@ message OneOf {
events.SCIMListingEvent SCIMListingEvent = 225;
events.SCIMResourceEvent SCIMResourceEvent = 226;
events.ClientIPRestrictionsUpdate ClientIPRestrictionsUpdate = 227;
events.VnetConfigCreate VnetConfigCreate = 232;
events.VnetConfigUpdate VnetConfigUpdate = 233;
events.VnetConfigDelete VnetConfigDelete = 234;
}
}

Expand Down Expand Up @@ -9203,3 +9206,96 @@ message ClientIPRestrictionsUpdate {
// ClientIPRestrictions is the new Client IP Restrictions allowlist.
repeated string ClientIPRestrictions = 6 [(gogoproto.jsontag) = "client_ip_restrictions"];
}

// VnetConfigCreate is emitted when a VnetConfig is created.
message VnetConfigCreate {
// Metadata is a common event metadata.
Metadata metadata = 1 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// Status indicates whether the creation was successful.
Status status = 2 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

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

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

// VnetConfigUpdate is emitted when a VnetConfig is updated.
message VnetConfigUpdate {
// Metadata is a common event metadata.
Metadata metadata = 1 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// Status indicates whether the update was successful.
Status status = 2 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

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

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

// VnetConfigDelete is emitted when a VnetConfig is deleted.
message VnetConfigDelete {
// Metadata is a common event metadata.
Metadata metadata = 1 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// Status indicates whether the deletion was successful.
Status status = 2 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

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

// Connection holds information about the connection.
ConnectionMetadata connection = 4 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}
12 changes: 12 additions & 0 deletions api/types/events/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -2737,3 +2737,15 @@ func (m *SCIMListingEvent) TrimToMaxSize(maxSize int) AuditEvent {
func (m *ClientIPRestrictionsUpdate) TrimToMaxSize(int) AuditEvent {
return m
}

func (m *VnetConfigCreate) TrimToMaxSize(int) AuditEvent {
return m
}

func (m *VnetConfigUpdate) TrimToMaxSize(int) AuditEvent {
return m
}

func (m *VnetConfigDelete) TrimToMaxSize(int) AuditEvent {
return m
}
Loading
Loading