This is a step-by-step guide to creating a Git Repository Watch in Xray. To learn more about Watches, click here.
- Navigate to Xray → Watches & Policies.
- Under the Watches tab, click New Watch.
- In the New Watch window, enter a unique name for the Watch (e.g., "Critical Security Watch").
- (Optional) Add a description to specify the Watch’s purpose.
- Select Add Git Repositories.
- Apply the Watch to:
- An SCM server
- Selected folders and repositories
- (Optional) Check the Automatically apply Watch to all selected folders and repositories, including newly created ones box.
- Click Apply.
Attach Policies to the Watch
A Watch must be linked to one or more policies that define security and compliance rules. For more information, see Create Policies.