Skip to content

Commit f938ab2

Browse files
committed
Format steps
1 parent 0ed8855 commit f938ab2

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

  • operations-advisory/multi-cloud-operating-models/operational-security/CISDashboard

operations-advisory/multi-cloud-operating-models/operational-security/CISDashboard/README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CIS Compliance Dashboard
22

3-
## Overview
3+
## 1. Overview
44

55
The [**Center of Internet Security (CIS)**](https://www.cisecurity.org) is a global IT community that safeguards public and private organizations against cyber threats. They create different benchmarks, consisting in different secure configuration guidelines recommended to protect your IT assets and data.
66

@@ -101,23 +101,27 @@ You can see an example of how the CIS Dashboard looks like below:
101101

102102
To create the CIS Compliance Dashboard in your own tenancy, follow the steps below.
103103

104-
## Pre-requisites
104+
## 2. Pre-requisites
105105

106106
OCI Log Analytics should be enabled in the desired region. Please refer to this [doc](https://docs.oracle.com/en-us/iaas/log-analytics/doc/enable-access-logging-analytics-and-its-resources.html) to get details on how to enable it.
107107

108-
## Step 1: Create Log Group in Log Analytics
108+
## 3. Setup
109+
110+
To Setup this solution, follow the steps below:
111+
112+
### Step 1: Create Log Group in Log Analytics
109113

110114
Create a [log group](https://docs.oracle.com/en-us/iaas/Content/Logging/Task/create-logging-log-group.htm) in Log Analytics in the desired compartment. This log group will be used to store the CIS compliance data. Restrict the access of this log group to only necessary users.
111115

112-
## Step 2: Import Logsources and Dashboard using Terraform
116+
### Step 2: Import Logsources and Dashboard using Terraform
113117

114118
Use the terraform code [here](./files/terraform/) to import logsources. Use the dashboard JSON to import via console. While importing select *"Specify a compartment for all dashboards"* and for *"Specify a compartment for all saved searches"* as well.
115119

116120
<p align="center">
117121
<img src="./files/images/import_dashboard.png" alt="Import dashboard" width="50%">
118122
</p>
119123

120-
## Step 3: Create IAM Policies for log upload and run CIS Script
124+
### Step 3: Create IAM Policies for log upload and run CIS Script
121125

122126
1. Create the necessary [IAM policies](https://docs.oracle.com/en-us/iaas/log-analytics/doc/upload-logs-demand.html) to allow log upload:
123127

@@ -140,7 +144,7 @@ Example on how to run CIS script in Cloud Shell with redact option:
140144
$ python3 cis_reports.py -dt --region eu-frankfurt-1 --report-directory CISRESULTS --redact-output
141145
```
142146

143-
## Step 4: Upload CSV to Log Analytics
147+
### Step 4: Upload CSV to Log Analytics
144148

145149
1. Once the CIS script has run successfully, use the [cisla_upload.py](./files/python/cisla_upload.py) python script to upload the CSV data to Log Analytics.
146150

@@ -192,10 +196,10 @@ $ python3 cis_reports.py -dt --region eu-frankfurt-1 --report-directory CISRESUL
192196
'cis_Storage_Object_Storage_5-1-3.csv'.
193197

194198

195-
## Step 5: Analyze Data using the CIS Compliance Dashboard
199+
### Step 5: Analyze Data using the CIS Compliance Dashboard
196200

197201
Use the imported CIS Compliance dashboard to analyze the CIS data uploaded to Log Analytics.
198202

199-
## Purging Logs
203+
## 4. Purging Logs
200204

201205
If you want to remove the logs sent to Log Analytics you can follow the steps documented [here](https://docs.oracle.com/en-us/iaas/log-analytics/doc/manage-storage.html).

0 commit comments

Comments
 (0)