Skip to content

Commit a9bd208

Browse files
authored
Pull request for become a Data Security Superhero in Just 90 Minutes with Oracle Data Safe (#372)
* removal of images using caps removal of images using caps * Updates for Cloud World 2025 * cloud world additions * typos * Text updates based on Bettina's feedback * Updates after run-through test * Updates for AI World * videos added I've added videos to each lab and made 2 updates according to Bettinas feedback. * added violation log and updated steps added violation log and updated steps
1 parent 4c40a8c commit a9bd208

File tree

4 files changed

+55
-47
lines changed

4 files changed

+55
-47
lines changed
169 KB
Loading
-14.5 KB
Loading

data-safe/sqlfw/sqlfw-ocw.md

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ This lab assumes you have:
6969

7070
7. Click the name of your database.
7171

72-
8. On the **Autonomous Database details** page, from the **Database actions** menu, select **Database Users**.
72+
8. On the **Autonomous Database** page, from the **Database actions** menu, select **Database Users**.
7373

7474
9. On the **APP_USER** tile, click the three dots, and select **Edit**.
7575

@@ -83,48 +83,46 @@ This lab assumes you have:
8383

8484
12. Click **Apply Changes**.
8585

86-
13. If REST does not get enabled, click the three dots again, and select **Enable REST**. In the **REST Enable User** dialog box, click **REST Enable User**.
87-
88-
14. To the right of the URL in the `APP_USER` tile, click the **Open in new tab** icon.
86+
13. To the right of the URL in the `APP_USER` tile, click the **Open in new tab** icon.
8987

9088
The sign-in page for Database Actions is opened in a new tab.
9189

92-
15. Sign in as `APP_USER` and enter the password.
90+
14. Sign in as `APP_USER` and enter the password.
9391

94-
16. Click the **SQL** tab.
92+
15. Click the **SQL** tab.
9593

96-
17. Close any tip dialog boxes.
94+
16. Close any tip dialog boxes.
9795

98-
18. On the worksheet, enter the following, and then click the **Run Statement** button:
96+
17. On the worksheet, enter the following, and then click the **Run Statement** button:
9997

10098
```text
10199
<copy>SELECT FIRST_NAME, LAST_NAME, EMPLOYEE_ID FROM HCM1.EMPLOYEES;
102100
</copy>
103101
```
104102
105-
19. On the worksheet, enter the following, and then click the **Run Statement** button:
103+
18. On the worksheet, enter the following, and then click the **Run Statement** button:
106104
107105
```text
108106
<copy>SELECT LOCATION_ID, STREET_ADDRESS, CITY FROM HCM1.LOCATIONS ORDER BY LOCATION_ID;
109107
</copy>
110108
```
111109
112-
20. On the worksheet, enter the following, and then click the **Run Statement** button:
110+
19. On the worksheet, enter the following, and then click the **Run Statement** button:
113111
114112
```text
115113
<copy>SELECT LOCATION_ID, CITY FROM HCM1.LOCATIONS WHERE LOCATION_ID='1000';
116114
</copy>
117115
```
118116
119-
21. Return to the **Autonomous Database | Oracle Cloud Infrastructure** tab.
117+
20. Return to the **Autonomous Database | Oracle Cloud Infrastructure** tab.
120118
121-
22. From the navigation menu, select **Oracle Database**, and then **SQL Firewall** under **Data Safe - Database Security**.
119+
21. From the navigation menu, select **Oracle Database**, and then **SQL Firewall** under **Data Safe - Database Security**.
122120
123-
23. Click the name of your target database.
121+
22. Click the name of your target database.
124122
125-
24. Click the SQL collection for `APP_USER`.
123+
23. Click the SQL collection for `APP_USER`.
126124
127-
25. To stop the SQL workload capture of allowed SQL statements, click **Stop**, and wait for the status to change to **COMPLETED**.
125+
24. To stop the SQL workload capture of allowed SQL statements, click **Stop**, and wait for the status to change to **COMPLETED**.
128126
129127
The SQL collection is created for `APP_USER`.
130128
@@ -211,25 +209,31 @@ When you run the SQL statements in this task, use the **Run Statement** button i
211209
212210
1. Return to the **SQL Firewall | Oracle Cloud Infrastructure** tab. You may need to wait a couple of minutes for the violations to show up.
213211
214-
2. Under **Unique allowed SQL statements**, click **Add from violations**.
212+
2. On the **SQL Firewall policy information** tab, click the **View report** link next to **Violation reports**. Review the two violations.
213+
214+
![Violations Log](images/violations-log.png "Violations Log")
215+
216+
3. In the breadcrumb at the top of the page, click **Firewall policy details**.
217+
218+
4. Under **Unique allowed SQL statements**, click **Add from violations**.
215219
216220
The **Add from violations** page is displayed showing you Autonomous Database SQL queries.
217221
218-
![Add from violations page](images/violations.png "Add from violations page")
222+
5. Expand the violations and review.
219223
220-
3. Expand the violations and review.
224+
6. Select the check box for the SQL violation: `SELECT * FROM HCM1.EMPLOYEES`. You need to click **Show** to identify it.
221225
222-
4. Select the check box for the SQL violation: `SELECT * FROM HCM1.EMPLOYEES`. You need to click **Show** to identify it.
226+
![Add from violations page](images/violations.png "Add from violations page")
223227
224-
5. Click **Add violations**.
228+
7. Click **Add violations**.
225229
226230
You are returned to the **Firewall policy details** page.
227231
228-
6. Under **Unique allowed SQL statements**, notice that your selected SQL statement is now listed at the top.
232+
8. Under **Unique allowed SQL statements**, notice that your selected SQL statement is now listed at the top.
229233
230234
![Add from violations page](images/new-allowed-sql-statement.png "Add from violations page")
231235
232-
7. Return to **Database Actions** as `APP_USER` and run the newly-allowed SQL statement to test that it will run successfully.
236+
9. Return to **Database Actions** as `APP_USER` and run the newly-allowed SQL statement to test that it will run successfully.
233237
234238
```text
235239
<copy>SELECT * FROM HCM1.EMPLOYEES;
@@ -242,6 +246,6 @@ Congratulations! You finished the Get Started with Oracle Data Safe Fundamentals
242246
## Acknowledgements
243247
244248
- **Author** - Jody Glover, Consulting User Assistance Developer, Database Development
245-
- **Last Updated By/Date** - Jody Glover, September 10, 2025
249+
- **Last Updated By/Date** - Jody Glover, September 26, 2025
246250
247251

data-safe/sqlfw/sqlfw.md

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Perform this task only if you are working in your own tenancy. If you are using
6666
6767
4. On the **Target summary** tab, click the name of your target database. The SQL Firewall status should currently show as **Disabled**.
6868
69-
5. Click **Refresh**.
69+
5. On the SQL Firewall page, click the **Refresh** button.
7070
7171
6. Click **Enable** and wait until the status changes to **ACTIVE**.
7272
@@ -95,7 +95,7 @@ Perform this task only if you are working in your own tenancy. If you are using
9595
9696
7. Click the name of your database.
9797
98-
8. On the **Autonomous Database details** page, from the **Database actions** menu, select **Database Users**.
98+
8. On the **Autonomous Database** page, from the **Database actions** menu, select **Database Users**.
9999
100100
9. On the **APP_USER** tile, click the three dots, and select **Edit**.
101101
@@ -109,48 +109,46 @@ Perform this task only if you are working in your own tenancy. If you are using
109109
110110
12. Click **Apply Changes**.
111111
112-
13. Click the three dots again, and select **Enable REST**. In the **REST Enable User** dialog box, click **REST Enable User**.
113-
114-
14. To the right of the URL in the `APP_USER` tile, click the **Open in new tab** icon.
112+
13. To the right of the URL in the `APP_USER` tile, click the **Open in new tab** icon.
115113
116114
The sign-in page for Database Actions is opened in a new tab.
117115
118-
15. Sign in as `APP_USER` and enter the password.
116+
14. Sign in as `APP_USER` and enter the password.
119117
120-
16. Click the **SQL** tab.
118+
15. Click the **SQL** tab.
121119
122-
17. Close any tip dialog boxes.
120+
16. Close any tip dialog boxes.
123121
124-
18. On the worksheet, enter the following, and then click the **Run Statement** button:
122+
17. On the worksheet, enter the following, and then click the **Run Statement** button:
125123
126124
```text
127125
<copy>SELECT FIRST_NAME, LAST_NAME, EMPLOYEE_ID FROM HCM1.EMPLOYEES;
128126
</copy>
129127
```
130128
131-
19. On the worksheet, enter the following, and then click the **Run Statement** button:
129+
18. On the worksheet, enter the following, and then click the **Run Statement** button:
132130
133131
```text
134132
<copy>SELECT LOCATION_ID, STREET_ADDRESS, CITY FROM HCM1.LOCATIONS ORDER BY LOCATION_ID;
135133
</copy>
136134
```
137135
138-
20. On the worksheet, enter the following, and then click the **Run Statement** button:
136+
19. On the worksheet, enter the following, and then click the **Run Statement** button:
139137
140138
```text
141139
<copy>SELECT LOCATION_ID, CITY FROM HCM1.LOCATIONS WHERE LOCATION_ID='1000';
142140
</copy>
143141
```
144142
145-
21. Return to the **Autonomous Database | Oracle Cloud Infrastructure** tab.
143+
20. Return to the **Autonomous Database | Oracle Cloud Infrastructure** tab.
146144
147-
22. From the navigation menu, select **Oracle Database**, and then **SQL Firewall** under **Data Safe - Database Security**.
145+
21. From the navigation menu, select **Oracle Database**, and then **SQL Firewall** under **Data Safe - Database Security**.
148146
149-
23. Click the name of your target database.
147+
22. Click the name of your target database.
150148
151-
24. Click the SQL collection for `APP_USER`.
149+
23. Click the SQL collection for `APP_USER`.
152150
153-
25. To stop the SQL workload capture of allowed SQL statements, click **Stop**, and wait for the status to change to **COMPLETED**.
151+
24. To stop the SQL workload capture of allowed SQL statements, click **Stop**, and wait for the status to change to **COMPLETED**.
154152
155153
The SQL collection is created for `APP_USER`.
156154
@@ -237,25 +235,31 @@ When you run the SQL statements in this task, use the **Run Statement** button i
237235
238236
1. Return to the **SQL Firewall | Oracle Cloud Infrastructure** tab. You may need to wait a couple of minutes for the violations to show up.
239237
240-
2. Under **Unique allowed SQL statements**, click **Add from violations**.
238+
2. On the **SQL Firewall policy information** tab, click the **View report** link next to **Violation reports**. Review the two violations.
239+
240+
![Violations Log](images/violations-log.png "Violations Log")
241+
242+
3. In the breadcrumb at the top of the page, click **Firewall policy details**.
243+
244+
4. Under **Unique allowed SQL statements**, click **Add from violations**.
241245
242246
The **Add from violations** page is displayed showing you Autonomous Database SQL queries.
243247
244-
![Add from violations page](images/violations.png "Add from violations page")
248+
5. Expand the violations and review.
245249
246-
3. Expand the violations and review.
250+
6. Select the check box for the SQL violation: `SELECT * FROM HCM1.EMPLOYEES`. You need to click **Show** to identify it.
247251
248-
4. Select the check box for the SQL violation: `SELECT * FROM HCM1.EMPLOYEES`. You need to click **Show** to identify it.
252+
![Add from violations page](images/violations.png "Add from violations page")
249253
250-
5. Click **Add violations**.
254+
7. Click **Add violations**.
251255
252256
You are returned to the **Firewall policy details** page.
253257
254-
6. Under **Unique allowed SQL statements**, notice that your selected SQL statement is now listed at the top.
258+
8. Under **Unique allowed SQL statements**, notice that your selected SQL statement is now listed at the top.
255259
256260
![Add from violations page](images/new-allowed-sql-statement.png "Add from violations page")
257261
258-
7. Return to **Database Actions** as `APP_USER` and run the newly-allowed SQL statement to test that it will run successfully.
262+
9. Return to **Database Actions** as `APP_USER` and run the newly-allowed SQL statement to test that it will run successfully.
259263
260264
```text
261265
<copy>SELECT * FROM HCM1.EMPLOYEES;
@@ -268,6 +272,6 @@ Congratulations! You finished the Get Started with Oracle Data Safe Fundamentals
268272
## Acknowledgements
269273
270274
- **Author** - Jody Glover, Consulting User Assistance Developer, Database Development
271-
- **Last Updated By/Date** - Jody Glover, August 28, 2025
275+
- **Last Updated By/Date** - Jody Glover, September 26, 2025
272276
273277

0 commit comments

Comments
 (0)