Skip to main content

Cloud and SaaS Setup Guides

Each guide here covers what a provider administrator configures so dfe-fetcher can pull data from that provider: the access it needs, how to grant it least-privilege, where to put credentials, and how to verify the connection. Every source is read-side: M365 starts its activity-feed subscription and Pub/Sub acknowledges what it delivered. Nothing else changes provider state.

For the fetcher's configuration (scheduler, output, credential resolution, the sources.db and sources.file blocks), see config.example.yaml. The architecture is in ../architecture.md and the profile grammar in ../reference/profile-grammar.md.

ProviderData it pullsGuide
AWSSecurity and operational logsaws.md
AzurePlatform and security logsazure.md
Microsoft 365Audit and security logsm365.md
Google CloudAudit and security logsgcp.md
Google Cloud Pub/SubPull subscriptionsgcp-pubsub.md
Google WorkspaceReports API activity per applicationgoogle-workspace.md
OktaSystem logokta.md
Cisco DuoAuthentication logsduo.md
CrowdStrikeFalcon alertscrowdstrike.md
CloudflareAudit logscloudflare.md
DatadogAudit trail and security signalsdatadog.md
BitwardenEvent logsbitwarden.md
1PasswordAudit and sign-in eventsonepassword.md
SlackAudit logsslack.md
GitHubAudit loggithub.md
SalesforceSetup audit trail, login history, event log filessalesforce.md
runZeroAsset inventory snapshotsrunzero.md
SAP S/4HANAAn OData V2 entity set read by timestamps4hana.md
Object storeBuckets (S3 and compatible)object-store.md
Package registriesPyPI, crates.io, Go modulessupply-chain.md

A source's maturity is the maturity field of its profile under crates/fetcher/profiles/: alpha, beta or stable. The fetcher logs a warning at startup for an enabled source below stable. The capability catalog (docs/capability-catalog.yaml) repeats the field, and catalog_maturity_matches_source_maturity keeps the two equal.

Each guide's health check is the profile's probe, or its credential exchange where the profile has none. It runs from that source's live test where it has one, cargo nextest run -p dfe-fetcher --test e2e --run-ignored only <source>_health_check, never from a deployed fetcher: its /readyz answers from startup and memory pressure alone. In a deployment the first tick is the check: it runs one fetch interval after start and logs unit tick complete for each unit, or unit tick failed with the provider's answer.

Credentials in Kubernetes​

The released chart mounts one Secret, Kafka's: its username, password and sasl.mechanism keys become DFE_FETCHER_KAFKA_SASL_USER, DFE_FETCHER_KAFKA_SASL_PASSWORD and DFE_FETCHER_KAFKA_SASL_MECHANISM. Name an existing Secret with the chart value secrets.kafka.existingSecret.

A provider's credentials are yours to supply, through the chart's extraEnv (a map of variable name to value or valueFrom) or extraEnvFrom (a list of envFrom sources) values. Two ways work, and each guide's Environment Variables section names the fields:

  • set the field itself, DFE_FETCHER_SOURCES__<BLOCK>__<FIELD>, from a Secret key, e.g. DFE_FETCHER_SOURCES__AWS__SECRET_ACCESS_KEY
  • write the field as an env:NAME spec in the config, and load a Secret keyed by those names with extraEnvFrom
extraEnv:
DFE_FETCHER_SOURCES__AZURE__CLIENT_SECRET:
valueFrom:
secretKeyRef:
name: fetcher-azure
key: client-secret
extraEnvFrom:
- secretRef:
name: fetcher-credentials

An empty value counts as unset, so a Secret key left blank leaves the field unset rather than signing requests with an empty key.