{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":29345,"path":"it-operations-management/cloud-services-catalog/out-of-box-actions.md","title":"Out Of Box Actions","bundle":null,"doc_type":null,"release":"australia","body":"\n# Out Of Box Actions\n\nThe Out of the Box Actions comprise OOB deployment, tagging, retrieving and post-provisioning operations. All these actions are based on Flow Designer and implemented as Integration Hub Sub-flows.\n\n<table id=\"simpletable_a4m_l5y_nxb\"><thead><tr><th>\n\nActions\n\n</th><th>\n\nFlow Designer Sub-flow Name\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nDeploy ACC-\\* in post provisioning\n\n</td><td>\n\nCSC Content- Post Provisioning- Deploy ACC in Stack VMs\n\n</td><td>\n\nACC \\(agent client collector\\) is deployed through a Flow Designer action. This is called as post-provision step for the Linux basic VM deployment catalog item. Pre-requisites:\n\n 1.  ACC Listener must be configured in any MID Server. This will generate a mid web server endpoint and a MID Server API Key.\n2.  In the post provisioning operation parameters of the Basic Linux VM catalog, these two parameters – web server end point \\(typically in format wss://&lt;IP\\_Address&gt;:3389/ws/events\\) and MID Server API Keys, need to be set. Out of the box, these parameters have empty values.\n\n**Note:** If the generated WS endpoint URL returns the private IP of the MID Server, then that private IP needs to be replaced with public IP of the MID Server VM for the internet-based connectivity.\n\n3.  There should be connectivity over SSH port from the MID Server to the provisioned VM.\n\n If the agent fails to install on the provisioned VM, a task is created and the stack is set to a 'follow-up required' state. The stack automatically turns active after all follow-on tasks are closed.\n\n</td></tr><tr><td>\n\nCCG Scan in post provisioning\n\n</td><td>\n\nCSC Content- Create CCG Policy Scan on Stack Items\n\n</td><td>\n\nCCG Scan with the default OOB Policy Set in CCG is called with the simple windows and Linux deployment. When a CCG scan fails owing to violation, the stack is set to a follow-up needed state. The operator must ensure that the violation is remediated and close the violation task. Once all the follow-on tasks are closed, the stack automatically turns to active state and can be used by requester.\n\n</td></tr><tr><td>\n\nTagging Action\n\n</td><td>\n\nCSC Content- Post Provisioning- Update Key Values in CMDB\n\n</td><td>\n\nAll catalog items have a tagging action run as post-provision step. This action only updates the key-value entries in CMDB, not in cloud. The standard tags updated are StackName, Application, CostCenter and BusinessService. Fields with empty values will not be saved as key-value records.\n\n</td></tr><tr><td>\n\nRetrieve Windows Password\n\n</td><td>\n\nCSC Content- Post Provisioning- Retrieve Windows Password\n\n</td><td>\n\nAll windows catalogs have a retrieve password action, which emails the Administrator, the password of the provisioned windows VM to the requester. The password is obtained from AWS after the deployment is complete using a ssh key \\('pem'\\) file to decrypt the password. Follow these pre-requisite steps to set up this pem file on the Terraform Linux server:\n\n 1.  Ensure that the SSH Private Key credential to the VM with Terraform CLI installed, is associated with the credential alias named 'TFO Server Credential Alias'. This alias is already created with installation of CSC Content pack. This alias is used to SSH into the terraform server to get the windows password from output variable.\n2.  Ensure that in the Catalog’s Provision variable set, set the 'keypath' variable default value to the management key path on the terraform VM. This key decrypts the password.\n3.  Ensure that the requester has set up the email\n\n **Note:** For custom catalogs, this operation is available for use only, with Terraform Opensource- Linux based catalog items.\n\n</td></tr><tr><td>\n\nEmail URL For Microsoft Azure Scalable Web Server Application\n\n</td><td>\n\nCSC Content- Email URL For Microsoft Azure Scalable Web Server Application\n\n</td><td>\n\nThis action is added as a post provision operation in 'CSC Microsoft Azure Linux with Scalable Web Server' catalog item. It emails the deployed application's end point URL to the requester.\n\nThe URL is obtained from Microsoft Azure after the deployment is complete. Ensure the requester has set up the email.\n\n</td></tr><tr><td>\n\nRetrieve Microsoft Azure Function App Host name\n\n</td><td>\n\nCSC Content- Post Provisioning- Retrieve Microsoft Azure Function App Host name\n\n</td><td>\n\nThis action is added as a post provision operation in 'CSC Microsoft Azure Function App catalog item which retrieves the deployed function app's host name to the requester.\n\n</td></tr></tbody>\n</table>**Parent Topic:**[Out Of Box Catalogs using Cloud Services Catalog](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/cloud-services-catalog/out-of-the-box-catalog-items.md)\n\n"}}