Warning: In correlation with the end of life (EOL) date for MSR 3.1.x, Mirantis stopped maintaining this documentation version as of 2025-09-27. The latest MSR product documentation is available here.
Rule engine¶
MSR uses a rule engine to evaluate policies, such as tag pruning and image enforcement.
The rule engine supports the following operators:
|
|
Note
The matches
operator conforms subject fields to a user-provided regular
expression (regex). The regex for matches
must follow the specification
in the official Go documentation: Package syntax.
Each of the following policies uses the rule engine: