Add Qovery access review driver support
Register Qovery as a connector provider and add a new access review driver that fetches organization members from the Qovery API. Extend API key connection handling with a configurable Authorization token scheme so Qovery can use "Token" while existing providers continue to default to Bearer. Signed-off-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This commit is contained in:
committed by
Aurélien Sibiril
parent
9e5d0d1c00
commit
7a43acd3c2
@@ -160,6 +160,12 @@ func apiKeyConnectorSettings(input types.CreateAPIKeyConnectorInput) (json.RawMe
|
||||
}
|
||||
|
||||
return json.Marshal(&coredata.BetterStackConnectorSettings{TeamName: *input.BetterStackTeamName})
|
||||
case coredata.ConnectorProviderQovery:
|
||||
if input.QoveryOrganizationID == nil || *input.QoveryOrganizationID == "" {
|
||||
return nil, fmt.Errorf("cannot create qovery connector: qoveryOrganizationId is required")
|
||||
}
|
||||
|
||||
return json.Marshal(&coredata.QoveryConnectorSettings{OrganizationID: *input.QoveryOrganizationID})
|
||||
}
|
||||
|
||||
return nil, nil
|
||||
|
||||
@@ -68,6 +68,7 @@ enum ConnectorProvider
|
||||
DATADOG @goEnum(value: "go.probo.inc/probo/pkg/coredata.ConnectorProviderDatadog")
|
||||
OKTA @goEnum(value: "go.probo.inc/probo/pkg/coredata.ConnectorProviderOkta")
|
||||
ZENDESK @goEnum(value: "go.probo.inc/probo/pkg/coredata.ConnectorProviderZendesk")
|
||||
QOVERY @goEnum(value: "go.probo.inc/probo/pkg/coredata.ConnectorProviderQovery")
|
||||
}
|
||||
|
||||
type ConnectorProviderInfo {
|
||||
@@ -146,6 +147,7 @@ input CreateAPIKeyConnectorInput {
|
||||
posthogInstanceUrl: String
|
||||
oktaDomain: String
|
||||
betterStackTeamName: String
|
||||
qoveryOrganizationId: String
|
||||
}
|
||||
|
||||
type CreateAPIKeyConnectorPayload {
|
||||
|
||||
Reference in New Issue
Block a user