Cloud Security Posture Management
Cloud Security Posture Management
Security Posture
Management
Practice: Explore Cloud Guard Components
Tasks
1. Sign in to the Oracle Cloud account.
Note: This practice may not work on the OU account. Please use a 30-days free trial Oracle
cloud account if needed.
2. Cloud Guard is enabled in your tenancy. You will make your compartment a target and look
into the features of Cloud Guard.
3. To navigate to Cloud Guard, use Menu > Identity & Security > Cloud Guard
5. If the Guided Tour is displayed, go through the same to explore the various features. You
can also click Stop tour if you are not interested in the tour.
6. Once you close the tour, the dashboard with various options under Cloud Guard on the left
side in the browser window is displayed.
8. The Oracle Managed recipes are listed within the root compartment. Ensure you have
chosen the root compartment in the scope for compartment.
9. Two detector recipes are listed, one is of type Configuration and the other of type Activity.
Click the link to Oracle Configuration Detector Recipe to look into the detector details.
11. To look into the details of a particular rule, click the expand icon as shown below. The
example is for a rule titled “VCN Security List allows traffic to restricted port.”
12. This rule is identified as a critical risk level. Look into the details of other rules listed.
14. In the breadcrumb on the top left, click Detector Recipes to go back to the Detector Recipes
page.
15. Click the OCI Activity detector recipe and explore the rules that are within it.
16. You also see that for the built-in, Oracle-Managed detector recipes, you have the ability to
clone the recipe. You can clone an existing recipe and customize it to your needs.
18. There is one responder recipe listed, which is an Oracle Managed Recipe.
19. Click the responder recipe and look into the responder rules part of this recipe. Click the
expand icon to look into the different rules that are present.
21. Use the breadcrumb and go to the Responder Recipe page, and from the Cloud Guard
panel on the left side, click Managed Lists.
23. Go back to the Managed Lists listing page, and you see an option to create your own
managed list. Click Create Managed List; you will get a pop-up window as shown below.
25. Click Cancel; you will not be creating a managed list in this practice.
27. You can see the reporting region listed. If you are in the Home region of your tenancy, you
will also see the option to Disable Cloud Guard (if it is already enabled). If you are in any
other region, this button will be disabled.
Tasks
1. Log in to the browser console and go to Security-> Cloud Guard.
2. Click Detector Recipes. Ensure you are in the root compartment so that you see the two
Oracle Managed detector recipes.
3. Click Clone to clone an Oracle Managed recipe and create your own detector recipe.
5. Click Clone to create your own detector recipe based on the Oracle Managed recipe.
7. Click the recipe name, and you will see the list of detector rules. For now, you will not make
any changes (if required, you can customize the rules).
8. Next, you will enable Cloud Guard in your compartment using this recipe.
12. Click Create to create target. Your target is created and listed.
14. You can see the recipes that you associated are listed in the detector and responder
recipes, and the target is the compartment you selected.
15. Wait for Cloud Guard to evaluate your current configuration with detectors and list its
observations. You will need to wait for 25–30 minutes; take a break and visit the screen
again and continue with the next steps.
18. Click on any problem identified; for example, the below screenshot is for the problem
“Instance has a Public IP.”
19. Scroll down the page to see the sections under Resources for problem history and
responder activity.
20. As per the problem details, you have the option to remediate (if there are any responder
suggestions) or mark it as resolved or dismiss the problem.
22. If you choose Mark as Resolved, then you can type a comment to have a log of why you
marked it as resolved.
24. Similarly, look into other problems reported, related to VCN and other resources.
This completes the task of enabling a target compartment in Cloud Guard and explore the
features.
Tasks
1. Log in to OCI with the credentials provided. Click Menu > Identity & Security > Security
Zones.
3. As of the time this content was created, there are no custom recipes. The tenant has to use
only the Oracle provided recipe.
6. Use the breadcrumb on the top and click Security Zones to go to the home page of security
zones.
7. When you create a security zone, you are creating a compartment that will comply by the
Security Zone recipe.
Name – <YourComp>_SZ
Description – Meaningful description
Create in Compartment – Choose the compartment assigned to you
9. Click Create Security Zone. OCI will create a compartment with the name within the
compartment you have chosen. This will take a while to reflect as IAM components created
will have to be refreshed.
10. Once you create the security zone, it is listed on the Security Zones page.
11. With security zones, the compartment that is protected by the security zone will deny all
these. You can test it with the following two examples.
14. Notice that there is a compartment created with the security zone name as a child to your
compartment.
15. Choose the child compartment created as part of the security zone and click Create Bucket.
18. You will get an error that you must assign a master encryption key from your own vault.
19. In the Bucket creation page, choose the option Encrypt using Customer-Managed keys
under Encryption.
22. Now the bucket will be created. Similarly, various other settings can be explored.
23. Another example is to create a VCN with the wizard with Internet connectivity.
24. Such a VCN gets various components including a public subnet and Internet Gateway,
which are disallowed in a security zone.
26. In the List Scope section on the left side, choose the compartment of the security zone.
32. Even if you retry, they will not be created. The security zone will not allow. Click Close to
explore the VCN created.
33. Click the link on the name of the VCN to see the components created as part of the wizard-
based VCN creation.
35. When you use security zones, you are proactively restricting what can be used within OCI;
thus, the compartment is having the best practices of Security Implemented.
36. If you are interested, you can also try out integrating Cloud Guard with OCI Events and
Notification services (which you learned in a previous lesson).