Onboard OCI Accounts
Agentless scanning lets you inspect the risks and vulnerabilities of a virtual machine without having to install an agent or affecting the execution of the instance. Prisma Cloud gives you the flexibility to choose between agentless and agent-based security using Defenders. Currently, Prisma Cloud supports agentless scanning on Oracle Cloud Infrastructure (OCI) for vulnerabilities and compliance. To learn more about how agentless scanning works, see the How Agentless Scanning Works?
The procedure shows you how to complete the following tasks.
Create an OCI compartment to run the needed instances in OCI that perform the agentless scanning.
Create a new OCI user for Prisma Cloud to access OCI.
Create an API key in OCI for the new user.
Configure the Prisma Cloud console to access the OCI resources.
Apply the needed permissions in OCI.
Start an agentless scan.
Create an OCI Compartment
Go to the Oracle Cloud console.

In the menu, go to Identity & Security > Compartments.

Click Create Compartment.

Enter a name and a description for the compartment.

Click Create Compartment.
To scan all resources across all regions, you must create the resources for the different regions in the compartment. Make sure to create all needed resources with the same name in all regions.
Create a New OCI User
In the menu, go to Identity & Security > Users.

Click Create User.

Select IAM User.
Enter a Name and a Description for the user.

Click Create.

Create an API Access Key
On the user page, go to Resources > API Key.

Select Generate API Key Pair.

Click Download Private Key.

Click Add.

The Configuration File Preview opens.

Copy the key-value pair for
userinto a text file.Copy the key-value pair for
fingerprintinto a text file.Copy the key-value pair for
tenancyinto a text file.
Save the text file.
Click Close.

Configure Agentless Scanning
Complete the agentless scanning configuration for your OCI accounts.
Apply the Permissions in OCI
Go to the Oracle Cloud console.

Click on the terminal icon on the right hand corner and select Cloud Shell.

Click the gear icon on the shell, and select Upload File.

Select the
pcc-apply-permissions.shpermission template you downloaded from the Prisma Cloud Console.Make the file executable with the following command.
Apply the permissions with the following command. Replace <OCI-Compartment> with the name of the created compartment.
Verify that the changed statements for the policy are correct and enter
yto continue.Enter
yto dismiss the warning about tags.Once the permissions are applied, you have an OCI user with the needed permissions.
Agentless Scanning for Cloud Accounts
During Onboarding: When cloud accounts are onboarded to Prisma Cloud with the "Agentless Scanning" option enabled, scanning starts immediately. This provides instant visibility into the vulnerabilities and configurations risks for the account. If this option is disabled before onboarding, Prisma Cloud does not scan the workloads in the account. The account remains unscanned until agentless scanning is enabled.
To modify the scan settings, see Edit Agentless Scan Settings.
For existing accounts: Enabling agentless scanning for existing accounts in Prisma Cloud does not initiate an immediate scan. Instead, these accounts are added to the next scheduled scan cycle, which occurs every 24 hours by default. This ensures that scans are conducted systematically according to the scan cycle, rather than starting immediately upon enabling.
To modify the scan cycle, see Modify the Agentless Scan Interval.
Account Origin Filter
The Account Origin filter on the Runtime Security > Manage > Cloud Accounts page categorizes cloud accounts based on their source, making it easier to distinguish them during onboarding and scanning:
Local accounts – Accounts created in Runtime Security only (not present in the Prisma Cloud console).
Manually imported accounts – Accounts manually imported from the Prisma Cloud console to Runtime Security before the Lagrange release (end of 2022).
Auto-imported accounts – Accounts that originated in the Prisma Cloud console and were automatically imported into Runtime Security.
Edit Agentless Scan Settings
You can safely enable agentless scanning settings for disabled accounts on the Runtime Security > Manage > Cloud accounts page. After enabling agentless scan, the scan will trigger with the correct configuration in place.
To edit agentless scan settings, complete the following steps:
Go to Runtime Security > Manage > Cloud accounts.
Select Edit Account icon from the Actions column for the account.
In Account and Agentless setup, go to Agentless scanning section.
Modify the agentless configuration options in this section.
Select Save.
After the configuration is modified, the next scan uses the updated settings.
Modify the Agentless Scan Interval
By default, agentless scans are triggered every 24 hours.
To change the interval, complete the following steps.
Go to Runtime Security > Manage > System.
Select the Scan tab.
In the Scheduling section, in Agentless box, type the new duration for the scan cycle.
Select Save

Manually Start Agentless Scanning
To manually start a scan, complete the following steps.
Go to Runtime Security > Manage > Cloud accounts.
In the Scan in your environment section, select Start Agentless scan.

Note: Scanning starts for all the accounts that have the agentless scanning option enabled.
Select the Scan icon in the top-right corner of the console to view the scan status.
To view the results, complete the following steps.
Go to Runtime Security > Monitor > Vulnerabilities > Hosts or Runtime Security > Monitor > Vulnerabilities > Images.
Select Filter hosts.

Select the Scanned by filter.

Select the Agentless filter.

Last updated
Was this helpful?

