Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 26 additions & 8 deletions helm-charts/bifrost/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1789,27 +1789,45 @@
},
"attributeTeamMappings": {
"type": "array",
"description": "Attribute -> team mappings (all matches apply). Use value '*' for pass-through (every claim value becomes a team name).",
"description": "Attribute -> team mappings (all matches apply). Use value '*' for pass-through (every claim value becomes a team name). Add attributeType/attributeValue to enable SCIM provisioning for a mapping.",
"items": {
"type": "object",
"properties": {
"attribute": { "type": "string" },
"value": { "type": "string" },
"team": { "type": "string" }
"attribute": { "type": "string", "description": "JWT claim name" },
"value": { "type": "string", "description": "Claim value to match, or '*' for pass-through" },
"team": { "type": "string", "description": "Bifrost team slug to assign" },
"attributeType": {
"type": "string",
"enum": ["user", "group"],
"description": "SCIM provisioning type: 'user' matches SCIM User attributes, 'group' matches SCIM Group displayName"
},
"attributeValue": {
"type": "string",
"description": "SCIM attribute value to match (for 'user': SCIM user attribute value; for 'group': SCIM group displayName, auto-set to 'displayName')"
}
Comment thread
coderabbitai[bot] marked this conversation as resolved.
},
"required": ["attribute", "value", "team"],
"additionalProperties": false
}
},
"attributeBusinessUnitMappings": {
"type": "array",
"description": "Attribute -> business-unit mappings (all matches apply).",
"description": "Attribute -> business-unit mappings (all matches apply). Add attributeType/attributeValue to enable SCIM provisioning for a mapping.",
"items": {
"type": "object",
"properties": {
"attribute": { "type": "string" },
"value": { "type": "string" },
"business_unit": { "type": "string" }
"attribute": { "type": "string", "description": "JWT claim name" },
"value": { "type": "string", "description": "Claim value to match" },
"business_unit": { "type": "string", "description": "Bifrost business unit slug to assign" },
"attributeType": {
"type": "string",
"enum": ["user", "group"],
"description": "SCIM provisioning type: 'user' matches SCIM User attributes, 'group' matches SCIM Group displayName"
},
"attributeValue": {
"type": "string",
"description": "SCIM attribute value to match (for 'user': SCIM user attribute value; for 'group': SCIM group displayName, auto-set to 'displayName')"
}
Comment thread
coderabbitai[bot] marked this conversation as resolved.
},
"required": ["attribute", "value", "business_unit"],
"additionalProperties": false
Expand Down
12 changes: 12 additions & 0 deletions helm-charts/bifrost/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,18 @@ bifrost:
# - attribute: "groups"
# value: "*" # pass-through: every group becomes a team
# team: "" # ignored when value is "*"
# # SCIM provisioning: match by SCIM user attribute
# - attribute: "department"
# value: "engineering"
# team: "eng-team"
# attributeType: "user" # "user" = SCIM User push, "group" = SCIM Group push
# attributeValue: "engineering"
# # SCIM provisioning: match by SCIM group (displayName)
# - attribute: "groups"
# value: "Engineering"
# team: "eng-team"
# attributeType: "group"
# attributeValue: "displayName" # always "displayName" for group type
# attributeBusinessUnitMappings:
# - attribute: "department"
# value: "platform"
Expand Down
34 changes: 26 additions & 8 deletions transports/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3692,27 +3692,45 @@
},
"attributeTeamMappings": {
"type": "array",
"description": "Attribute -> team mappings (all matches apply). Use value '*' for pass-through.",
"description": "Attribute -> team mappings (all matches apply). Use value '*' for pass-through. Add attributeType/attributeValue to enable SCIM provisioning for a mapping.",
"items": {
"type": "object",
"properties": {
"attribute": { "type": "string" },
"value": { "type": "string" },
"team": { "type": "string" }
"attribute": { "type": "string", "description": "JWT claim name" },
"value": { "type": "string", "description": "Claim value to match, or '*' for pass-through" },
"team": { "type": "string", "description": "Bifrost team slug to assign" },
"attributeType": {
"type": "string",
"enum": ["user", "group"],
"description": "SCIM provisioning type: 'user' matches SCIM User attributes, 'group' matches SCIM Group displayName"
},
"attributeValue": {
"type": "string",
"description": "SCIM attribute value to match (for attributeType 'user': the SCIM user attribute value; for 'group': the SCIM group displayName, auto-set to 'displayName')"
}
Comment thread
BearTS marked this conversation as resolved.
Comment thread
BearTS marked this conversation as resolved.
},
"required": ["attribute", "value", "team"],
"additionalProperties": false
}
},
"attributeBusinessUnitMappings": {
"type": "array",
"description": "Attribute -> business-unit mappings (all matches apply).",
"description": "Attribute -> business-unit mappings (all matches apply). Add attributeType/attributeValue to enable SCIM provisioning for a mapping.",
"items": {
"type": "object",
"properties": {
"attribute": { "type": "string" },
"value": { "type": "string" },
"business_unit": { "type": "string" }
"attribute": { "type": "string", "description": "JWT claim name" },
"value": { "type": "string", "description": "Claim value to match" },
"business_unit": { "type": "string", "description": "Bifrost business unit slug to assign" },
"attributeType": {
"type": "string",
"enum": ["user", "group"],
"description": "SCIM provisioning type: 'user' matches SCIM User attributes, 'group' matches SCIM Group displayName"
},
"attributeValue": {
"type": "string",
"description": "SCIM attribute value to match (for attributeType 'user': the SCIM user attribute value; for 'group': the SCIM group displayName, auto-set to 'displayName')"
}
},
"required": ["attribute", "value", "business_unit"],
"additionalProperties": false
Expand Down
Loading