Cloud connections
Open Discovery > Cloud connections in your workspace to configure hosted key metadata discovery. Hosted connections do not require an agent, operating-system choice, or Python installation. Choose Run a collector instead when execution must remain in your environment.
AWS RDS and Aurora
Choose AWS RDS & Aurora to inventory database storage encryption and KMS key references. This is a separate connection from AWS KMS key discovery.
- Enter a connection name, the IAM role ARN in your database account, and one AWS region. The account ID comes from the role ARN.
- Choose RDS instances or Aurora and RDS clusters. Aurora storage encryption belongs to the cluster; an instance listing alone does not establish its storage protection. Create separate connections if you need both inventories.
- Save, then open Show trust configuration. Apply the displayed OIDC trust policy and regional metadata-read policy to the role. The subject is specific to this workspace and connection. No static AWS keys, database passwords, decrypt permissions or secret-retrieval permissions are needed.
- Choose Test access, then Run scan. Testing verifies the listing without creating inventory assets. Scans paginate and publish normalized findings.
Storage findings distinguish AWS-owned encryption, AWS-managed or customer-managed KMS encryption, unencrypted configuration, and unknown metadata. A KMS reference alone does not establish its key algorithm or customer ownership. Discovery does not connect to returned database endpoints, authorize network scanning, verify negotiated TLS, or prove database TDE or post-quantum protection.
Operation history shows page and resource progress. Editing or revoking a connection invalidates in-flight work. Retry an uncertain save with Retry same save; this recovers the original request instead of creating another connection. Listings are not point-in-time snapshots: duplicate identities retain the first observation and are counted. Inventory limits fail explicitly rather than silently truncating.
The API uses the standard cloud connection, trust, test, scan and schedule endpoints:
{
"name": "Production Aurora",
"provider": "aws",
"capability": "rds",
"roleArn": "arn:aws:iam::123456789012:role/qscan-rds",
"scope": {
"accountId": "123456789012",
"region": "us-east-1",
"resourceType": "cluster"
}
}
The role account and scope account must match. The JavaScript/Python SDK cloud
connection methods accept this configuration. Availability and live-provider
qualification are reported by /api/v1/cloud-capabilities.
Google AlloyDB
Choose Google AlloyDB to inventory clusters and instances in one database project and region. This connection is separate from Cloud SQL and Cloud KMS.
- Enter a connection name, the database project ID and an explicit region such
as
us-central1. Wildcard regions are not accepted. Create another connection for each additional project/region you intend to inventory. - Enter the numeric project number owning the workload identity pool, its pool ID and provider ID. The pool can belong to a different project from the databases.
- Save and open Show trust configuration. Configure the displayed issuer,
audience, attribute mapping and exact workspace/connection subject condition.
Bind the displayed federated principal to a custom role on the database project
containing only
alloydb.clusters.listandalloydb.instances.list. Enable the AlloyDB API in the database project. No service-account key, database password, SQL role, key retrieval or decrypt permission is required. - Choose Test access, then Run scan. Testing traverses the same listing without creating inventory. Scanning lists clusters, then instances within each cluster, and publishes normalized observations. Operation history shows page and resource progress. Schedules use this same saved scope and authorization.
The connection uses AlloyDB REST v1 cluster listing
and instance listing,
with the alloydb.readonly OAuth scope. Cluster evidence distinguishes configured
storage key references from reported encryption state and used key versions.
Instance evidence records configured SSL mode and connector requirements. Deprecated
cluster SSL configuration does not override instance settings. Missing metadata
remains unknown; neither a key reference nor an encryption setting establishes a
negotiated cipher, key algorithm, SQL-level TDE or post-quantum protection.
Unreachable locations, changed duplicate records or pagination limits prevent verification instead of silently reporting a complete inventory. Revocation or configuration changes invalidate in-flight results. Provider endpoints discovered in metadata never authorize network probes. Use an explicitly authorized PostgreSQL engine scan when you need session evidence.
The standard cloud API, SDK connection methods and OAuth MCP cloud tools accept:
{
"name": "Production AlloyDB",
"provider": "gcp",
"capability": "alloydb",
"projectNumber": "123456789012",
"poolId": "qscan-pool",
"providerId": "qscan-provider",
"scope": {"projectId": "my-database-project", "region": "us-central1"}
}
Availability comes from /api/v1/cloud-capabilities. Configure a connection, apply
its scoped trust and read permissions, then choose Test access and Run scan.
Each workspace verifies access using its own cloud identity.
Key-provider availability
The page reports availability from the deployed platform. AWS KMS, Google Cloud KMS and Azure Key Vault test and scan execution is enabled on qscan.dev. Each connection still requires its provider trust and read permissions. The workload issuer and its public verification keys are published for provider trust configuration. You can save a draft configuration while execution is unavailable; this does not establish cloud access.
Google Cloud KMS supports exact versions or discovery within one configured key ring/location. AWS KMS supports exact keys or discovery in one account and region. Azure supports exact versions or discovery within one vault or key. This is not complete account inventory, certificate discovery, or coverage of every cryptographic service. Test access validates the configured scope before scanning.
Configure a connection
A workspace administrator chooses a provider, a descriptive name, the identity identifiers, and either 1 to 200 exact resources or an explicit provider discovery scope. Do not enter passwords, access keys, downloaded credential files, or client secrets.
- AWS: IAM role ARN and either exact KMS key ARNs in the same account or a region to discover. Discovery lists keys with a region-restricted session; each subsequent read uses its own exact-key session. Hosted scanning uses OIDC federation and a 15-minute role session restricted to
kms:DescribeKeyon one selected key per request. Public AWS regions are supported by configuration; GovCloud and China hosted connections are not yet supported. The optional collector uses an identity configured on its host. - Google Cloud: numeric project number, workload identity pool and provider IDs, and either exact CryptoKeyVersion resource names or Discover a key ring or location. Enter a root such as
projects/my-project/locations/us-central1/keyRings/mainorprojects/my-project/locations/us-central1. - Azure: directory ID, application client ID, and either exact versioned Key Vault key URLs or Discover a vault or key with a vault URL or an unversioned key URL. Follow the Azure hosted setup guide for federated credentials, service-principal IDs and key-scoped permissions; the local Python collector is a different workflow.
If a save response is interrupted, choose Retry same save: it reuses the original creation request. If saving succeeds but the details cannot load, choose Open saved connection to reload without creating another connection. Inputs stay locked during recovery to preserve the submitted scope.
API clients can send a UUID in the optional Idempotency-Key header when creating a connection. Reuse the same UUID, administrator, and configuration after an uncertain response. A retry returns the existing connection, including its current revoked or archived state, without reactivating it.
Saving creates a draft. The form retains your input on a validation error. Editing an existing connection clears its verification and requires a new access test.
Trust, verification, and scanning
Once the workload issuer is published, Show trust configuration opens a provider-specific checklist. It separates identity setup from resource permissions and labels the exact workspace-bound issuer, subject, audience and scope. Each value or policy has its own Copy control; JSON previews and the complete trust plan stay collapsed until needed. You can review these before hosted execution is activated. Configure those in your cloud provider. Never broaden the trust subject to all workspaces. Provider grants may cover key versions more broadly than the selected resources; execution enforces the configured exact list or discovery root.
The checklist follows the provider setup order:
- AWS: add or reuse the IAM OIDC identity provider, apply the connection-bound role trust policy, then attach the generated metadata permission policy. Discovery requires
kms:ListKeysrestricted by region andkms:DescribeKeyfor keys in that account and region; exact-key connections only requirekms:DescribeKeyon their selected keys. The role ARN is displayed so you can verify the target before editing it. AWS identity provider instructions. - Google Cloud: configure the pool's OIDC provider with the issuer, allowed audience, attribute mapping and subject condition; then grant the displayed federated principal the displayed metadata permissions at the listed IAM binding resources. Exact versions use
cloudkms.cryptoKeyVersions.get. Key-ring discovery also needscloudkms.cryptoKeys.listandcloudkms.cryptoKeyVersions.list, bound at the selected key ring. Location discovery additionally needscloudkms.keyRings.listand a project-level binding, which gives broader provider visibility; requests remain restricted to the configured location. Use a custom role with these permissions. No cryptographic-use permissions are requested. Google Cloud federation instructions. - Azure: select the displayed directory and application, add its external federated credential, and grant the listed key read data action at the selected key scopes, or the selected vault scope for vault discovery. Access-policy discovery requires List and Get. Microsoft Entra federation instructions.
Copying a value does not apply provider changes. If your browser blocks clipboard access, the checklist opens the value for manual selection. Return to this connection after saving the provider configuration.
Test access reads metadata without publishing inventory. A successful test verifies the current configuration revision. Run scan then publishes observations, evidence, and inventory. Administrators and analysts can scan verified connections; viewers can inspect saved configuration and operation history.
Active operations update automatically while their connection is open, preserving expanded scope and result panels. A successful access test enables Run scan without a page reload. Polling pauses in hidden tabs and stops when you leave the connection. If live updates fail, use Refresh status to reconnect; do not start a second scan. Operation history survives page reloads; View resource results shows resource indexes and redacted result codes. Results do not expose temporary cloud credentials. A retry after a failed submission response uses the same request ID while the page remains open. If you reload after an uncertain submission, inspect operation history before starting another operation.
Change or revoke access
An administrator can edit configuration or revoke a connection. Revocation requires a second confirmation click, prevents new work, and cannot be undone. Already issued provider credentials may remain valid until expiry. Remove the cloud-side trust or permissions when immediate provider-side revocation is required.
Collector alternative
The collector path is independent of hosted connection verification. Choose the host operating system only after explicitly selecting collector execution. Follow the provider guide: AWS KMS, Google Cloud KMS, or Azure Key Vault. Current runtime coverage and limitations are documented there.
Automate this workflow
Use the JavaScript and Python cloud SDK guide for revision-aware setup, retained request IDs, paginated history and resource results.
Archive retired connections
After revoking a connection, select Archive connection in its details to remove it from the current list. Show archived opens the separate archive; administrators can select Restore to list there. Restoring preserves revoked access. Create and verify a new connection if you need to resume discovery.
Archiving retains configuration, revisions, audit events, operation history and resource results. It does not delete findings or change provider-side trust. Archived connections no longer consume the 100-connection current-list allowance. Restoring requires room in that list. Viewers and analysts can inspect archived history; only workspace administrators can archive or restore.
Permanently delete a retired connection
A workspace administrator can select Delete connection on a revoked connection, including one in Archived. Review the inline confirmation, then select Delete permanently. Choose Keep connection to cancel without changing anything.
Deletion removes connection settings, configuration revisions and recurring schedules. It cancels unfinished operations and rejects results from requests already in flight. Existing findings, resource results, operation history and audit events remain. This action does not remove trust in AWS, GCP or Azure or invalidate a token already issued by that provider; remove provider-side trust separately when retiring access.
If the response is lost, choose Retry deletion. The same connection and revision are reused, so a retry can confirm the original result without recreating the connection. A deleted connection cannot be restored; create and verify a new connection to resume scans. API clients can still retrieve retained operations by the original connection ID.
Diagnose a failed resource check
Open the connection, then Operation history > View resource results. Each failed resource includes provider-specific recovery steps, a setup-guide link and expandable Diagnostic details with the operation ID and error code. Guidance distinguishes identity trust failures from key permissions, missing resources and temporary provider errors. It does not expose provider response bodies or credentials.
New results retain the exact checked resource, provider, configuration revision and check time, so their identifiers stay visible after configuration changes or revocation. Legacy results without a saved identifier use the current resource list only when the revisions match. Otherwise they are labeled as historical; changed or reordered scope cannot make an old failure appear to belong to a different key.
For transient failures, let the running operation finish its bounded retries. After correcting trust or permissions, use Test access before running a new scan.
Follow a submitted test or scan
Test access and Run scan show submission progress immediately. Once accepted, the operation appears at the top of history and updates automatically. Open trust instructions and resource results stay in place. A separate history-refresh failure cannot turn an accepted submission into a failed one.
If the submission response is lost, keep the page open and choose Check test submission or Check scan submission. This retries the same request ID and configuration revision. It recovers the original operation instead of creating a duplicate. The reminder is held in the current page only; after reloading or signing in again, inspect operation history before submitting new work. A confirmed completed access test refreshes verification so scanning can become available. If connection status cannot refresh, the confirmed result remains visible and Refresh status retries that read.
Cancel an active operation
Select Cancel operation in its history entry. The entry shows the returned outcome immediately and keeps open trust instructions and resource results in place. If the operation completed before cancellation, it remains completed; the console does not label it cancelled. Previously published findings remain in inventory.
If the response is interrupted, choose Check cancellation on that same entry. This retries cancellation of the original operation and recovers its current outcome. A confirmed outcome remains visible even when connection status cannot refresh. Use Refresh status to retry that read. An older in-flight poll cannot change a terminal operation back to running.
Keep inventory current with recurring scans
After a successful access test, open Recurring scans on the connection. Choose a frequency, review the administrator delegation checkbox, then select Enable recurring scans. The first run is one interval after authorization. You can choose hourly, every six hours, daily, weekly or every 30 days; the API accepts intervals from 3,600 to 2,592,000 seconds.
The schedule uses the exact verified connection revision and resource list. It does not grant additional provider permissions or discover an entire account. The approving administrator's access is checked before dispatch and during execution. Browser-authorized schedules continue after sign-out without retaining or extending the browser session. Removing or changing that administrator's authorization invalidates the schedule. API-authorized schedules also stop when the approving API credential expires or is revoked.
The page shows the approving administrator, next run, last dispatch and skipped occurrences. Operation history contains scan progress and per-resource results. Refresh schedule reads current scheduling status. Scheduling is best effort, not an exact-time guarantee: overlapping operations are skipped, and after downtime only the latest missed occurrence is dispatched. No catch-up queue is created.
Pause, Remove schedule, and authorizing a replacement invalidate active scheduled work at its next access check. Already published findings remain. Editing the connection requires a fresh successful access test and explicit schedule authorization. A provider permission error appears in operation results; it does not silently expand access. If a save response is lost, the controls ask you to refresh the saved schedule before another change.
Cloud keys in CBOM exports
Cloud key resources export as CycloneDX 1.7 related cryptographic material of type key. They are metadata inventory, not copies of private or secret keys. The export preserves reported provider algorithm/key specification, usage, state, curve and protection level as named properties. Exact AWS RSA specifications and recognized GCP RSA/AES algorithms also populate the native key size in bits.
PQC parameter-set numbers are not key lengths. EC curve sizes are not inferred as encoded key lengths, and provider states are not translated into NIST lifecycle states without equivalent evidence. The export does not claim key exportability, private/public-half access, runtime use or a generation-algorithm relationship. Additional algorithm references and cross-service key relationships remain open.
GCP discovery progress and coverage
Each test or scan lists the current rings, keys and versions within the selected root. Discovering shows pages read, versions found and pending pages. After listing completes, the operation reads metadata for every discovered version. Testing performs these reads without publishing inventory. An empty scope can pass, but reports zero resources; this is not proof that the project has no keys.
The runner checkpoints each page and read. Restarted work resumes from saved progress. Revocation, changed configuration or lost authorization prevents late results from being accepted. Duplicate versions are deduplicated; pagination cycles and limits fail explicitly. A listing is not a transactional snapshot: resources can change between pages or before their metadata is read. A missing or inaccessible discovered version is reported as a resource failure.
Current bounds are 100 resources per page, 100,000 queued pages and 100,000 unique versions per operation, plus the workspace inventory capacity. Exceeding a bound never counts as complete coverage. Discovered names, normalized metadata and per-resource failures are retained; provider credentials are not exposed. Azure vault/key discovery follows the same durable listing and reading phases. Subscription-wide vault enumeration remains roadmap work.
AWS regional discovery
Symmetric key metadata
Hosted scanning and Python source scanner 0.26.47 identify AWS
SYMMETRIC_DEFAULT as AES-256-GCM. The Python collector identifies SM4-128
instead for China-region ARNs; hosted connections still support the public AWS
partition. CBOM exports retain the configured algorithm and key size without
claiming a verified encryption operation.
Azure oct-HSM identifies AES. The configured GET-key API does not expose a
public symmetric key-size field, so size and mode remain unknown. QScan never
reads or exports symmetric key material to determine size. Generic oct denotes
symmetric material but does not establish AES; it retains unknown algorithm
classification. An AES family with unknown size is not labeled quantum-ready.
These mappings follow the AWS key-spec reference, Azure supported key types and Azure GET-key contract. Existing inventory requires a fresh collection to obtain corrected observations; risk recalculation alone does not rewrite collected evidence. Published native agents retain the behavior of their bundled scanner version until updated.
Choose Discover keys in one region when configuring AWS KMS. Enter the role ARN and region; the account is taken from the role ARN. No access keys are needed. Apply the generated trust and permission policies, then test access and run a scan.
The hosted scanner follows AWS ListKeys pagination with at most 100 keys per page. It durably saves page progress and validates every returned key ARN against the configured account and region before scheduling metadata reads. A listing session permits only kms:ListKeys; each read session permits kms:DescribeKey for one exact discovered key. Listing requires Resource: "*" with a region condition; the role's DescribeKey permission is restricted to that account and region's key ARN prefix. Key policies may further restrict reads.
Operation history shows pages, resources discovered, pending pages, and subsequent read successes/failures. Revocation, configuration changes and cancellation prevent stale results from being accepted. A partial list, invalid cursor or resource limit does not count as complete inventory. An empty completed list proves only that this identity returned no keys in this scope at that time. AWS listing is eventually consistent, not a point-in-time snapshot.
This covers KMS key metadata in one public AWS region. It does not discover every AWS cryptographic service, inspect key material, scan other accounts/regions or prove runtime usage. GovCloud and China are not supported by hosted connections. Real AWS account acceptance was waived for this delivery and has not been performed; signed transport, pagination, scope enforcement and durable execution are covered by local tests.
Azure vault and key discovery
Choose Discover a vault or key in an Azure connection. Use a vault URL such as
https://production-vault.vault.azure.net, or narrow discovery to a key URL
https://production-vault.vault.azure.net/keys/signing without a version.
The scanner lists base keys, lists every returned version, and reads each version
for cryptographic metadata. It uses pages of at most 25 items and persists the
traversal before advancing. Progress separates discovery from metadata reads.
The generated trust guide retains the existing Entra workload federation flow.
For RBAC vaults, use a custom role with only
Microsoft.KeyVault/vaults/keys/read, assigned at the vault resource ID for vault
discovery or its /keys/<name> resource ID for one-key discovery. For legacy
access-policy vaults, keep the existing access model and grant List and Get
key permissions. Access policies apply to every key in the vault even when this
connection selects a single key. Neither path requires secrets access, key
mutation, signing or decryption permissions. The read operation may return public
key material; the scanner retains normalized metadata only.
Continuation URLs must keep the selected vault, collection and API version. Explicit HTTPS port 443 and reordered query parameters are accepted; extra parameters, changed destinations, API versions and cycles are rejected. The scanner extracts the opaque pagination token and rebuilds the next request. An invalid or incomplete traversal does not become a successful empty inventory. Existing exact-version connections cannot silently acquire list access.
This feature covers publicly reachable Azure Key Vault keys and their versions. It does not enumerate subscription vaults, Managed HSM, certificates, secrets, private-only vaults or runtime key usage. Discovery is not an atomic snapshot; keys can change while scanning. Real Azure account acceptance was waived for this delivery and has not been performed.
References: List keys, list versions, Azure key-read permissions.
Key-to-algorithm relationships in CBOM exports
For recognized exact GCP algorithm variants, the CycloneDX export now links the
key material component to a separate algorithm component through algorithmRef
and a dependency edge. RSA padding families and sizes, AES modes, EC curves,
HMAC digest names and supported PQ parameter sets come from provider metadata.
PSS exports the provider-defined salt length. Raw PKCS1 keeps its padding family
but records the absence of digest encoding. SLH-DSA prehash variants remain
distinct from pure message variants.
These are configured algorithm relationships, not verified runtime operations.
ECDSA's provider-named hash is a default, because GCP also permits other hashes.
Exports retain runtimeUseVerified: false and parametersComplete: false.
Algorithm components stay scoped to their key observations: matching parameters
do not merge keys or establish a shared implementation. Unknown and conflicting metadata does not create a guessed relationship.
Hosted Azure collection and Python source 0.26.21 retain the configured
key_ops list after validation. EC/EC-HSM keys with a recognized curve and only
sign/verify operations link to ECDSA on that curve in CBOM exports. Missing,
malformed, or incompatible operation lists do not produce a guessed link.
For RSA/RSA-HSM, the collector derives a 2048-, 3072-, or 4096-bit size from a
canonical public modulus and immediately discards its bytes. The export records
public-modulus as size provenance. Malformed or unsupported lengths remain
unspecified. RSA operation lists do not select a padding scheme or digest.
Symmetric key types remain unknown because the returned metadata does not select
an algorithm, mode or key size. No key-operation metadata proves runtime activity.
See Microsoft's key response schema
and algorithm reference.
Windows and Linux foreground binaries 0.26.21 include these collector
changes. Existing stored observations need a new scan to
obtain these fields. Live provider-account acceptance remains separate from
binary packaging and SDK diagnostic checks.
AWS KMS exports now link ML-DSA parameter sets, HMAC digest families, and EC
curves to their key observations when both KeySpec and KeyUsage agree.
NIST EC signing and key agreement produce distinct ECDSA and ECDH relationships.
These links describe configuration only; they do not establish a message hash,
signature mode, runtime use, or application ownership. RSA key sizes remain
available, but the export does not select a request-dependent RSA scheme.
Missing or incompatible key usage produces no algorithm link. Semantics follow
the AWS key specification reference.
Hosted collection and Python source collector 0.26.20 recognize AWS
ECC_NIST_EDWARDS25519 as Ed25519. With SIGN_VERIFY usage, CBOM exports link
the key to EdDSA on the Ed25519 curve. This key is quantum-vulnerable; provider
metadata does not prove a runtime signature or select pure versus prehash mode.
Windows and Linux foreground binaries 0.26.21 include this AWS registry
update. Older binaries retain their original registry and report this key spec
as unknown.
Parameter semantics follow the GCP algorithm reference.
Additional GCP variants (source collector 0.26.19)
Hosted scans and the Python source collector recognize the three
PQ_SIGN_ML_DSA_*_EXTERNAL_MU variants, KEM_ECDH_P256, KEM_ECDH_P384, and
AES_256_KWP. The exact provider identifier stays in evidence. External-MU
signatures preserve their externally supplied message-representative mode;
ECDH KEMs identify the curve and raw shared-secret operation; AES-KWP records
RFC 5649 key wrapping and a 256-bit key in CBOM exports. None proves that an
application actually used the key. Similar but unknown labels remain unknown.
These changes are included in hosted cloud scans and the signed Python source release. Previously compiled agent releases retain their original algorithm registry until an updated binary has been built and qualified.
Hybrid X-Wing relationships
For GCP KEM_XWING, the CBOM links the key to a composite KEM algorithm, which
in turn depends on ML-KEM-768 and X25519 algorithm components. These components
stay scoped to that key observation and are not exported as separate keys.
The export does not infer encoded key sizes, an independently verified draft
revision, implementation identity or runtime operation. The composite has no
invented CycloneDX algorithm-family value; its exact provider label and composition
remain explicit properties. This follows the composition in the
GCP algorithm reference.
Google Cloud SQL metadata
Choose Cloud connections → Google Cloud SQL → Configure connection. This is a direct hosted metadata connection; no endpoint agent or database password is required.
- Enter the database project ID (for example,
production-databases) and a connection name. The project ID selects the instances to inventory. - Enter the numeric project number owning the workload identity pool, its pool ID and provider ID. The identity pool can be in a different project from the databases.
- Save and open Show trust configuration. Configure the OIDC provider with the displayed issuer, audience,
google.subjectmapping and exact connection-subject condition. - On the database project, create a custom IAM role containing only
cloudsql.instances.list, then bind the displayed federated principal to that role. Enable the Cloud SQL Admin API. The person configuring IAM needs their normal administration permissions; the scanning identity does not need database administrator, login, connect, decrypt or user-management permissions. - Return to Test access. A successful test verifies the current saved scope without creating inventory. Then choose Run scan, follow operation progress and open the resulting database assets. Existing cloud scheduling and revocation controls also apply.
The collector retains configured TLS/client-certificate requirements and configured/used storage-key references. These are provider configuration, not a verified database session, TDE assessment, key algorithm or proof of PQC protection. Missing encryption fields remain unknown. Modern sslMode takes precedence over legacy requireSsl; contradictory legacy metadata remains flagged. SQL Server has different client-certificate semantics from PostgreSQL/MySQL. Provider response bodies, database passwords and user labels are not stored as evidence.
Inventory uses bounded, resumable pages. An unreachable-region or other provider warning prevents verification and complete inventory ingestion; the operation retains warning codes and discovered counts. Resolve provider availability/access issues and retry. Results are not an atomic snapshot of the project. Canonical project IDs are supported; legacy domain-scoped project IDs and AlloyDB require separate support.
API clients and SDKs use the existing cloud connection and operation endpoints with provider: "gcp", capability: "cloud-sql", projectNumber, poolId, providerId and scope: {projectId}. Omit KMS resources and discovery fields. Read the generated OpenAPI schema for the exact request. Cloud SQL metadata appears in CBOM under database and cloud-scope properties, separately from numerical risk scores.
References: Google Cloud SQL permissions, instance listing, TLS configuration semantics. Hosted plumbing and isolated acceptance are tested; a real customer-project authorization/scan is not implied by those checks.
Azure SQL Database: logical-server inventory
In Cloud connections, choose Azure SQL Database. This hosted connection reads Azure Resource Manager metadata for one logical server and its databases. It needs no local agent, SQL password or inbound database connection. SQL Managed Instance, Azure Database for PostgreSQL/MySQL and sovereign Azure endpoints use separate APIs and are not covered by this option.
- Enter the subscription ID, resource group and logical server name from the Azure SQL server overview. Enter the short server name, without
.database.windows.net. - In the correct Microsoft Entra directory, create or select an app registration and its enterprise application (service principal). Enter its directory ID and application/client ID in QScan. Save the connection.
- Open Show trust configuration. In the app registration, add a federated credential for an external issuer using the exact issuer, subject and audience displayed by QScan. The subject binds this workspace and connection; do not reuse another connection's subject. No client secret is required.
- Have an Azure administrator create the displayed custom role and assign it to that application's service principal at the exact logical-server resource ID. The assignment uses the service principal object ID, which differs from the client ID. Its four actions are:
Microsoft.Sql/servers/readMicrosoft.Sql/servers/databases/readMicrosoft.Sql/servers/encryptionProtector/readMicrosoft.Sql/servers/databases/transparentDataEncryption/read
- Allow permission propagation, then select Test access. A test reads metadata but creates no inventory. After successful verification, choose Run scan. Follow database discovery and TDE progress in the connection's operation history. Editing configuration clears verification.
The role has no data actions. Do not grant SQL administrator, Contributor, Key Vault decrypt or secret-read access to make this scan work. Federated token requests target ARM, using its documented https://management.azure.com//.default scope. They do not obtain SQL data-plane tokens.
Interpret the results
Server minimum TLS is a configured policy, not proof of a negotiated session or cipher. Per-database TDE configuration is distinct from server and database-level protector references. A key URI does not establish its algorithm, PQC protection or successful key use. Enclave configuration does not prove that application columns are encrypted. Use an explicitly authorized database agent connection for engine/session evidence.
A denied or missing optional protector/TDE response remains an evidence gap. Verification can complete with those gaps; review them before relying on results. Server access or database-listing failure stops verification. Database lists are paginated and each database receives a separate TDE request, so large servers take longer. The bounded workflow retains progress and rejects stale/revoked work. It supports up to 100,000 discovered databases and 10,000 list pages within the operation deadline; exceeding a bound fails rather than reporting truncated inventory as complete. This is not an atomic Azure snapshot.
For authentication failures compare all three federated credential values and the directory/client IDs. For access denials inspect the role assignment's principal, server scope and read actions. For missing servers verify subscription/resource group/name. Optional database disappearance during a scan is recorded as missing evidence. Provider response bodies, passwords and administrator identities are not stored in normalized findings.
The implementation pins stable ARM API 2023-08-01. Primary references: server metadata, database inventory, server protector, database TDE and Entra scopes. Use Test access to verify authorization against your Azure tenant before scanning.
Historical selection provenance
New hosted cloud observations retain a cloudScope record in inventory and
immutable evidence. CBOM exports use sectigo:cloud-scope:* properties. The record
identifies the operation, connection revision, resource index, selected resource
count, and whether selection used explicit identifiers or paginated discovery.
For discovery it also records completed listing pages. Explicit selection has no
listing, so its listing-complete value is not applicable.
This describes selection when the observation was accepted. It does not certify that every sibling resource was readable, that the overall operation succeeded, or that the provider listing was an atomic account snapshot. A later read failure leaves earlier valid evidence intact. Use the recorded operation ID to inspect final status and per-resource errors. Historical observations are not backfilled with selection claims that were never recorded.
Azure PostgreSQL and MySQL Flexible Server
Choose Azure PostgreSQL Flexible Server or Azure MySQL Flexible Server in Cloud connections. Use the full-page form to name the connection and enter its subscription ID, resource group, server name (without a DNS suffix), Entra directory ID and application client ID. Each connection selects one Flexible Server. Single Server, SQL Managed Instance and sovereign Azure endpoints are separate integrations and are not covered by this option.
After saving, open Show trust configuration. In the selected Entra app registration, create the displayed federated credential using its exact issuer, workspace/connection subject and audience. The included Cloud Shell command uses your application client ID. For the role assignment, use the application's service principal object ID, which is different from the application client ID.
Create the displayed custom role and assign it at the selected server resource ID. PostgreSQL needs Microsoft.DBforPostgreSQL/flexibleServers/read and Microsoft.DBforPostgreSQL/flexibleServers/configurations/read. MySQL needs the equivalent two Microsoft.DBforMySQL actions. No data actions, database account, client secret or Key Vault data permission is needed. The service uses short-lived federated ARM credentials and reads only the selected server plus named TLS settings.
Run Test access, then Run scan. Testing checks metadata access without creating inventory. Scan progress distinguishes server/configuration reads and evidence gaps. A missing or denied server read fails verification. Missing or denied individual TLS settings remain visible as gaps; they never establish a secure default. A verified connection therefore does not mean all configuration evidence was available. Editing the connection clears verification; retest before scanning. Revocation stops future use, including results returned after revocation. Remove provider-side trust separately when retiring the connection.
The result separates key-management configuration from engine encryption and negotiated transport. PostgreSQL reads require_secure_transport, ssl_min_protocol_version and ssl_max_protocol_version; its pinned API does not supply an admitted current-value field. MySQL reads require_secure_transport and tls_version, retaining configured and current values separately. Pending-restart state is explicit. A configured TLS setting is not a successful connection, a key reference does not prove key usability, and neither proves PQC protection. Discovered server metadata never authorizes an automatic endpoint scan. Use an explicitly scoped agent database connection to collect private-network engine/session evidence.
API, SDK and OAuth MCP
Create through POST /api/v1/cloud-connections with this configuration (replace identifiers):
{
"name": "Production PostgreSQL",
"provider": "azure",
"capability": "flexible-database",
"directoryId": "11111111-1111-4111-8111-111111111111",
"clientId": "22222222-2222-4222-8222-222222222222",
"scope": {
"engine": "postgresql",
"subscriptionId": "33333333-3333-4333-8333-333333333333",
"resourceGroup": "production-data",
"serverName": "production-database"
}
}
Set scope.engine to mysql for MySQL. JavaScript createCloudConnection(configuration) and Python create_cloud_connection(configuration) accept this same structure. Use the existing revision-bound trust/test/scan/status/results methods; retain request IDs for retries. OAuth MCP exposes cloud_capabilities, cloud_connections, cloud_connection, cloud_connection_trust, cloud_test_start, cloud_scan_start, cloud_operation_status and result tools for saved connections. Configure the connection in the UI or API first. These tools retain existing tenant and role restrictions; an agent or relay identity does not gain cloud-administrator access. Inventory and CBOM retain the structured cloud database evidence with unknown cryptographic roles.
Configure the connection and use Test access to verify its scoped permissions before scanning. API versions are pinned to PostgreSQL 2024-08-01 and MySQL 2024-12-30.
Primary references: PostgreSQL server metadata, PostgreSQL configuration metadata, MySQL server metadata, MySQL current/configured values. Reviewed November 2, 2026.
Reading large discovery results through MCP
cloud_operation_results accepts after from -1 through 99,999 for discovered inventories. Start at -1 and follow each returned nextAfter exactly until null, including zero. Pages remain limited to 100 results. The tenant API checks the actual operation scope; accepting a cursor does not grant access to another operation. Older downloadable MCP bundles may reject cursors above 199; use the hosted OAuth MCP endpoint until an updated source bundle is published.
Azure SQL Managed Instance
Choose Cloud connections ? Azure SQL Managed Instance. This is a direct hosted ARM metadata connection, distinct from Azure SQL Database. No agent, SQL login or client secret is required.
- Enter a connection name, subscription ID, resource group and the short managed instance name from Azure. Supply its Entra directory ID and application client ID.
- Save, then open Show trust configuration. Add the exact displayed issuer, subject and audience to the application's federated credentials. The subject is unique to this workspace connection.
- Create a custom role with the four displayed read actions and assign it to the application's service principal at the selected instance resource ID:
Microsoft.Sql/managedInstances/readMicrosoft.Sql/managedInstances/databases/readMicrosoft.Sql/managedInstances/encryptionProtector/readMicrosoft.Sql/managedInstances/databases/transparentDataEncryption/read
- Run Test access. After successful verification, run Run scan. Progress reports databases discovered, TDE checks completed and evidence gaps. Test access does not create inventory.
No data actions, SQL administrator access, Contributor access, Key Vault secret retrieval or decryption permissions are requested. The connection uses ARM over HTTPS; it does not need a route to the private SQL endpoint. Inspecting an actual SQL session is a separate, explicitly configured agent database scan.
The inventory records configured minimum TLS, instance protector references/rotation metadata and each database's TDE configuration. Missing or denied protector/TDE reads remain explicit evidence gaps. Configuration does not prove negotiated TLS, current engine encryption, key algorithm, Always Encrypted or PQC protection. Unrelated properties, database rows and credentials are excluded. SQL Database per-database protector/enclave fields are not reused for Managed Instance.
Large inventories are paginated with resumable progress. Revoking the connection or changing its configuration prevents in-flight results from being accepted. Saving edits clears verification; test again before scanning. Scans do not claim an atomic provider snapshot. Public Azure is supported; sovereign endpoints are not covered by this connector.
API, SDK and OAuth MCP clients use the existing cloud connection methods with provider: "azure", capability: "sql-managed-instance", directoryId, clientId, and scope: {subscriptionId, resourceGroup, instanceName}. Omit KMS resources/discovery and SQL Database serverName. Results appear in inventory and CBOM with engine azure-sql-managed-instance, separate from numerical risk scores. Consult the generated OpenAPI schema for exact payloads.
API baseline: Microsoft stable 2023-08-01, verified 2026-11-02: instance, databases, protector, TDE. Isolated lifecycle and provider-response tests do not establish successful authorization in your Azure account; real-account acceptance was waived for this delivery and has not been performed.