Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SPIFFE Federation Resource #44835

Closed
wants to merge 12 commits into from
620 changes: 620 additions & 0 deletions api/gen/proto/go/teleport/machineid/v1/federation.pb.go

Large diffs are not rendered by default.

510 changes: 510 additions & 0 deletions api/gen/proto/go/teleport/machineid/v1/federation_service.pb.go

Large diffs are not rendered by default.

263 changes: 263 additions & 0 deletions api/gen/proto/go/teleport/machineid/v1/federation_service_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

64 changes: 64 additions & 0 deletions api/proto/teleport/legacy/types/events/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4454,6 +4454,8 @@ message OneOf {
events.IntegrationCreate IntegrationCreate = 165;
events.IntegrationUpdate IntegrationUpdate = 166;
events.IntegrationDelete IntegrationDelete = 167;
events.SPIFFEFederationCreate SPIFFEFederationCreate = 168;
events.SPIFFEFederationDelete SPIFFEFederationDelete = 169;
}
}

Expand Down Expand Up @@ -6664,3 +6666,65 @@ message AccessGraphSettingsUpdate {
(gogoproto.jsontag) = ""
];
}

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

// ResourceMetadata is a common resource event metadata
ResourceMetadata Resource = 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) = ""
];

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

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

// ResourceMetadata is a common resource event metadata
ResourceMetadata Resource = 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) = ""
];

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