This example shows how you can reorder rules to change the results when simulating a policy.
About this task
In this example, the "Demo" policy is being simulated. This policy, which is intended to find objects that have series=x-men user metadata, includes three rules, as follows:
- The first rule, PNGs, filters for key names that end in .png.
- The second rule, X-men, applies only to objects in a specific tenant account and filters for series=x-men user metadata.
- The last rule is the default rule, Make 2 Copies, which will match any objects that do not match the first two rules.
