Skip to content

Commit 459d841

Browse files
authored
OCI Security Health Check version 250722
2 parents 3d1422b + 2568f18 commit 459d841

14 files changed

+730
-588
lines changed

security/security-design/shared-assets/oci-security-health-check-standard/README.md

Lines changed: 34 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Owner: Olaf Heimburger
44

5-
Version: 250602 (cis_report.py version 3.0.0.4) for CIS OCI Foundation Benchmark 3.0.0
5+
Version: 250722 (cis_report.py version 3.0.1) for CIS OCI Foundation Benchmark 3.0.0
66

77
# Introduction
88
![Flyer](./files/resources/OCI_Security_Health_Check_Standard.png)
@@ -25,26 +25,27 @@ The main goals of this script are:
2525

2626
- Make the run as easy and smooth as possible.
2727
- Do not affect your desktop whenever possible.
28+
- The required policy statements have been updated. **Please review and update your configuration.**
2829

2930
## Benefits of this package
3031

31-
This package includes *two* files
32-
- standard.sh
33-
- scripts/cis_reports/cis_reports.py
34-
35-
The file standard.sh acts as the entry point and does the following:
32+
The file `standard.sh` acts as the main entry point and does the following:
3633

3734
- Automatic check for Python runtime version
3835
- Automatic venv creation and activation
3936
- Automatic installation of required Python libraries
4037
- Automatic **OCI Cloud Shell** and tenancy name detection
4138
- Automatic creation of timestamped output directory
42-
- Call of cis_reports.py
39+
- Call of `cis_reports.py`
4340
- Automatic output archive (ZIP file) creation
4441
- Automatic runtime protocol
45-
- Support for encrypted archive (ZIP file). New command line option `--zip-protect`.
42+
- Support for encrypted archive (ZIP file)
43+
44+
This package includes *two* files
45+
- standard.sh
46+
- scripts/cis_reports/cis_reports.py
4647

47-
Tested on **OCI Cloud Shell** with **Public network**, **Oracle Linux**, **MacOS 12** and higher.
48+
It was tested on **OCI Cloud Shell** with **Public network**, **Oracle Linux**, **MacOS 12** and higher.
4849

4950
## Complete Runtime Example
5051

@@ -56,22 +57,22 @@ See the *OCI Security Health Check - Standard Edition* in action and watch the [
5657

5758
Before running the *OCI Security Health Check - Standard Edition* you should download and verify it.
5859

59-
- Download the latest distribution [oci-security-health-check-standard-250602.zip](https://github.com/oracle-devrel/technology-engineering/raw/main/security/security-design/shared-assets/oci-security-health-check-standard/files/resources/oci-security-health-check-standard-250602.zip).
60+
- Download the latest distribution [oci-security-health-check-standard-250722.zip](https://github.com/oracle-devrel/technology-engineering/raw/main/security/security-design/shared-assets/oci-security-health-check-standard/files/resources/oci-security-health-check-standard-250722.zip).
6061
- Download the respective checksum file:
61-
- [oci-security-health-check-standard-250602.sha512](https://github.com/oracle-devrel/technology-engineering/raw/main/security/security-design/shared-assets/oci-security-health-check-standard/files/resources/oci-security-health-check-standard-250602.sha512).
62-
- [oci-security-health-check-standard-250602.sha512256](https://github.com/oracle-devrel/technology-engineering/raw/main/security/security-design/shared-assets/oci-security-health-check-standard/files/resources/oci-security-health-check-standard-250602.sha512256).
62+
- [oci-security-health-check-standard-250722.sha512](https://github.com/oracle-devrel/technology-engineering/raw/main/security/security-design/shared-assets/oci-security-health-check-standard/files/resources/oci-security-health-check-standard-250722.sha512).
63+
- [oci-security-health-check-standard-250722.sha512256](https://github.com/oracle-devrel/technology-engineering/raw/main/security/security-design/shared-assets/oci-security-health-check-standard/files/resources/oci-security-health-check-standard-250722.sha512256).
6364
- Verify the integrity of the distribution. Both files must be in the same directory (for example, in your downloads directory).
6465

6566
On MacOS:
6667
```
6768
cd <your_downloads_directory>
68-
shasum -a 512256 -c oci-security-health-check-standard-250602.sha512256
69+
shasum -a 512256 -c oci-security-health-check-standard-250722.sha512256
6970
```
7071
7172
On Linux (including Cloud Shell):
7273
```
7374
cd <your_downloads_directory>
74-
sha512sum -c oci-security-health-check-standard-250602.sha512
75+
sha512sum -c oci-security-health-check-standard-250722.sha512
7576
```
7677
7778
**Reject the downloaded file if the check fails!**
@@ -84,10 +85,10 @@ In OCI Cloud Shell you can do a short cut without downloading the files mentione
8485
2. Open Cloud Shell
8586
3. Run these commands in your Cloud Shell:
8687
```
87-
wget -q https://github.com/oracle-devrel/technology-engineering/raw/main/security/security-design/shared-assets/oci-security-health-check-standard/files/resources/oci-security-health-check-standard-250602.zip
88-
wget -q https://github.com/oracle-devrel/technology-engineering/raw/main/security/security-design/shared-assets/oci-security-health-check-standard/files/resources/oci-security-health-check-standard-250602.sha512
89-
sha512sum -c oci-security-health-check-standard-250602.sha512
90-
unzip -q oci-security-health-check-standard-250602.zip
88+
wget -q https://github.com/oracle-devrel/technology-engineering/raw/main/security/security-design/shared-assets/oci-security-health-check-standard/files/resources/oci-security-health-check-standard-250722.zip
89+
wget -q https://github.com/oracle-devrel/technology-engineering/raw/main/security/security-design/shared-assets/oci-security-health-check-standard/files/resources/oci-security-health-check-standard-250722.sha512
90+
sha512sum -c oci-security-health-check-standard-250722.sha512
91+
unzip -q oci-security-health-check-standard-250722.zip
9192
```
9293
9394
## Prepare the OCI Tenancy
@@ -118,20 +119,28 @@ To create a group for auditing do the following steps:
118119
allow group 'Default'/'grp-auditors' to inspect all-resources in tenancy
119120
allow group 'Default'/'grp-auditors' to read audit-events in tenancy
120121
allow group 'Default'/'grp-auditors' to read buckets in tenancy
121-
allow group 'Default'/'grp-auditors' to read dns in tenancy
122+
allow group 'Default'/'grp-auditors' to read capture-filters in tenancy
123+
allow group 'Default'/'grp-auditors' to read data-safe-family in tenancy
122124
allow group 'Default'/'grp-auditors' to read domains in tenancy
123125
allow group 'Default'/'grp-auditors' to read file-family in tenancy
124126
allow group 'Default'/'grp-auditors' to read instance-configurations in tenancy
125127
allow group 'Default'/'grp-auditors' to read instances in tenancy
128+
allow group 'Default'/'grp-auditors' to read keys in tenancy
126129
allow group 'Default'/'grp-auditors' to read load-balancers in tenancy
130+
allow group 'Default'/'grp-auditors' to read logging-family in tenancy
127131
allow group 'Default'/'grp-auditors' to read nat-gateways in tenancy
128132
allow group 'Default'/'grp-auditors' to read network-security-groups in tenancy
129133
allow group 'Default'/'grp-auditors' to read public-ips in tenancy
130134
allow group 'Default'/'grp-auditors' to read resource-availability in tenancy
135+
allow group 'Default'/'grp-auditors' to read tag-namespaces in tenancy
136+
allow group 'Default'/'grp-auditors' to read usage-budgets in tenancy
137+
allow group 'Default'/'grp-auditors' to read usage-reports in tenancy
131138
allow group 'Default'/'grp-auditors' to read users in tenancy
139+
allow group 'Default'/'grp-auditors' to read vaults in tenancy
132140
allow group 'Default'/'grp-auditors' to read vss-family in tenancy
133141
allow group 'Default'/'grp-auditors' to use cloud-shell in tenancy
134142
allow group 'Default'/'grp-auditors' to use cloud-shell-public-network in tenancy
143+
allow group 'Default'/'grp-auditors' to use ons-family in tenancy where any {request.operation!=/Create*/, request.operation!=/Update*/, request.operation!=/Delete*/, request.operation!=/Change*/}
135144
```
136145
- Assign a user to the `grp-auditors` group.
137146
- Log out of the OCI Console.
@@ -170,9 +179,13 @@ The script `standard.sh` supports additional commandline options:
170179
171180
# Credits
172181
173-
The *OCI Security Health Check - Standard Edition* streamlines the usage of the bundled [Compliance Checking Script](https://github.com/oracle-quickstart/oci-cis-landingzone-quickstart/blob/main/compliance-script.md) provided by the [CIS OCI Landing Zone Quick Start Template](https://github.com/oracle-quickstart/oci-cis-landingzone-quickstart).
182+
The *OCI Security Health Check - Standard Edition* streamlines the usage of the [CIS Compliance Script](https://github.com/oci-landing-zones/oci-cis-landingzone-quickstart/blob/main/README.md).
183+
184+
The *OCI Security Health Check - Standard Edition* would not be possible without the great work of the [CIS OCI Landing Zone Quick Start Template Team](https://github.com/oci-landing-zones/oci-cis-landingzone-quickstart/graphs/contributors).
185+
186+
# Certification
174187
175-
The *OCI Security Health Check - Standard Edition* would not be possible without the great work of the [CIS OCI Landing Zone Quick Start Template Team](https://github.com/oracle-quickstart/oci-cis-landingzone-quickstart/graphs/contributors).
188+
The CIS Compliance Script has been certified by the [CIS Center of Internet Security for the OCI Oracle Cloud Foundation Benchmark v3.0.0, Level 1 and 2](https://www.cisecurity.org/partner/oracle).
176189
177190
# License
178191

0 commit comments

Comments
 (0)