Set Up Xray Security

  1. In your JFrog Platform instance, go to Administration > Xray > Watches & Policies.

Watches & Policies

  1. Click Create a Policy.

  2. Call the security policy, High-Severity.

Policy Name

  1. Click on New Rule.

  2. Name the rule High-Severity and select High for the Minimal Severity. Click Save.

Xray Rule

  1. Click Create to create this new security policy.

  2. Click on the Watches tab under Watches & Policies.

Setup Watch

  1. Click on Set up a Watch.

  2. Name the new watch Docker-Scanning.

  3. Click Add Repositories.

  4. Move the repositories workshop-docker-local and workshop-docker-prod-local to the Included Repositories.

Scanned Repositories

  1. Click Save.

  2. Click Manage Policies.

  3. Move the High-Severity policy to the Included Policy.

Selected Policy

  1. Click Save.

  2. Click Create to create the new watch. This watch will scan the workshop-docker-local and workshop-docker-prod-local Docker repositories for new images and check for high severity security vulnerabilities.

Created Watch

JFrog Xray scans your artifacts, builds and release bundles for OSS components, and detects security vulnerabilities and licenses in your software components. Policies and Watches allow you to enforce your organization governance standards. Setup up your Policies and Watches to reflect standard governance behaviour specifications for your organization across your software components.