@@ -11302,6 +11302,141 @@ components:
11302
11302
- id
11303
11303
- type
11304
11304
type: object
11305
+ OktaAccount:
11306
+ description: Schema for an Okta account.
11307
+ properties:
11308
+ attributes:
11309
+ $ref: '#/components/schemas/OktaAccountAttributes'
11310
+ id:
11311
+ description: The ID of the Okta account, a UUID hash of the account name.
11312
+ example: f749daaf-682e-4208-a38d-c9b43162c609
11313
+ type: string
11314
+ type:
11315
+ $ref: '#/components/schemas/OktaAccountType'
11316
+ required:
11317
+ - attributes
11318
+ - type
11319
+ type: object
11320
+ OktaAccountAttributes:
11321
+ description: Attributes object for an Okta account.
11322
+ properties:
11323
+ api_key:
11324
+ description: The API key of the Okta account.
11325
+ type: string
11326
+ writeOnly: true
11327
+ auth_method:
11328
+ description: The authorization method for an Okta account.
11329
+ example: oauth
11330
+ type: string
11331
+ client_id:
11332
+ description: The Client ID of an Okta app integration.
11333
+ type: string
11334
+ client_secret:
11335
+ description: The client secret of an Okta app integration.
11336
+ type: string
11337
+ writeOnly: true
11338
+ domain:
11339
+ description: The domain of the Okta account.
11340
+ example: https://example.okta.com/
11341
+ type: string
11342
+ name:
11343
+ description: The name of the Okta account.
11344
+ example: Okta-Prod
11345
+ type: string
11346
+ required:
11347
+ - auth_method
11348
+ - domain
11349
+ - name
11350
+ type: object
11351
+ OktaAccountRequest:
11352
+ description: Request object for an Okta account.
11353
+ properties:
11354
+ data:
11355
+ $ref: '#/components/schemas/OktaAccount'
11356
+ required:
11357
+ - data
11358
+ type: object
11359
+ OktaAccountResponse:
11360
+ description: Response object for an Okta account.
11361
+ properties:
11362
+ data:
11363
+ $ref: '#/components/schemas/OktaAccount'
11364
+ type: object
11365
+ OktaAccountResponseData:
11366
+ description: Data object of an Okta account
11367
+ properties:
11368
+ attributes:
11369
+ $ref: '#/components/schemas/OktaAccountAttributes'
11370
+ id:
11371
+ description: The ID of the Okta account, a UUID hash of the account name.
11372
+ example: f749daaf-682e-4208-a38d-c9b43162c609
11373
+ type: string
11374
+ type:
11375
+ $ref: '#/components/schemas/OktaAccountType'
11376
+ required:
11377
+ - attributes
11378
+ - id
11379
+ - type
11380
+ type: object
11381
+ OktaAccountType:
11382
+ default: okta-accounts
11383
+ description: Account type for an Okta account.
11384
+ enum:
11385
+ - okta-accounts
11386
+ example: okta-accounts
11387
+ type: string
11388
+ x-enum-varnames:
11389
+ - OKTA_ACCOUNTS
11390
+ OktaAccountUpdateRequest:
11391
+ description: Payload schema when updating an Okta account.
11392
+ properties:
11393
+ data:
11394
+ $ref: '#/components/schemas/OktaAccountUpdateRequestData'
11395
+ required:
11396
+ - data
11397
+ type: object
11398
+ OktaAccountUpdateRequestAttributes:
11399
+ description: Attributes object for updating an Okta account.
11400
+ properties:
11401
+ api_key:
11402
+ description: The API key of the Okta account.
11403
+ type: string
11404
+ writeOnly: true
11405
+ auth_method:
11406
+ description: The authorization method for an Okta account.
11407
+ example: oauth
11408
+ type: string
11409
+ client_id:
11410
+ description: The Client ID of an Okta app integration.
11411
+ type: string
11412
+ client_secret:
11413
+ description: The client secret of an Okta app integration.
11414
+ type: string
11415
+ writeOnly: true
11416
+ domain:
11417
+ description: The domain associated with an Okta account.
11418
+ example: https://dev-test.okta.com/
11419
+ type: string
11420
+ required:
11421
+ - auth_method
11422
+ - domain
11423
+ type: object
11424
+ OktaAccountUpdateRequestData:
11425
+ description: Data object for updating an Okta account.
11426
+ properties:
11427
+ attributes:
11428
+ $ref: '#/components/schemas/OktaAccountUpdateRequestAttributes'
11429
+ type:
11430
+ $ref: '#/components/schemas/OktaAccountType'
11431
+ OktaAccountsResponse:
11432
+ description: The expected response schema when getting Okta accounts.
11433
+ properties:
11434
+ data:
11435
+ description: List of Okta accounts.
11436
+ items:
11437
+ $ref: '#/components/schemas/OktaAccountResponseData'
11438
+ type: array
11439
+ type: object
11305
11440
OnDemandConcurrencyCap:
11306
11441
description: On-demand concurrency cap.
11307
11442
properties:
@@ -23835,6 +23970,156 @@ paths:
23835
23970
tags:
23836
23971
- Fastly Integration
23837
23972
x-codegen-request-body-name: body
23973
+ /api/v2/integrations/okta/accounts:
23974
+ get:
23975
+ description: List Okta accounts.
23976
+ operationId: ListOktaAccounts
23977
+ responses:
23978
+ '200':
23979
+ content:
23980
+ application/json:
23981
+ schema:
23982
+ $ref: '#/components/schemas/OktaAccountsResponse'
23983
+ description: OK
23984
+ '400':
23985
+ $ref: '#/components/responses/BadRequestResponse'
23986
+ '403':
23987
+ $ref: '#/components/responses/ForbiddenResponse'
23988
+ '404':
23989
+ $ref: '#/components/responses/NotFoundResponse'
23990
+ '429':
23991
+ $ref: '#/components/responses/TooManyRequestsResponse'
23992
+ summary: List Okta accounts
23993
+ tags:
23994
+ - Okta Integration
23995
+ post:
23996
+ description: Create an Okta account.
23997
+ operationId: CreateOktaAccount
23998
+ requestBody:
23999
+ content:
24000
+ application/json:
24001
+ schema:
24002
+ $ref: '#/components/schemas/OktaAccountRequest'
24003
+ required: true
24004
+ responses:
24005
+ '201':
24006
+ content:
24007
+ application/json:
24008
+ schema:
24009
+ $ref: '#/components/schemas/OktaAccountResponse'
24010
+ description: OK
24011
+ '400':
24012
+ $ref: '#/components/responses/BadRequestResponse'
24013
+ '403':
24014
+ $ref: '#/components/responses/ForbiddenResponse'
24015
+ '404':
24016
+ $ref: '#/components/responses/NotFoundResponse'
24017
+ '429':
24018
+ $ref: '#/components/responses/TooManyRequestsResponse'
24019
+ security:
24020
+ - apiKeyAuth: []
24021
+ appKeyAuth: []
24022
+ summary: Add Okta account
24023
+ tags:
24024
+ - Okta Integration
24025
+ x-codegen-request-body-name: body
24026
+ /api/v2/integrations/okta/accounts/{account_id}:
24027
+ delete:
24028
+ description: Delete an Okta account.
24029
+ operationId: DeleteOktaAccount
24030
+ parameters:
24031
+ - description: None
24032
+ in: path
24033
+ name: account_id
24034
+ required: true
24035
+ schema:
24036
+ type: string
24037
+ responses:
24038
+ '204':
24039
+ description: OK
24040
+ '400':
24041
+ $ref: '#/components/responses/BadRequestResponse'
24042
+ '403':
24043
+ $ref: '#/components/responses/ForbiddenResponse'
24044
+ '404':
24045
+ $ref: '#/components/responses/NotFoundResponse'
24046
+ '429':
24047
+ $ref: '#/components/responses/TooManyRequestsResponse'
24048
+ security:
24049
+ - apiKeyAuth: []
24050
+ appKeyAuth: []
24051
+ summary: Delete Okta account
24052
+ tags:
24053
+ - Okta Integration
24054
+ get:
24055
+ description: Get an Okta account.
24056
+ operationId: GetOktaAccount
24057
+ parameters:
24058
+ - description: None
24059
+ in: path
24060
+ name: account_id
24061
+ required: true
24062
+ schema:
24063
+ type: string
24064
+ responses:
24065
+ '200':
24066
+ content:
24067
+ application/json:
24068
+ schema:
24069
+ $ref: '#/components/schemas/OktaAccountResponse'
24070
+ description: OK
24071
+ '400':
24072
+ $ref: '#/components/responses/BadRequestResponse'
24073
+ '403':
24074
+ $ref: '#/components/responses/ForbiddenResponse'
24075
+ '404':
24076
+ $ref: '#/components/responses/NotFoundResponse'
24077
+ '429':
24078
+ $ref: '#/components/responses/TooManyRequestsResponse'
24079
+ security:
24080
+ - apiKeyAuth: []
24081
+ appKeyAuth: []
24082
+ summary: Get Okta account
24083
+ tags:
24084
+ - Okta Integration
24085
+ patch:
24086
+ description: Update an Okta account.
24087
+ operationId: UpdateOktaAccount
24088
+ parameters:
24089
+ - description: None
24090
+ in: path
24091
+ name: account_id
24092
+ required: true
24093
+ schema:
24094
+ type: string
24095
+ requestBody:
24096
+ content:
24097
+ application/json:
24098
+ schema:
24099
+ $ref: '#/components/schemas/OktaAccountUpdateRequest'
24100
+ required: true
24101
+ responses:
24102
+ '200':
24103
+ content:
24104
+ application/json:
24105
+ schema:
24106
+ $ref: '#/components/schemas/OktaAccountResponse'
24107
+ description: OK
24108
+ '400':
24109
+ $ref: '#/components/responses/BadRequestResponse'
24110
+ '403':
24111
+ $ref: '#/components/responses/ForbiddenResponse'
24112
+ '404':
24113
+ $ref: '#/components/responses/NotFoundResponse'
24114
+ '429':
24115
+ $ref: '#/components/responses/TooManyRequestsResponse'
24116
+ security:
24117
+ - apiKeyAuth: []
24118
+ appKeyAuth: []
24119
+ summary: Update Okta account
24120
+ tags:
24121
+ - Okta Integration
24122
+ x-codegen-request-body-name: body
23838
24123
/api/v2/ip_allowlist:
23839
24124
get:
23840
24125
description: Returns the IP allowlist and its enabled or disabled state.
@@ -31540,6 +31825,9 @@ tags:
31540
31825
description: Find out more at
31541
31826
url: https://docs.datadoghq.com/monitors/create/types/
31542
31827
name: Monitors
31828
+ - description: Configure your Datadog Okta integration directly through the Datadog
31829
+ API.
31830
+ name: Okta Integration
31543
31831
- description: 'Configure your [Datadog Opsgenie integration](https://docs.datadoghq.com/integrations/opsgenie/)
31544
31832
31545
31833
directly through the Datadog API.'
0 commit comments