Go to the Connectors tab, click Oracle Cloud Infrastructure Connectors, and then click Create Connector, and our wizard can walk you through the steps.
You must contact support to enable OCI Connectors for your subscription.
Step 1: Basic DetailsBasic Details
Provide a name and description for the connector. We recommend you provide a unique name for the connector.
Select applications that apply to the connector.
AssetView: Discovers assets to the Asset Inventory. Available in CSAM.
CSPM: Discovers assets to the Asset and Cloud Inventory. Available in CSAM and TotalCloud.
Click Next.
Step 2: Authentication DetailsAuthentication Details
Select a frequency at which the connector should poll the cloud provider and fetch data.
By default, the connector polling frequency is configured for every 4 hours. As a result, the connector connects with the cloud provider every 4 hours to fetch the data.
You can configure frequency from one hour to a maximum of 24 hours. We recommend configuring a frequency of 4 hours or more for optimal use of your connector. Configuring a low polling frequency (less than 4 hours) can affect the connector's performance and may result in OCI API throttling error.
This lets you grant Qualys access to your OCI resources without sharing your OCI security credentials.
To grant access to Qualys, you have to provide the following information.
Home Region
Set the region where you want to fetch OCI assets from.
1. To get the home region of your OCI account,
Navigate to your OCI account
Go to Governance and Administration > Administration > Tenancy Details.
Identify the Home region and its identifier.
For example, if the Home region is US East (Ashburn), then its region identifier is us-ashburn-1.
2. Select the home region from the dropdown.
OCID
Oracle Cloud Infrastructure resources have an Oracle-assigned unique ID called an Oracle Cloud Identifier (OCID). It is part of the resource's information in the console and API.
Authenticate the Qualys connector by providing the Tenant and User OCID.
Tenant OCID
To get the Tenant OCID of your OCI account,
Navigate to your OCI account
Go to Governance and Administration > Administration > Tenancy Details.
The Tenancy OCID shown under the Tenancy Information.
Click Copy
Paste it on the Tenant OCID field.
User OCID
You need to first create IAM user and assign the required permissions and policies on Oracle cloud console.
Create IAM User and Policy
Oracle Cloud Infrastructure Identity and Access Management (IAM) lets you control who has access to your cloud resources. You can control the type of access a group of users has and the resources.
1. To create an IAM User and Policy,
Navigate to Identity & Security > Identity > Users on the Oracle Cloud console.
Create local IAM user (for example, AuditUser).
Navigate to Identity > Groups > create group (for example, audit-group). Now, associate the user with the group.
Navigate to Identity > Policies > select root Compartment > Create Policy (for example, AuditPolicy).
Attach the group to the policy in the root compartment.
Policy Statements for AssetView Connectors::
Allow group audit-group to inspect all-resources in tenancy
Allow group audit-group to read instances in tenancy
Allow group audit-group to read audit-events in tenancy
Allow group audit-group to use virtual-network-family in tenancy
Policy Statements for AssetView+CSPM Connectors:
Allow group audit-group to read all-resources in tenancy
2. Once you create the user and assign the required permissions, you can copy the user’s OCID. Go to Identity > Users > User Details > Select the Users from the list.
3. The user OCID is shown under User Information. Copy and paste in the Connector creation wizard.
Private Key
You can obtain the Private Keys in a PEM format from your OCI account.
1. To obtain the Private Keys,
Navigate to your OCI Account.
Go to Identity > Users > User Details > API Keys > Add API Key > Select Generate API Key Pair.
Download the Private key and save it on your local file.
Click Add.
Once you have added the private key, OCI prompts the Configuration File Preview.
Copy the Private key's SHA fingerprint.
If you have closed the prompt, you can look for your recently added key in Users and copy the fingerprint from the Fingerprint column.
2. Upload the PEM file to the connector creation wizard and provide the fingerprint below.
Step 3: Assign TagsAssign Tags
Assign tags to the connector that you are creating. You can also create a new tag. For details on creating new tags, see Configure Tags in Qualys CyberSecurity Asset Management documentation.
Step 4: ConfirmationConfirmation
Review the connector settings you configured and then click Create Connector.
That’s it! The connector establishes a connection with Oracle Cloud Infrastructure to discover resources from the configured region.
Once the connector is created, you can run the connector, disable or delete the connector, and view assets and resources information.
The Oracle Cloud Infrastructure page displays the list of OCI connectors. The Status column indicates the status of the connector created: Completed successfully, Completed with errors, Queued, Synchronizing, and Disabled.