Apply Web and API Security profiles to workloads - Learn how to apply Web and API Security profiles to workloads, using policies. - Administrator Guide - Cortex CLOUD

Cortex Cloud Runtime Security Documentation

Product
Cortex Cloud Application Security > Cortex CLOUD
License
Cloud Runtime Security
Creation date
2024-12-24
Last date published
2026-06-04
Category
Administrator Guide
Abstract

Learn how to apply Web and API Security profiles to workloads, using policies.

Note

Web and API Security profiles and policies are currently a Beta feature.

Cortex Cloud provides out-of-the-box protection for all registered workloads with a default security policy. To customize your security policy, create or edit one or more security profiles, and then attach the profiles to one or more policies.

Each policy you create must apply to one or more workload or workload groups. The Prevention Policy Rules table lists all the policy rules per operating system. Rules associated with one or more targets that are beyond your defined user scope are locked and cannot be edited.

  1. From Cortex Cloud, create a policy rule.

    Do one of the following:

    • Select InventoryEndpointsPolicy ManagementPreventionPolicy Rules, and select + New Policy or Import from File.

      Note

      When importing a policy, select whether to enable the associated policy targets. Rules within the imported policy are managed as follows:

      • New rules are added to the top of the list.

      • Default rules override the default rule in the target tenant.

      • Rules without a defined target are disabled until the target is specified.

    • Select InventoryEndpointsPolicy ManagementPreventionProfiles, right-click the profile that you want to assign, and click Create a new policy rule using this profile.

  2. Enter a policy name, and a description (optional) that describes the purpose or intent of the policy.

  3. Select the Platform for which you want to create a new policy.

  4. Select the desired profiles that you want to apply in this policy.

    If you do not specify a profile, the default profiles are used.

  5. Click Next.

  6. Use the filters to assign the policy to one or more workloads or workload groups.

    Cortex Cloud automatically applies the platform filter you selected and, if it exists, the Group Name according to the groups within your defined user scope.

  7. Click Done.

  8. In the Policy Rules table, change the rule position, if needed, to order the policy relative to other policies.

    The Cortex XDR agent evaluates policies from top to bottom. When the Cortex XDR agent finds the first match, it applies that policy as the active policy. To move the rule, select the arrows and drag the policy to the desired location in the policy hierarchy.

    Right-click to display and use one of the following options View Policy Details, Edit, Save as New, Disable, and Delete.

  9. If you want to export policies, select one or more policies, right-click, and select Export Policies. You can include the associated Policy Targets, Global Exceptions, and workload groups.

    Note

    The exported file is encoded in Base64 and cannot be edited.