Onboarding Oracle Cloud Infrastructure (OCI) to AccuKnox¶
This guide will walk you through the two main stages of the process:
- Configuring OCI: Creating a dedicated read-only user, group, and policy in your Oracle Cloud account.
- Onboarding to AccuKnox: Using the credentials generated from OCI to connect your account to the AccuKnox platform.
Part 1: Configure Your Oracle Cloud Infrastructure (OCI) Account¶
Follow these steps to create a secure, read-only access configuration for AccuKnox within your OCI console. 🔐
1. Create a New User¶
First, we'll create a dedicated user for AccuKnox.
- Log in to your Oracle Cloud Console.
- Navigate to the main menu ☰ and go to Identity & Security.
- Under Identity, click on Domains.
- Select the appropriate domain (usually the Default domain).
- In the left pane, click on Users.
- Click Create user.
- Enter the following details:
- First Name:
AccuKnox
- Last Name:
Scan
- Email / Username:
cloudscan@accuknox.com
- First Name:
- Click Create.
2. Create a New Group¶
Next, create a group to hold the new user and assign permissions to it.
- In the same domain settings, click on Groups in the left pane.
- Click Create group.
- Enter the following details:
- Name:
SecurityAudit
- Description:
AccuKnox Security Audit Access
- Name:
- Click Create.
- After the group is created, click on its name (
SecurityAudit
) from the list. - Click Add user to group and select the AccuKnox Scan user you created earlier.
3. Create a Read-Only Policy¶
This policy grants the SecurityAudit
group read-only access to all resources in your tenancy.
- Navigate to the main menu ☰ and go to Identity & Security.
- Under Identity, click on Policies.
- Ensure you are in your root compartment to apply the policy to the entire tenancy.
-
Click Create Policy.
-
Enter the following details:
- Name:
SecurityAudit
- Description:
AccuKnox Security Audit Policy
- Name:
- Switch the Policy Builder to the Manual editor.
-
In the text box, enter the following policy statement:
Allow group SecurityAudit to read all-resources in tenancy
-
Click Create.
4. Generate API Keys¶
Finally, generate the API keys that AccuKnox will use to connect to your account.
- Navigate back to the AccuKnox Scan user profile (Identity & Security -> Domains -> Your Domain -> Users -> AccuKnox Scan).
- In the left pane under Resources, click API Keys.
-
Click Add API key.
-
Select the Generate API key pair option.
- Click Download Private Key and Download Public Key. Save the private key file (
.pem
) in a secure location; you will need its contents shortly. - Click Add.
- A Configuration File Preview will appear in a pop-up window. Copy the entire text block and save it to a temporary text file. This contains your
User OCID
,Tenancy OCID
,Key Fingerprint
, andRegion
.
You now have all the necessary information from OCI!
Part 2: Onboard Your OCI Account in AccuKnox¶
Now, let's use the credentials you just created to connect your account to the AccuKnox platform. ✨
-
Log in to your AccuKnox account.
-
Navigate to Settings ⚙️ and select Cloud Accounts.
-
Click the Add Account button.
-
Select Oracle from the list of cloud providers.
-
You may be prompted to add optional labels and tags for better organization. Configure them as needed and proceed.
-
You will now see the credential entry screen. Fill in the fields using the information you saved from the OCI console in the previous steps, use your OCI config file and the private key you downloaded:
- User OCID
- Tenancy OCID
- Compartment ID (You can find this in the OCI console under Identity & Security -> Compartments)
- Fingerprint
- Region
- Private Key
Click Add and AccuKnox will validate the credentials and connect to your OCI account. You should see your newly added Oracle account in the list on the Cloud Accounts page.
Viewing and Managing Your Onboarded OCI Account¶
Once the Oracle Cloud account is onboarded, you can shortly view the Cloud Findings by navigating to the Issues -> Cloud Findings -> Cloud Scan and selecting the Oracle account from the dropdown to view the findings specific to that account.
We make several widgets for Oracle Cloud findings available on the Dashboard as well. These widgets provide insights into the security posture of your Oracle Cloud resources.
You can also view and manage the compliance status and benchmarks associated with your Oracle account by going to the Compliance section and selecting the Oracle account from the dropdown.