Skip to main content

How to Create and Execute a Target using PK Cloud Agent

This section of the page elaborates the process of creating and executing a Target using cloud agent.


PK Cloud Agent must be installed. For detailed information about the installation process, refer Installing of PK Cloud Agent.

Steps to execute a Target in cloud repository

The following section of this page outlines the step-by-step procedure to configure and execute the Target in the cloud services:

  1. The first step is to access the Cloud > Agents screen and ensure that the recently installed PK Cloud Agent is up, running and reflecting on the Cloud Agents panel. To know more about Agents screen, refer Viewing details of PK Cloud Agent.

*Note: If agent does not appear in the Agents screen of the PEM environment, ensure that the Windows Service i.e., PKCloudAgent is up and running.

  1. The next step is to create Azure App Registration using the Azure screen which can be accessed via Cloud > Azure. This step is necessary since it will be used in managing azure related apps, connections, and functions. For detailed information on how to create Azure App Registration, refer Creating Azure App Registration.

    1. Once the app is created, Azure Global Admin needs to grant the permission to recently created app in order to utilize the resources. For detailed information on how to grant access to an app, refer Grant Admin Consent

    2. Now, give the app registration proper rights to an Azure subscription. To know more on how to give rights to app, refer Create Azure App Registration.

  2. In this step, connectors need to be defined. For detailed information on how to define a connector, refer Add a Connector.

  3. The next step is to add azure functions. These functions play a vital role of remediating a file stored in the cloud repository. For detailed information on how to create azure function, refer Create an Azure Function.

  4. Once you have configured azure app, connectors, and azure functions. The next step is to create a File Protection Policy. These policies contain information pertaining to a policy action and are selected in a target. To know more on how to create a File Protection Policy, refer Add a File Protection Policy.

  5. In the last step, create a Target which defines the scope of File Protection Policy where it will be executed. To know more on how to create a target, refer Add a Persistent Target.

Once the remediation takes place successfully, the data in the file is remediated in the selected cloud service i.e., SharePoint and OneDrive.

View Results

Once a target is executed successfully, DSI (Data Security Intelligence) event gets generated in the Reporting screen, where you can view the details for the event.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.