Accessing Rule Playground
Each user has access to their own Rule Playground environment. To access it, navigate to “Rules -> Playground” in the navigation menu.
Editor Interface
The Rule Playground interface consists of three main sections:- File Explorer: Located on the left side, this section allows users to navigate between different Rulesets and their associated rules.
- Code Editor: The central section where users can write and edit their rules. It supports syntax highlighting and linting for better code readability and error detection.
- Test Images and Results: On the right side, users can select test images or upload a new ones to test their rules and view the results of the rule execution.

Scanning Images
Scan can be initiated if the following conditions are met:- A rule is not empty and has no syntax errors.
- At least one test image is selected or uploaded.
- Components matched by the rule.
- Build environment details.
- Code listing showing where the match occurred.
- Hex dump of the matched data.
