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
| Stage | Where | What happens |
|---|---|---|
| 1. Register the tenancy | Upwind Management Console | You enter your tenancy OCID, home region, and orchestrator compartment, and Upwind generates client credentials for the connection. |
| 2. Deploy the Terraform module | Your tenancy, from your terminal | The module creates the identity domain, workload identity federation, service users, policies, and Vault that Upwind needs. |
| 3. Grant federated access | Upwind Management Console | You enter three Terraform outputs, so Upwind can exchange its signed tokens for access to your tenancy. |
| 4. Define scope | Upwind Management Console | You choose which compartments Upwind audits through OCI APIs and which it scans with Cloud Scanners. |
| 5. Discover and scan | Upwind | Upwind 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.
| Step | Description | Purpose |
|---|---|---|
| 1 | Create 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 |
| 2 | Create 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 |
| 3 | Create 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 |
| 4 | Store Upwind Credentials in a Vault. The Upwind client credentials are stored as secrets in a Vault in the orchestrator compartment. | Upwind Connection |
| 5 | Deploy 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
- 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 . - Follow the instructions to connect your tenancy. Onboarding typically takes 15-20 minutes, and the first discovery 30-60 minutes.
- Keep the module up to date. Upwind releases new versions regularly, with new features and fixes. See Upgrade the Module.