Data Sources¶
Path: /data-sources

Connect cloud provider accounts for automated evidence collection. The system can automatically query your infrastructure to check control compliance.
Prerequisites - Steampipe sidecar + cloud credentials
Automated cloud queries are not turnkey out of the box. They depend on the optional Steampipe sidecar (available in the full-source / full-feature deployment, not the minimal published-image stack) and the cloud credentials you add below. A stock install without the sidecar simply leaves this feature off - the System Health page reports Steampipe as not configured and the in-app Setup readiness checklist lists it under Optional add-ons (safe to skip until you need it). Configuring data sources also pairs naturally with the Policy Engine (OPA) sidecar, which evaluates the queried data against pass/fail rules.
ARM hosts
GRCFlow ships for linux/amd64 and linux/arm64. On arm64 the Steampipe
sidecar needs a kernel with 4 KiB memory pages (the norm on arm64 servers and
cloud instances). On a kernel with larger pages, such as the default 16 KiB
kernel of a Raspberry Pi 5, Steampipe's embedded database cannot start: the
container logs the reason and stays idle, cloud evidence collection is
unavailable, and everything else works. On a Raspberry Pi 5, set
kernel=kernel8.img in /boot/firmware/config.txt and reboot to get a
4 KiB-page kernel.
Supported Providers¶
- AWS - Connect via access key (Commercial or GovCloud partition). AWS is the one provider whose queries the assessment engine runs today, so it is the only one that collects control evidence during an assessment: 91 queries backing 78 controls across SOC 2 (9 controls), CMMC Level 2 (56), ISO 27001 (5), PCI DSS (5) and HIPAA (3). The queries are validated against the pinned AWS plugin's schema, not against a cloud account.
- Azure - Connect via service principal (Public / US Government / China clouds), one subscription per connection. An Azure control-evidence query library is written (storage exposure & encryption, RBAC assignments, NSGs, diagnostic settings, Defender for Cloud, Key Vault keys, SQL servers, NSG flow logs) but is not yet wired into the assessment engine. An Azure connection can be configured and health-checked; it collects no control evidence yet.
- Okta - Connect via API token. An Okta query library (users, MFA factors, password policy, app assignments) is written but not yet wired into the assessment engine. Configure and health-check only for now.
- GitHub / Kubernetes / SSH / WinRM / LDAP - these can be configured and health-checked, but ship no control-evidence query library, so they collect no control evidence during an assessment.
- PostgreSQL / MySQL - not available. No Steampipe plugin is published for these connection types, so such a connection could never load; the Data Sources page shows them disabled.
Providers other than AWS need their Steampipe plugin
The sidecar installs only the AWS plugin by default. To health-check an Azure,
Okta, GitHub, Kubernetes, LDAP, SSH or WinRM connection, add its plugin to
STEAMPIPE_PLUGINS in .env and restart the Steampipe container, for example
STEAMPIPE_PLUGINS="aws azure okta". SSH and WinRM connections use the exec
plugin. Until the plugin is installed, Test reports that it is missing; it
does not report the connection as healthy.
What these connection types support follows the plugins: SSH uses a password or an unencrypted private key (no passphrase), WinRM uses user name and password over HTTP or HTTPS, and LDAP uses a simple bind with optional TLS.
The Data Sources page labels each provider "Collects evidence" or "Configure &
health-check only", and the providers API returns collects_evidence per provider
(true only for AWS today). The label is derived from the queries the assessment
engine actually runs.
GCP is not yet supported
There is currently no GCP connection type - no service-account wiring and no GCP control-evidence queries ship in this build. If you need GCP evidence today, collect it manually via Evidence Requests.
How to Connect a Data Source¶
- Click Add Connection.
- Select the cloud provider.
- Enter credentials (access key, subscription ID, etc.).
- Select regions to scan.
- Save. Steampipe loads the new connection within a few seconds; no restart is needed. A first health check runs automatically.
- Click Test at any time. The Status column shows what the provider answered.
- Assessments for your organization run their cloud queries against your organization's AWS connection(s).
The connection name (slug) becomes the name of a Steampipe schema. It must be
unique in the install, and aws, azure, gcp and default are reserved for
the sidecar's own configuration.
What Test tells you¶
Test sends a real request through the Steampipe sidecar using that connection's own credentials and shows the result in the Status column:
| Status | Meaning |
|---|---|
| healthy | The provider accepted the credentials. For AWS the message names the account and the identity, for example Authenticated to AWS account 123456789012 as arn:aws:iam::123456789012:user/grc-audit. |
| unhealthy | The provider (or Steampipe) refused. The message is the provider's own error. Wrong or revoked AWS keys read InvalidClientTokenId: The security token included in the request is invalid; a wrong GitHub token reads 401 Unauthorized ... Bad credentials. Other messages name a missing Steampipe plugin, or a configuration file that Steampipe set aside (see below). |
| unknown | The check could not be made, usually because the Steampipe sidecar is not running. Nothing was learned about the credentials. |
For AWS, the check asks AWS who the keys belong to (sts:GetCallerIdentity,
which needs no permission) and then makes one read-only IAM call
(iam:GetAccountSummary) to confirm AWS still accepts the keys. A missing
permission on that second call does not make the connection unhealthy. A key
that was valid at an earlier check and has since been revoked can still read
healthy for a few minutes when it had that permission, because Steampipe
caches successful results (five minutes by default).
Which AWS credentials are used¶
Each connection signs its requests with its own access key. The optional
AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY in .env belong to the sidecar's
built-in connection named aws and are never used for a connection you create
here.
If you configured AWS only through .env and created no AWS connection on this
page, assessments use the built-in aws connection, provided the install has a
single organization. Once your organization has its own AWS connection,
assessments use that instead. On an install with several organizations the
.env keys are not used for any organization's assessment; create a connection
for each organization.
A connection that assumes an IAM role (assume_role_arn, set through the API)
uses the connection's keys to assume it.
Where the credentials live¶
The full connection configuration is stored encrypted in the database. For
Steampipe to use it, the backend also writes it to the steampipe_config
volume that the two containers share: one <slug>.spc file per connection, and
key, certificate and AWS role-profile files under credentials/. These files
are readable by the backend's user and by the group it shares with the
Steampipe sidecar, and by nobody else (0640, directories 2750).
Deleting a connection removes its file and its credentials from the volume, and Steampipe drops the connection within a few seconds. At startup the backend checks the volume against the database: it rewrites files that are missing or differ, and removes generated files that belong to no connection.
If Steampipe sets a connection file aside¶
Steampipe reads all configuration files together, so one unreadable or
malformed file would stop every connection. The sidecar therefore moves such a
file into quarantine/ on the volume, logs a line starting with
[config-guard] QUARANTINED, and keeps serving the other connections. The
affected connection shows unhealthy with the reason. Saving the connection
again, or restarting the backend, writes a fresh file.
Steampipe¶
Steampipe is the optional sidecar that runs the automated cloud queries described on this page. A stock install can skip it; see the prerequisites note at the top of this page, and System Health for its live status.