Skip to content

Commit 69f419a

Browse files
committed
Fixed csv file prefix in html output
1 parent 1d5cd6d commit 69f419a

File tree

11 files changed

+23
-23
lines changed

11 files changed

+23
-23
lines changed

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

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

33
Owner: Olaf Heimburger
44

5-
Version: 240730
5+
Version: 240822
66

77
Reviewed: 01.02.2024
88

@@ -29,22 +29,22 @@ 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-240730.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-240730.zip).
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).
3333
- Download the respective checksum file:
34-
- [oci-security-health-check-standard-240730.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-240730.sha512).
35-
- [oci-security-health-check-standard-240730.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-240730.sha512256).
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).
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-240730.sha512256
41+
shasum -a 512256 -c oci-security-health-check-standard-240822.sha512256
4242
```
4343
4444
On Linux (including Cloud Shell):
4545
```
4646
cd <your_downloads_directory>
47-
sha512sum -c oci-security-health-check-standard-240730.sha512
47+
sha512sum -c oci-security-health-check-standard-240822.sha512
4848
```
4949
5050
**Reject the downloaded file if the check fails!**

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: 240730 (cis_report.py version 2.8.4)
5+
Version: 240822 (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-240730.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-240730.zip).
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).
2525
- Download the respective checksum file:
26-
- [oci-security-health-check-standard-240730.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-240730.sha512).
27-
- [oci-security-health-check-standard-240730.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-240730.sha512256).
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).
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-240730.sha512256
33+
shasum -a 512256 -c oci-security-health-check-standard-240822.sha512256
3434
```
3535
3636
On Linux (including Cloud Shell):
3737
```
3838
cd <your_downloads_directory>
39-
sha512sum -c oci-security-health-check-standard-240730.sha512
39+
sha512sum -c oci-security-health-check-standard-240822.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-240730.zip
120+
unzip -q oci-security-health-check-standard-240822.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-240730.zip` file to the Compute VM using any SFTP client.
193+
- From your desktop, upload the `oci-security-health-check-standard-240822.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-240730.zip
197+
unzip -q oci-security-health-check-standard-240822.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: 240730 (cis_report.py version 2.8.4)
5+
Version: 240822 (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-240730.zip
84+
- Extract it with unzip -q oci-security-health-check-standard-240822.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-240730.zip" file to the Compute VM
141+
"oci-security-health-check-standard-240822.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-240730.zip
145+
unzip -q oci-security-health-check-standard-240822.zip
146146

147147
- Change directory into "oci-security-health-check-standard":
148148
cd oci-security-health-check-standard

security/security-design/shared-assets/oci-security-health-check-standard/files/oci-security-health-check-standard/scripts/cis_reports/cis_reports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5054,7 +5054,7 @@ def __report_generate_html_summary_report(self, header, file_subject, data):
50545054
if v == ' ':
50555055
html_file.write('<td> </td>')
50565056
else:
5057-
html_file.write(f'<td><a href="{v}">{v}</a></td>')
5057+
html_file.write(f'<td><a href="{self.__report_prefix}{v}">{v}</a></td>')
50585058
html_file.write('</tr></table></td>')
50595059
html_file.write("</tr>")
50605060

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
# Author: Olaf Heimburger
99
#
10-
VERSION=240730
10+
VERSION=240822
1111

1212
OS_TYPE=$(uname)
1313
ASSESS_DIR=$(dirname $0)

security/security-design/shared-assets/oci-security-health-check-standard/files/resources/oci-security-health-check-standard-240730.sha512

Lines changed: 0 additions & 1 deletion
This file was deleted.

security/security-design/shared-assets/oci-security-health-check-standard/files/resources/oci-security-health-check-standard-240730.sha512256

Lines changed: 0 additions & 1 deletion
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
b00b5da514306ef7be8b008148106622bdc260e6d90cd2b3b2309b3654a746c82121e2253dd32f459148fbccdaeeaf58d66a37f71c8ecfc204bfb58f59056d7d oci-security-health-check-standard-240822.zip
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
d66dbc24e629d37eaa4ed4dd9d54f13a70e4b17bae6a95120ee0e22f50cf304d oci-security-health-check-standard-240822.zip

0 commit comments

Comments
 (0)