Skip to content

Commit

Permalink
Add SAML attributes (#20987)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
2 people authored and MaelNamNam committed Jan 17, 2024
1 parent fd2a67d commit 8160187
Show file tree
Hide file tree
Showing 5 changed files with 1,378 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2023-12-20 13:54:20.499912",
"spec_repo_commit": "1e75e401"
"regenerated": "2023-12-20 18:13:46.310549",
"spec_repo_commit": "0ea19912"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2023-12-20 13:54:30.511770",
"spec_repo_commit": "1e75e401"
"regenerated": "2023-12-20 18:13:56.423359",
"spec_repo_commit": "0ea19912"
}
}
}
56 changes: 50 additions & 6 deletions content/en/api/v2/teams/examples.json

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions data/api/v2/full_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13676,6 +13676,27 @@ components:
- id
- type
type: object
RelationshipToUserTeamTeam:
description: Relationship between team membership and team
properties:
data:
$ref: '#/components/schemas/RelationshipToUserTeamTeamData'
required:
- data
type: object
RelationshipToUserTeamTeamData:
description: The team associated with the membership
properties:
id:
description: The ID of the team associated with the membership
example: d7e15d9d-d346-43da-81d8-3d9e71d9a5e9
type: string
type:
$ref: '#/components/schemas/UserTeamTeamType'
required:
- id
- type
type: object
RelationshipToUserTeamUser:
description: Relationship between team membership and user
properties:
Expand Down Expand Up @@ -19822,6 +19843,20 @@ components:
UserTeamAttributes:
description: Team membership attributes
properties:
provisioned_by:
description: 'The mechanism responsible for provisioning the team relationship.

Possible values: null for added by a user, "service_account" if added
by a service account, and "saml_mapping" if provisioned via SAML mapping.'
nullable: true
readOnly: true
type: string
provisioned_by_id:
description: UUID of the User or Service Account who provisioned this team
membership, or null if provisioned via SAML mapping.
nullable: true
readOnly: true
type: string
role:
$ref: '#/components/schemas/UserTeamRole'
type: object
Expand Down Expand Up @@ -19873,6 +19908,8 @@ components:
UserTeamRelationships:
description: Relationship between membership and a user
properties:
team:
$ref: '#/components/schemas/RelationshipToUserTeamTeam'
user:
$ref: '#/components/schemas/RelationshipToUserTeamUser'
type: object
Expand All @@ -19898,6 +19935,15 @@ components:
type: string
x-enum-varnames:
- ADMIN
UserTeamTeamType:
default: team
description: User team team type
enum:
- team
example: team
type: string
x-enum-varnames:
- TEAM
UserTeamType:
default: team_memberships
description: Team membership type
Expand Down
Loading

0 comments on commit 8160187

Please sign in to comment.