Skip to content

Commit

Permalink
Add INTEGRATION_ENROLL_KIND_DATADOG_INCIDENT_MANAGEMENT (#46824)
Browse files Browse the repository at this point in the history
* Add storybook fixture

* Add datadog enrollment kind

* Rename to DATADOG_INCIDENT_MANAGEMENT
  • Loading branch information
bernardjkim authored Oct 1, 2024
1 parent 2471e8c commit 4452ff1
Show file tree
Hide file tree
Showing 7 changed files with 505 additions and 478 deletions.
735 changes: 370 additions & 365 deletions api/gen/proto/go/usageevents/v1/usageevents.pb.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions api/proto/teleport/usageevents/v1/usageevents.proto
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,7 @@ 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;
}

// IntegrationEnrollMetadata contains common metadata
Expand Down
231 changes: 119 additions & 112 deletions gen/proto/go/prehog/v1alpha/teleport.pb.go

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion gen/proto/ts/prehog/v1alpha/teleport_pb.ts

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

1 change: 1 addition & 0 deletions proto/prehog/v1alpha/teleport.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,7 @@ enum IntegrationEnrollKind {
INTEGRATION_ENROLL_KIND_MACHINE_ID_SPACELIFT = 21;
INTEGRATION_ENROLL_KIND_MACHINE_ID_KUBERNETES = 22;
INTEGRATION_ENROLL_KIND_ENTRA_ID = 23;
INTEGRATION_ENROLL_KIND_DATADOG_INCIDENT_MANAGEMENT = 24;
}

// IntegrationEnrollMetadata contains common metadata
Expand Down
8 changes: 8 additions & 0 deletions web/packages/teleport/src/Integrations/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,14 @@ export const plugins: Plugin[] = [
statusCode: IntegrationStatusCode.Running,
spec: {},
},
{
resourceType: 'plugin',
name: 'datadog',
details: '',
kind: 'datadog',
statusCode: IntegrationStatusCode.Running,
spec: {},
},
];

export const integrations: Integration[] = [
Expand Down
1 change: 1 addition & 0 deletions web/packages/teleport/src/services/userEvent/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export enum IntegrationEnrollKind {
MachineIDSpacelift = 'INTEGRATION_ENROLL_KIND_MACHINE_ID_SPACELIFT',
MachineIDKubernetes = 'INTEGRATION_ENROLL_KIND_MACHINE_ID_KUBERNETES',
EntraId = 'INTEGRATION_ENROLL_KIND_ENTRA_ID',
DatadogIncidentManagement = 'INTEGRATION_ENROLL_KIND_DATADOG_INCIDENT_MANAGEMENT',
}

// These constants should match the constant defined in backend found in:
Expand Down

0 comments on commit 4452ff1

Please sign in to comment.