You can view the overall compliance status and associated policy details of a deployment.
About this task
During deployment, the SCAN life cycle script in the policy definition assesses the compliance state of a deployment. The overall compliance status icon turns red or green, depending on the violation or compliance of policy definitions in the deployment. The status displayed on the compliance summary page is a snapshot of the application blueprint at the time the deployment was started. The number of compliant and violated policy definitions and critical and noncritical definitions appear in the overall compliance status. The associated deployment profile is located next to the overall status.
Above the overall compliance status, a policy scan timeline contains a time stamp that shows when the deployment scan was initiated and any subsequent deployment compliance scans. For example, a subsequent scan checks whether an updated policy definition in the catalog is compliant with the existing deployment.
Log in to Application Services as an application publisher and deployer.
Verify that a policy instance is applied to the deployment.
- On the Application Services title bar, click the drop-down menu and select Deployments.
- Enter the name of a deployment that has a policy definition in the search text box.
- From the search result list, select the deployment.
The deployment summary page opens.
- In the toolbar above the deployment summary, select
The overall compliance status appears. The detailed policies status is listed in a table.
- In the Policy column, click a policy name that violates compliance to view details in the compliance log.
Based on the information in the compliance log you can fix the violation in the policy definition and deploy the application.
For example, a memory limit policy shows two virtual machines out of 10 virtual machines in the application deployment are violating the policy. You can view the Details column of the policy and the Compliance Log section to identify the violation and apply a fix to the application.
What to do next
If the deployment is in progress, track the deployment status from the deployment summary page. See Using the Deployment Summary Page.