Skip to content

Commit

Permalink
Sync IntegrationEnrollKind (#47106)
Browse files Browse the repository at this point in the history
* Sync IntegrationEnrollKind

* Map usage to prehog
  • Loading branch information
bernardjkim committed Oct 22, 2024
1 parent e909569 commit 7ee7bd3
Show file tree
Hide file tree
Showing 6 changed files with 571 additions and 477 deletions.
753 changes: 390 additions & 363 deletions api/gen/proto/go/usageevents/v1/usageevents.pb.go

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions api/proto/teleport/usageevents/v1/usageevents.proto
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,10 @@ message AccessListReviewDelete {

// IntegrationEnrollKind represents the types of integration that
// can be enrolled.
//
// Note: IntegrationEnrollKind enum must be kept in sync with the values defined
// in proto/prehog/v1alpha/teleport.proto. Values 18-25 have become out of sync
// and are manually mapped to each other.
enum IntegrationEnrollKind {
INTEGRATION_ENROLL_KIND_UNSPECIFIED = 0;
INTEGRATION_ENROLL_KIND_SLACK = 1;
Expand All @@ -572,6 +576,12 @@ enum IntegrationEnrollKind {
INTEGRATION_ENROLL_KIND_MACHINE_ID_ANSIBLE = 17;
INTEGRATION_ENROLL_KIND_SERVICENOW = 18;
INTEGRATION_ENROLL_KIND_ENTRA_ID = 19;
INTEGRATION_ENROLL_KIND_DATADOG_INCIDENT_MANAGEMENT = 20;
INTEGRATION_ENROLL_KIND_MACHINE_ID_AWS = 21;
INTEGRATION_ENROLL_KIND_MACHINE_ID_GCP = 22;
INTEGRATION_ENROLL_KIND_MACHINE_ID_AZURE = 23;
INTEGRATION_ENROLL_KIND_MACHINE_ID_SPACELIFT = 24;
INTEGRATION_ENROLL_KIND_MACHINE_ID_KUBERNETES = 25;
}

// IntegrationEnrollMetadata contains common metadata
Expand Down
Loading

0 comments on commit 7ee7bd3

Please sign in to comment.