Skip to content

Commit f88f5f1

Browse files
Update with code-generated api bindings and models performed 2021-06-17
1 parent 70727ac commit f88f5f1

40 files changed

Lines changed: 7476 additions & 2897 deletions

splunk_sdk/action/v1beta2/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,4 +681,4 @@ paths:
681681
- Webhook Keys
682682
x-auth-required: false
683683

684-
# Retrieved from scp-openapi commit 3e10ab186559df6d0a5211cf734514cd53d79779 path: action/v1beta2/openapi.yaml
684+
# Retrieved from scp-openapi commit 17cef8cca256319b596db67514c7277b1576baf5 path: action/v1beta2/openapi.yaml

splunk_sdk/action/v2alpha1/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,4 +731,4 @@ paths:
731731
- Webhook Keys
732732
x-auth-required: false
733733

734-
# Retrieved from scp-openapi commit 3e10ab186559df6d0a5211cf734514cd53d79779 path: action/v2alpha1/openapi.yaml
734+
# Retrieved from scp-openapi commit 17cef8cca256319b596db67514c7277b1576baf5 path: action/v2alpha1/openapi.yaml

splunk_sdk/app_registry/v1beta2/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,4 +903,4 @@ paths:
903903
security:
904904
- BearerToken: []
905905

906-
# Retrieved from scp-openapi commit 3e10ab186559df6d0a5211cf734514cd53d79779 path: app-registry/v1beta2/openapi.yaml
906+
# Retrieved from scp-openapi commit 17cef8cca256319b596db67514c7277b1576baf5 path: app-registry/v1beta2/openapi.yaml

splunk_sdk/forwarders/v2beta1/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,4 @@ paths:
234234
servers:
235235
- url: /
236236

237-
# Retrieved from scp-openapi commit 3e10ab186559df6d0a5211cf734514cd53d79779 path: forwarders/v2beta1/openapi.yaml
237+
# Retrieved from scp-openapi commit 17cef8cca256319b596db67514c7277b1576baf5 path: forwarders/v2beta1/openapi.yaml

splunk_sdk/identity/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
2424
With the Identity service in Splunk Cloud Services, you can authenticate and authorize Splunk Cloud Services users.
2525
26-
OpenAPI spec version: v3.1 (recommended default)
26+
OpenAPI spec version: v3.3 (recommended default)
2727
Generated by: https://openapi-generator.tech
2828
"""
2929

@@ -63,10 +63,14 @@
6363
PrincipalList, \
6464
PrincipalPublicKey, \
6565
PrincipalPublicKeyStatusBody, \
66+
ResetPasswordBody, \
6667
Role, \
6768
RoleList, \
6869
RolePermission, \
6970
RolePermissionList, \
7071
TenantStatus, \
7172
Tenant, \
73+
UpdateGroupBody, \
74+
UpdatePasswordBody, \
75+
UpdateRoleBody, \
7276
ValidateInfo

splunk_sdk/identity/v2beta1/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
2424
With the Identity service in Splunk Cloud Services, you can authenticate and authorize Splunk Cloud Services users.
2525
26-
OpenAPI spec version: v2beta1.20
26+
OpenAPI spec version: v2beta1.21
2727
Generated by: https://openapi-generator.tech
2828
"""
2929

splunk_sdk/identity/v2beta1/gen_identity_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
2222
With the Identity service in Splunk Cloud Services, you can authenticate and authorize Splunk Cloud Services users.
2323
24-
OpenAPI spec version: v2beta1.20
24+
OpenAPI spec version: v2beta1.21
2525
Generated by: https://openapi-generator.tech
2626
"""
2727

@@ -58,7 +58,7 @@
5858
class Identity(BaseService):
5959
"""
6060
Identity
61-
Version: v2beta1.20
61+
Version: v2beta1.21
6262
With the Identity service in Splunk Cloud Services, you can authenticate and authorize Splunk Cloud Services users.
6363
"""
6464

splunk_sdk/identity/v2beta1/gen_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
2020
With the Identity service in Splunk Cloud Services, you can authenticate and authorize Splunk Cloud Services users.
2121
22-
OpenAPI spec version: v2beta1.20
22+
OpenAPI spec version: v2beta1.21
2323
Generated by: https://openapi-generator.tech
2424
"""
2525

splunk_sdk/identity/v2beta1/openapi.yaml

Lines changed: 32 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,6 @@ components:
120120
required: false
121121
schema:
122122
type: string
123-
key:
124-
description: The API key name.
125-
in: path
126-
name: key
127-
required: true
128-
schema:
129-
type: string
130-
x-case-insensitive: true
131123
keyId:
132124
description: Identifier of a public key.
133125
in: path
@@ -261,7 +253,7 @@ components:
261253
required: true
262254
schema:
263255
maxLength: 36
264-
minLength: 4
256+
minLength: 2
265257
type: string
266258
tenantName:
267259
description: The tenant name.
@@ -270,7 +262,7 @@ components:
270262
required: true
271263
schema:
272264
maxLength: 36
273-
minLength: 4
265+
minLength: 2
274266
type: string
275267
tenantQuery:
276268
description: Tenant for the authorization request
@@ -279,7 +271,7 @@ components:
279271
required: false
280272
schema:
281273
maxLength: 36
282-
minLength: 4
274+
minLength: 2
283275
type: string
284276
userCode:
285277
description: userCode
@@ -296,39 +288,17 @@ components:
296288
schema:
297289
enum:
298290
- v2beta1
299-
- v2alpha1
300291
- v3alpha1
301292
- v3
302293
type: string
303294
version2:
304-
description: Service API v2alpha1 and v2beta1.
295+
description: Service API v2beta1.
305296
in: path
306297
name: version2
307298
required: true
308-
schema:
309-
enum:
310-
- v2alpha1
311-
- v2beta1
312-
type: string
313-
version2alpha1:
314-
description: Service API version 2 alpha 1.
315-
in: path
316-
name: version2alpha1
317-
required: true
318-
schema:
319-
enum:
320-
- v2alpha1
321-
type: string
322-
version2beta1:
323-
description: Service API version 2 beta 1 and higher.
324-
in: path
325-
name: version2beta1
326-
required: true
327299
schema:
328300
enum:
329301
- v2beta1
330-
- v3alpha1
331-
- v3
332302
type: string
333303
schemas:
334304
AddGroupMemberAsAnAdminBody:
@@ -442,17 +412,6 @@ components:
442412
- password
443413
- csrfToken
444414
type: object
445-
ChangeKeyBody:
446-
properties:
447-
permissions:
448-
items:
449-
minLength: 4
450-
type: string
451-
x-case-insensitive: true
452-
type: array
453-
required:
454-
- permissions
455-
type: object
456415
ChangeSubscriptionBody:
457416
properties:
458417
appPermissions:
@@ -542,27 +501,6 @@ components:
542501
required:
543502
- idp
544503
type: object
545-
CreateKeyBody:
546-
properties:
547-
expiresAt:
548-
format: date-time
549-
type: string
550-
name:
551-
maxLength: 36
552-
minLength: 4
553-
pattern: ^[_a-z][_.a-z0-9]*$
554-
type: string
555-
permissions:
556-
items:
557-
minLength: 4
558-
type: string
559-
x-case-insensitive: true
560-
type: array
561-
required:
562-
- name
563-
- permissions
564-
- expiresAt
565-
type: object
566504
CreatePrincipalBody:
567505
description: Payload when creating a principal
568506
properties:
@@ -1051,34 +989,6 @@ components:
1051989
tenant:
1052990
type: string
1053991
type: object
1054-
KeySecret:
1055-
properties:
1056-
clientId:
1057-
type: string
1058-
createdAt:
1059-
format: date-time
1060-
type: string
1061-
createdBy:
1062-
type: string
1063-
expiresAt:
1064-
format: date-time
1065-
type: string
1066-
id:
1067-
type: string
1068-
name:
1069-
type: string
1070-
permissions:
1071-
items:
1072-
type: string
1073-
type: array
1074-
rotatedAt:
1075-
format: date-time
1076-
type: string
1077-
tenant:
1078-
type: string
1079-
token:
1080-
type: string
1081-
type: object
1082992
Member:
1083993
description: Represents a member that belongs to a tenant.
1084994
properties:
@@ -1150,6 +1060,11 @@ components:
11501060
OktaApp:
11511061
description: Represents an Okta App (https://developer.okta.com/docs/reference/api/apps/#application-model)
11521062
type: object
1063+
OktaAppList:
1064+
description: Represents a list of Okta Apps
1065+
items:
1066+
$ref: '#/components/schemas/OktaApp'
1067+
type: array
11531068
PermissionSet:
11541069
properties:
11551070
kind:
@@ -1515,6 +1430,10 @@ components:
15151430
type: object
15161431
TenantAsAdmin:
15171432
properties:
1433+
cells:
1434+
items:
1435+
type: string
1436+
type: array
15181437
createdAt:
15191438
format: date-time
15201439
type: string
@@ -1567,8 +1486,8 @@ components:
15671486
type: object
15681487
TenantName:
15691488
maxLength: 36
1570-
minLength: 4
1571-
pattern: ^[a-z][a-z0-9]*$
1489+
minLength: 2
1490+
pattern: ^[a-z0-9][a-z0-9\-]*[a-z0-9]$
15721491
type: string
15731492
TenantState:
15741493
enum:
@@ -1621,7 +1540,7 @@ components:
16211540
- title
16221541
- federation_id
16231542
type: object
1624-
UpdateRoleBody:
1543+
UpdateRolePermissionsBody:
16251544
properties:
16261545
permissions:
16271546
items:
@@ -1630,6 +1549,16 @@ components:
16301549
required:
16311550
- permissions
16321551
type: object
1552+
UpdateTenantAsAdminBody:
1553+
properties:
1554+
cells:
1555+
items:
1556+
maxLength: 50
1557+
minLength: 1
1558+
type: string
1559+
maxItems: 10
1560+
type: array
1561+
type: object
16331562
UpdateTenantBody:
16341563
properties:
16351564
createdBy:
@@ -1708,7 +1637,7 @@ info:
17081637
description: With the Identity service in Splunk Cloud Services, you can authenticate
17091638
and authorize Splunk Cloud Services users.
17101639
title: Identity
1711-
version: v2beta1.20
1640+
version: v2beta1.21
17121641
openapi: 3.0.0
17131642
paths:
17141643
/{tenant}/identity/v2beta1/groups:
@@ -2387,6 +2316,8 @@ paths:
23872316
description: The operation isn't authorized.
23882317
"404":
23892318
description: The resource wasn't found.
2319+
"422":
2320+
description: Unprocessable entity in request.
23902321
"423":
23912322
description: The resource is locked.
23922323
x-authz-scope: identity.roles.write
@@ -2507,6 +2438,8 @@ paths:
25072438
description: The operation isn't authorized.
25082439
"404":
25092440
description: The resource wasn't found.
2441+
"422":
2442+
description: Unprocessable entity in request.
25102443
"423":
25112444
description: The resource is locked.
25122445
x-authz-scope: identity.roles.write
@@ -2778,4 +2711,4 @@ security:
27782711
servers:
27792712
- url: /
27802713

2781-
# Retrieved from scp-openapi commit 3e10ab186559df6d0a5211cf734514cd53d79779 path: identity/v2beta1/openapi.yaml
2714+
# Retrieved from scp-openapi commit 17cef8cca256319b596db67514c7277b1576baf5 path: identity/v2beta1/openapi.yaml

splunk_sdk/identity/v3/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
2424
With the Identity service in Splunk Cloud Services, you can authenticate and authorize Splunk Cloud Services users.
2525
26-
OpenAPI spec version: v3.1 (recommended default)
26+
OpenAPI spec version: v3.3 (recommended default)
2727
Generated by: https://openapi-generator.tech
2828
"""
2929

@@ -63,10 +63,14 @@
6363
PrincipalList, \
6464
PrincipalPublicKey, \
6565
PrincipalPublicKeyStatusBody, \
66+
ResetPasswordBody, \
6667
Role, \
6768
RoleList, \
6869
RolePermission, \
6970
RolePermissionList, \
7071
TenantStatus, \
7172
Tenant, \
73+
UpdateGroupBody, \
74+
UpdatePasswordBody, \
75+
UpdateRoleBody, \
7276
ValidateInfo

0 commit comments

Comments
 (0)