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:
Cursor Agent
2026-05-29 03:44:39 +00:00
committed by Aurélien Sibiril
parent 9e5d0d1c00
commit 7a43acd3c2
17 changed files with 665 additions and 1 deletions

View File

@@ -62,6 +62,7 @@ const (
ConnectorProviderDatadog ConnectorProvider = "DATADOG"
ConnectorProviderOkta ConnectorProvider = "OKTA"
ConnectorProviderZendesk ConnectorProvider = "ZENDESK"
ConnectorProviderQovery ConnectorProvider = "QOVERY"
)
var (
@@ -111,6 +112,7 @@ func ConnectorProviders() []ConnectorProvider {
ConnectorProviderDatadog,
ConnectorProviderOkta,
ConnectorProviderZendesk,
ConnectorProviderQovery,
}
}
@@ -155,7 +157,8 @@ func (v ConnectorProvider) IsValid() bool {
ConnectorProviderCursor,
ConnectorProviderDatadog,
ConnectorProviderOkta,
ConnectorProviderZendesk:
ConnectorProviderZendesk,
ConnectorProviderQovery:
return true
}

View File

@@ -140,6 +140,10 @@ type (
BetterStackConnectorSettings struct {
TeamName string `json:"team_name"`
}
QoveryConnectorSettings struct {
OrganizationID string `json:"organization_id"`
}
)
// GrantType returns the OAuth2 grant type recorded on the connector's

View File

@@ -0,0 +1,15 @@
-- Copyright (c) 2026 Probo Inc <hello@probo.com>.
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear in all copies.
--
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-- PERFORMANCE OF THIS SOFTWARE.
ALTER TYPE connector_provider ADD VALUE IF NOT EXISTS 'QOVERY';