Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Utility Class allows to use common logic for compliance policies with different types of Input Objects in Cloudaware Compliance Engine.

Use case: A company has a tagging policy in place. This tagging policy is used for all object types. If we’d like to check the presence of three specific tags on objects, we would need to create three CE policies. Since these policies would have the same logic, create and use a utility class instead of coping the logic for three individual policies.

1. Log in to Cloudaware account → select Compliance Engine in the main menu under your username.

2. Under 'Setup' on the left select 'Utility Classes'. Click +Create New Class.

3. Give a class a meaningful name. Note that Class name should be valid Java identifier, e.g. in this example, CheckCloudAccountTags

Click Save.

4. Use the Class Editor to edit the class logic:

5. Review the logic → Save. Click ValidateDeployDeploy Results.

  • No labels