Skip to content

Commit d471f77

Browse files
authored
Merge pull request #1310 from oracle-devrel/security_health_check_update_241011
Security health check update 241011
2 parents 0022323 + a8d8e38 commit d471f77

14 files changed

+215
-555
lines changed

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

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

33
Owner: Olaf Heimburger
44

5-
Version: 240822
5+
Version: 241011
66

77
Reviewed: 01.02.2024
88

@@ -29,26 +29,40 @@ See the *OCI Security Health Check - Standard Edition* in action and watch the [
2929

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

32-
- Download the latest distribution [oci-security-health-check-standard-240822.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-240822.zip).
32+
- Download the latest distribution [oci-security-health-check-standard-241011.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-241011.zip).
3333
- Download the respective checksum file:
34-
- [oci-security-health-check-standard-240822.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-240822.sha512).
35-
- [oci-security-health-check-standard-240822.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-240822.sha512256).
34+
- [oci-security-health-check-standard-241011.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-241011.sha512).
35+
- [oci-security-health-check-standard-241011.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-241011.sha512256).
3636
- Verify the integrity of the distribution. Both files must be in the same directory (for example, in your downloads directory).
3737

3838
On MacOS:
3939
```
4040
cd <your_downloads_directory>
41-
shasum -a 512256 -c oci-security-health-check-standard-240822.sha512256
41+
shasum -a 512256 -c oci-security-health-check-standard-241011.sha512256
4242
```
4343
4444
On Linux (including Cloud Shell):
4545
```
4646
cd <your_downloads_directory>
47-
sha512sum -c oci-security-health-check-standard-240822.sha512
47+
sha512sum -c oci-security-health-check-standard-241011.sha512
4848
```
4949
5050
**Reject the downloaded file if the check fails!**
5151
52+
### In OCI Cloud Shell
53+
54+
In OCI Cloud Shell you can do a short cut without downloading the files mentioned above to your desktop:
55+
56+
1. Login to your OCI console.
57+
2. Open Cloud Shell
58+
3. Run these commands in your Cloud Shell:
59+
```
60+
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-241011.zip
61+
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-241011.sha512
62+
sha512sum -c oci-security-health-check-standard-241011.sha512
63+
unzip -q oci-security-health-check-standard-241011.zip
64+
```
65+
5266
## Prepare the OCI Tenancy
5367
5468
### Single Run
@@ -100,7 +114,16 @@ For a detailed description go to [Run the OCI Security Health Check in OCI Cloud
100114
101115
After a completed run you will find a directory with a name starting with your tenancy name followed by a timestamp in your working directory (like `tenancy_name_YYYYMMDDHHmmss_standard`). A zip archive for easier download using the same name will be created, too. Both hold data files for your review.
102116
103-
To start with reviewing the results, open the file named [cis_html_summary_report.html](files/resources/cis_html_summary_report.html)(sample report).
117+
To start with reviewing the results, open the file named `tenancy_name_YYYYMMDDHHmmss_standard_cis_html_summary_report.html`.
118+
119+
It may look like this example:
120+
![Flyer](./files/resources/Example_Output.png)
121+
122+
# Known Issues
123+
124+
1. Diagrams are not part of the HTML page.
125+
This may be because of broken `numpy installation`. The following command should resolve this:
126+
`pip3 install --upgrade --force-reinstall --user numpy`
104127
105128
# Credits
106129

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

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

33
Owner: Olaf Heimburger
44

5-
Version: 240822 (cis_report.py version 2.8.4)
5+
Version: 241011 (cis_report.py version 2.8.4+)
66

77
## When to use this asset?
88

@@ -21,22 +21,22 @@ by Oracle Support.
2121

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

24-
- Download the latest distribution [oci-security-health-check-standard-240822.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-240822.zip).
24+
- Download the latest distribution [oci-security-health-check-standard-241011.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-241011.zip).
2525
- Download the respective checksum file:
26-
- [oci-security-health-check-standard-240822.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-240822.sha512).
27-
- [oci-security-health-check-standard-240822.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-240822.sha512256).
26+
- [oci-security-health-check-standard-241011.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-241011.sha512).
27+
- [oci-security-health-check-standard-241011.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-241011.sha512256).
2828
- Verify the integrity of the distribution. Both files must be in the same directory (for example, in your downloads directory).
2929

3030
On MacOS:
3131
```
3232
cd <your_downloads_directory>
33-
shasum -a 512256 -c oci-security-health-check-standard-240822.sha512256
33+
shasum -a 512256 -c oci-security-health-check-standard-241011.sha512256
3434
```
3535
3636
On Linux (including Cloud Shell):
3737
```
3838
cd <your_downloads_directory>
39-
sha512sum -c oci-security-health-check-standard-240822.sha512
39+
sha512sum -c oci-security-health-check-standard-241011.sha512
4040
```
4141
4242
**Reject the downloaded file when the check fails!**
@@ -117,7 +117,7 @@ The recommended way is to run the *OCI Security Health Check - Standard* in the
117117
- Upload the distribution file.
118118
- Extract it
119119
```
120-
unzip -q oci-security-health-check-standard-240822.zip
120+
unzip -q oci-security-health-check-standard-241011.zip
121121
```
122122
123123
### Run the script
@@ -190,11 +190,11 @@ The recommended way is to run the *OCI Security Health Check - Standard* in the
190190
Follow the instructions to select /usr/bin/python3.9
191191
- Log out
192192
193-
- From your desktop, upload the `oci-security-health-check-standard-240822.zip` file to the Compute VM using any SFTP client.
193+
- From your desktop, upload the `oci-security-health-check-standard-241011.zip` file to the Compute VM using any SFTP client.
194194
- Log into the Compute VM
195195
- Extract the distribution
196196
```
197-
unzip -q oci-security-health-check-standard-240822.zip
197+
unzip -q oci-security-health-check-standard-241011.zip
198198
```
199199
- Change directory into `oci-security-health-check-standard`:
200200
```

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
OCI Security Health Check - Standard Edition
33
============================================
44
Owner: Olaf Heimburger
5-
Version: 240822 (cis_report.py version 2.8.4)
5+
Version: 241011 (cis_report.py version 2.8.4)
66

77
When to use this asset?
88

@@ -81,7 +81,7 @@ Usage
8181
- From the menu select the Cloud Shell item.
8282
- When running it the first time:
8383
- Upload the provided ZIP file.
84-
- Extract it with unzip -q oci-security-health-check-standard-240822.zip
84+
- Extract it with unzip -q oci-security-health-check-standard-241011.zip
8585
- Change directory into oci-security-health-check-standard
8686
$ cd oci-security-health-check-standard
8787
$ screen
@@ -138,11 +138,11 @@ Usage
138138
- Log out
139139

140140
- From your desktop, upload the
141-
"oci-security-health-check-standard-240822.zip" file to the Compute VM
141+
"oci-security-health-check-standard-241011.zip" file to the Compute VM
142142
using any SFTP client.
143143
- Log into the Compute VM
144144
- Extract the distribution
145-
unzip -q oci-security-health-check-standard-240822.zip
145+
unzip -q oci-security-health-check-standard-241011.zip
146146

147147
- Change directory into "oci-security-health-check-standard":
148148
cd oci-security-health-check-standard
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
xlsxwriter>=3.0.3
2-
pandas>=1.5.2
3-
openpyxl>=3.0.10
1+
xlsxwriter>=3.2.0
2+
pytz
3+
pandas
4+
openpyxl>=3.1.5
45
pyyaml>=6.0
5-
oci>=2.119.0
6+
oci>=2.129.4
67
requests
8+
matplotlib
9+
numpy

0 commit comments

Comments
 (0)