Create an Xray Policy

JFrog Security Documentation

Products
JFrog Xray
Content Type
User Guide
ft:sourceType
Paligo

Creating an Xray Policy involves the following primary steps:

  1. In the Administration module, select Watches & Policies and from the Policies tab click New Policy.

  2. Provide a name for the Policy.

  3. Select the Policy Type; Security, License, or Operational Risk. For more information, see Trigger Violations Using Xray Policy Rules

    policyname.png
  4. Click Next.

    The Policy Rules List appears.

  5. Define the rules and actions depending on what you have selected. The various options are outlined in Trigger Violations Using Xray Policy Rules and Policy Violation Automatic Actions.

    Policyrulenew.png
    policyruletype.png

    A summary of the defined rules appears under the Policy Rules Listsection.

    Policyrulesummary.png
  6. Click Next.

    The Apply on Scope section appears

  7. Select the Watch or multiple Watches that contain the resources the Policy rules will apply to.

    policyscope.png
  8. Click Save Policy to complete the creation.