Service Composer can be effectively used to back up your security configurations and restore them at a later time.
Procedure
- Install, register, and deploy the Rapid 7 Vulnerability Management solution.
- Create a security group for the first tier of the Share Point application - web servers.
- Log in to the vSphere Web Client.
- Click Networking & Security and then click Service Composer.
- Click the Security Groups tab and click the Add Security Group icon.
- In Name, type SG_Web.
- In Description, type Security group for application tier.
- Do not do anything on the Define membership Criteria page and click Next.
- On the Select objects to include page, select the web server virtual machines.
- Do not do anything on the Select objects to exclude page and click Next.
- Review your selections on the Ready to Complete page and click Finish.
- Now create a security group for your database and share point servers and name them SG_Database, and SG_Server_SharePoint respectively. Include the appropriate objects in each group.
- Create a top level security group for your application tiers and name it SG_App_Group. Add SG_Web, SG_Database, and SG_Server_SharePoint to this group.
- Create a security policy for your web servers.
- Click the Security Policies tab and click the Add Security Policy icon.
- In Name, type SP_App.
- In Description, type SP for application web servers.
- Change the weight to 50000. The policy precedence is set very high so as to ensure that it is enforced above most other policies (with the exception of quarantine).
- Click Next.
- On the Endpoint Services page, click and fill in the following values.
Option Value Action Do not modify the default value Service Type Vulnerability Management Service Name Rapid 7 Service Configuration Silver State Do not modify the default value Enforce Do not modify the default value - Do not add any firewall or network introspection services and click Finish.
- Map SP_App to SG_App_Group.
- Navigate to the canvas view to confirm that the SP_App has been mapped to SG_App_Group.
- Click the Information Security tab.
- Click the number next to the icon to see that the SP_App is mapped.
- Export the SP_App policy.
- Click the Security Policies tab and then click the Export Blueprint () icon.
- In Name, type Template_ App_ and in Prefix, type FromAppArchitect.
- Click Next.
- Select the SP_App policy and click Next.
- Review your selections and click Finish.
- Select the directory on your computer where you want to download the exported file and click Save.
The security policy as well as all the security groups to which this policy has been applied (in our case, the Application security group as well as the three security groups nested within it) are exported. - In order to demonstrate how the exported policy works, delete the SP_App policy.
- Now we will restore the Template_ App_ DevTest policy that we exported in step 7.
- Click Actions and then click the Import Service Configuration icon.
- Select the FromAppArtchitect_Template_App file from your desktop (you saved it in step 7).
- Click Next.
- The Ready to complete page displays the security policies along with associated objects (security groups on which these have been applied, as well as Endpoint services, firewall rules, and network introspection services) to be imported.
- Click Finish.
The configuration and associated objects are imported to the vCenter inventory and are visible in the canvas view.