Skip to main content

Oracle Cloud

Connect your Oracle Cloud Infrastructure (OCI) tenancy to Upwind for centralized visibility and protection across all of its compartments and resources. Upwind discovers and audits your resources through OCI APIs, and scans them for vulnerabilities, misconfigurations, and exposed secrets with agentless Cloud Scanners.

Onboarding is done at the tenancy level with a Terraform module that sets up everything Upwind needs in your tenancy. Upwind authenticates with short-lived tokens through workload identity federation, so no long-lived API keys are created for Upwind.

What's in This Section​

  • Prerequisites: the access, information, permissions, and tools you need before you start.
  • Instructions: step-by-step instructions for connecting your tenancy, and for offboarding it.
  • Glossary: the terms, Terraform variables, and resources you encounter during onboarding.
  • Troubleshooting: common issues during and after onboarding, and how to resolve them.

How It Works​

StageWhereWhat happens
1. Register the tenancyUpwind Management ConsoleYou enter your tenancy OCID, home region, and orchestrator compartment, and Upwind generates client credentials for the connection.
2. Deploy the Terraform moduleYour tenancy, from your terminalThe module creates the identity domain, workload identity federation, service users, policies, and Vault that Upwind needs.
3. Grant federated accessUpwind Management ConsoleYou enter three Terraform outputs, so Upwind can exchange its signed tokens for access to your tenancy.
4. Define scopeUpwind Management ConsoleYou choose which compartments Upwind audits through OCI APIs and which it scans with Cloud Scanners.
5. Discover and scanUpwindUpwind discovers your resources and deploys Cloud Scanners in the orchestrator compartment to scan them.

What the Terraform Module Creates​

The module creates the following in your tenancy. For each resource's name, see the Glossary.

StepDescriptionPurpose
1Create an Identity Domain and Workload Identity Federation.

The module creates a dedicated identity domain, or uses one you supply. In it, it registers a confidential OAuth application and a token exchange trust that accepts short-lived tokens signed by Upwind. No long-lived API keys are created.
Authentication
2Create Service Users and Groups.

The module creates the service users Upwind impersonates: a read-only user, a management user and, when Cloud Scanners are enabled, a Cloud Scanner user. The read-only and management users each belong to their own group.
Identity Setup
3Create IAM Policies.

The read-only and management groups get read access across the tenancy, which excludes object contents and secret values. In the orchestrator compartment, the management group can also deploy compute and functions, and read and manage Upwind's own secrets in the Vault. Upwind gets no IAM write access.
Permissions
4Store Upwind Credentials in a Vault.

The Upwind client credentials are stored as secrets in a Vault in the orchestrator compartment.
Upwind Connection
5Deploy Cloud Scanners.

A dynamic group that matches only scanner instances in the orchestrator compartment gets the permissions to snapshot and scan volumes. Upwind deploys the Cloud Scanners there.
Scanner Deployment
Least-privilege access

Upwind's access to your tenancy is least-privilege:

  • Upwind's read access excludes object contents and secret values. The only secrets Upwind can read are its own, in the Vault in the orchestrator compartment.
  • Upwind gets no IAM write access.
  • The Cloud Scanner dynamic group matches only scanner instances in the orchestrator compartment.

Get Started​

  1. Check that you meet the prerequisites, including Terraform 1.9 or later with the OCI provider (oracle/oci) 8.0.0 or later, and the OCI CLI .
  2. Follow the instructions to connect your tenancy. Onboarding typically takes 15-20 minutes, and the first discovery 30-60 minutes.
  3. Keep the module up to date. Upwind releases new versions regularly, with new features and fixes. See Upgrade the Module.