Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions data-safe/access-environment/access-environment-ocw-sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Introduction

In this lab, you access and review your LiveLabs Sandbox environment in Oracle Cloud Infrastructure. Your environment comes with a tenancy, a compartment, an Oracle Cloud account in the LiveLabs tenancy, and a pre-provisioned Autonomous Database. Sample data is loaded into your database and your database is registered with Oracle Data Safe.
In this lab, you access and review your LiveLabs Sandbox environment in Oracle Cloud Infrastructure. Your environment comes with a tenancy, a compartment, an Oracle Cloud account in the LiveLabs tenancy, and a pre-provisioned Autonomous AI Database. Sample data is loaded into your database and your database is registered with Oracle Data Safe.

Estimated Lab Time: 5 minutes

Expand All @@ -15,7 +15,7 @@ In this lab, you will:
- View your LiveLabs reservation information and sign in
- Access Oracle Data Safe and view your registered target database
- (Optional) Explore Security Center
- Access Oracle Database Actions
- Access ORACLE Database Actions


### Prerequisites
Expand All @@ -37,7 +37,7 @@ This lab assumes you have:
- A link that directs you to the sign-in page for Oracle Cloud Infrastructure (**Launch OCI** button)
- A username and password to sign in to the LiveLabs tenancy. When signing in for the first time, you are prompted to change your password.
- A compartment of your very own. We refer to this compartment as "your compartment" throughout the workshop. Make note of your compartment's name because you need to select it often throughout the workshop.
- An Autonomous Database in your compartment. You are provided the password for the `ADMIN` account on your database.
- An Autonomous AI Database in your compartment. You are provided the password for the `ADMIN` account on your database.

3. Make note of your username and click the **Copy Password** button for Oracle Cloud Infrastructure.

Expand All @@ -62,7 +62,7 @@ This lab assumes you have:

A database registered with Oracle Data Safe is referred to as a *target* database in Oracle Data Safe.

1. From the navigation menu, select **Oracle Database**, and then **Data Safe - Database Security**. The **Overview** page is displayed. If the **Welcome to Data Safe** tour dialog box is displayed, click **Stop tour**.
1. From the navigation menu, select **Oracle AI Database**, and then **Data Safe - Database Security**. The **Overview** page is displayed. If the **Welcome to Data Safe** tour dialog box is displayed, click **Stop tour**.

2. On the left, click **Target databases**.

Expand All @@ -86,7 +86,7 @@ A database registered with Oracle Data Safe is referred to as a *target* databas

- In Security center, you can access all the Oracle Data Safe features, including the dashboard, Security Assessment, User Assessment, Data Discovery, Data Masking, Activity Auditing, SQL Firewall, and Alerts.
- When you register a target database, Oracle Data Safe automatically creates a security assessment and user assessment for you. That's why the **Security assessment**, **User assessment**, **Feature usage**, and **Operations summary** charts in the dashboard already have data.
- During registration, Oracle Data Safe also discovers audit trails on your target database. That's why the **Audit trails** chart in the dashboard shows one audit trail for your Autonomous Database. Later you start this audit trail to collect audit data into Oracle Data Safe.
- During registration, Oracle Data Safe also discovers audit trails on your target database. That's why the **Audit trails** chart in the dashboard shows one audit trail for your Autonomous AI Database. Later you start this audit trail to collect audit data into Oracle Data Safe.

![Initial Dashboard - security controls](images/dashboard-security-controls.png "Initial Dashboard - security controls")

Expand All @@ -95,17 +95,17 @@ A database registered with Oracle Data Safe is referred to as a *target* databas
![Initial Dashboard - feature metrics bottom half](images/feature-metrics-bottom-half.png "Initial Dashboard - feature metrics bottom half")


## Task 4: Access Oracle Database Actions
## Task 4: Access ORACLE Database Actions

Database Actions provides a way for you to run SQL commands on your database. The step-by-step instructions for accessing Database Actions are covered here. Subsequent labs simply say to "access the SQL worksheet in Database Actions." You can always refer back to these steps for help if needed.

1. From the navigation menu (hamburger menu in the upper-left corner), select **Oracle Database**, and then **Autonomous Database**.
1. From the navigation menu (hamburger menu in the upper-left corner), select **Oracle AI Database**, and then **Autonomous AI Database**.

2. If needed, select your compartment.

3. In the table on the right, click the name of your database.

4. At the top of the **Autonomous Database details** page, from the **Database actions** menu, select **SQL**.
4. At the top of the **Autonomous AI Database** page, from the **Database actions** menu, select **SQL**.

5. If required, sign in as the `ADMIN` user.

Expand All @@ -117,11 +117,11 @@ Database Actions provides a way for you to run SQL commands on your database. Th
- On the **Worksheet** on the right, you run SQL commands and scripts.
- On the **Query Result** and **Script Output** tabs at the bottom of the page, you review query results and output generated from running scripts.

![SQL Worksheet in Oracle Database Actions](images/database-actions.png "SQL Worksheet in Oracle Database Actions")
![SQL Worksheet in Database Actions](images/database-actions.png "SQL Worksheet in Database Actions")

8. *Leave the **SQL | Oracle Database Actions** tab open because you return to it throughout this workshop.* If your session expires, you can always sign in again.
8. *Leave the **SQL | ORACLE Database Actions** tab open because you return to it throughout this workshop.* If your session expires, you can always sign in again.

9. Return to Oracle Data Safe: Click the **Autonomous Database | Oracle Cloud Infrastructure** browser tab. From the navigation menu, select **Oracle Database**, and then **Data Safe - Database Security**. The **Overview** page is displayed.
9. Return to Oracle Data Safe: Click the **Autonomous AI Database | Oracle Cloud Infrastructure** browser tab. From the navigation menu, select **Oracle AI Database**, and then **Data Safe - Database Security**. The **Overview** page is displayed.


You may now **proceed to the next lab**.
Expand All @@ -138,4 +138,4 @@ You may now **proceed to the next lab**.
## Acknowledgements

- **Author** - Jody Glover, Consulting User Assistance Developer, Database Development
- **Last Updated By/Date** - Jody Glover, September 10, 2025
- **Last Updated By/Date** - Jody Glover, October 20, 2025
26 changes: 13 additions & 13 deletions data-safe/access-environment/access-environment-sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Introduction

In this lab, you access and review your LiveLabs Sandbox environment in Oracle Cloud Infrastructure. Your environment comes with a tenancy, a compartment, an Oracle Cloud account in the LiveLabs tenancy, and a pre-provisioned Autonomous Database. Sample data is loaded into your database and your database is registered with Oracle Data Safe.
In this lab, you access and review your LiveLabs Sandbox environment in Oracle Cloud Infrastructure. Your environment comes with a tenancy, a compartment, an Oracle Cloud account in the LiveLabs tenancy, and a pre-provisioned Autonomous AI Database. Sample data is loaded into your database and your database is registered with Oracle Data Safe.

Estimated Lab Time: 5 minutes

Expand All @@ -13,7 +13,7 @@ In this lab, you will:
- View your LiveLabs reservation information and sign in
- Access Oracle Data Safe and view your registered target database
- Explore Security Center
- Access Oracle Database Actions
- Access ORACLE Database Actions


### Prerequisites
Expand All @@ -35,7 +35,7 @@ This lab assumes you have:
- A link that directs you to the sign-in page for Oracle Cloud Infrastructure (**Launch OCI** button)
- A username and password to sign in to the LiveLabs tenancy. When signing in for the first time, you are prompted to change your password.
- A compartment of your very own. We refer to this compartment as "your compartment" throughout the workshop. Make note of your compartment's name because you need to select it often throughout the workshop.
- An Autonomous Database in your compartment. You are provided the password for the `ADMIN` account on your database.
- An Autonomous AI Database in your compartment. You are provided the password for the `ADMIN` account on your database.

3. Make note of your username and click the **Copy Password** button for Oracle Cloud Infrastructure.

Expand All @@ -54,9 +54,9 @@ This lab assumes you have:

## Task 2: Access Oracle Data Safe and view your registered target database

A database registered with Oracle Data Safe is referred to as a *target* database in Oracle Data Safe.
A database registered with Oracle Data Safe is referred to as a *target database* in Oracle Data Safe.

1. From the navigation menu, select **Oracle Database**, and then **Data Safe - Database Security**. The **Overview** page is displayed. If the **Welcome to Data Safe** tour dialog box is displayed, click **Stop tour**.
1. From the navigation menu, select **Oracle AI Database**, and then **Data Safe - Database Security**. The **Overview** page is displayed. If the **Welcome to Data Safe** tour dialog box is displayed, click **Stop tour**.

2. On the left, click **Target databases**.

Expand All @@ -78,7 +78,7 @@ A database registered with Oracle Data Safe is referred to as a *target* databas

- In Security center, you can access all the Oracle Data Safe features, including the dashboard, Security Assessment, User Assessment, Data Discovery, Data Masking, Activity Auditing, SQL Firewall, and Alerts.
- When you register a target database, Oracle Data Safe automatically creates a security assessment and user assessment for you. That's why the **Security assessment**, **User assessment**, **Feature usage**, and **Operations summary** charts in the dashboard already have data.
- During registration, Oracle Data Safe also discovers audit trails on your target database. That's why the **Audit trails** chart in the dashboard shows one audit trail for your Autonomous Database. Later you start this audit trail to collect audit data into Oracle Data Safe.
- During registration, Oracle Data Safe also discovers audit trails on your target database. That's why the **Audit trails** chart in the dashboard shows one audit trail for your Autonomous AI Database. Later you start this audit trail to collect audit data into Oracle Data Safe.

![Initial Dashboard - security controls](images/dashboard-security-controls.png "Initial Dashboard - security controls")

Expand All @@ -87,13 +87,13 @@ A database registered with Oracle Data Safe is referred to as a *target* databas
![Initial Dashboard - feature metrics bottom half](images/feature-metrics-bottom-half.png "Initial Dashboard - feature metrics bottom half")


## Task 4: Access Oracle Database Actions
## Task 4: Access ORACLE Database Actions

Database Actions provides a way for you to run SQL commands on your database. The step-by-step instructions for accessing Database Actions are covered here. Subsequent labs simply say to "access the SQL worksheet in Database Actions." You can always refer back to these steps for help if needed.

1. From the navigation menu (hamburger menu in the upper-left corner), select **Oracle Database**, and then **Autonomous Database**. Under **List Scope**, select your compartment under the **LiveLabs** folder. In the table on the right, click the name of your database.
1. From the navigation menu (hamburger menu in the upper-left corner), select **Oracle AI Database**, and then **Autonomous AI Database**. Under **List Scope**, select your compartment under the **LiveLabs** folder. In the table on the right, click the name of your database.

2. At the top of the **Autonomous Database details** page, from the **Database actions** menu, select **SQL**.
2. At the top of the **Autonomous AI Database** page, from the **Database actions** menu, select **SQL**.

3. If required, sign in as the `ADMIN` user.

Expand All @@ -105,11 +105,11 @@ Database Actions provides a way for you to run SQL commands on your database. Th
- On the **Worksheet** on the right, you run SQL commands and scripts.
- On the **Query Result** and **Script Output** tabs at the bottom of the page, you review query results and output generated from running scripts.

![SQL Worksheet in Oracle Database Actions](images/database-actions.png "SQL Worksheet in Oracle Database Actions")
![SQL Worksheet in Database Actions](images/database-actions.png "SQL Worksheet in Database Actions")

6. *Leave the **SQL | Oracle Database Actions** tab open because you return to it throughout this workshop.* If your session expires, you can always sign in again.
6. *Leave the **SQL | ORACLE Database Actions** tab open because you return to it throughout this workshop.* If your session expires, you can always sign in again.

7. Return to Oracle Data Safe: Click the **Autonomous Database | Oracle Cloud Infrastructure** browser tab. From the navigation menu, select **Oracle Database**, and then **Data Safe - Database Security**. The **Overview** page is displayed.
7. Return to Oracle Data Safe: Click the **Autonomous AI Database | Oracle Cloud Infrastructure** browser tab. From the navigation menu, select **Oracle AI Database**, and then **Data Safe - Database Security**. The **Overview** page is displayed.


You may now **proceed to the next lab**.
Expand All @@ -126,4 +126,4 @@ You may now **proceed to the next lab**.
## Acknowledgements

- **Author** - Jody Glover, Consulting User Assistance Developer, Database Development
- **Last Updated By/Date** - Jody Glover, August 1, 2025
- **Last Updated By/Date** - Jody Glover, October 20, 2025
8 changes: 4 additions & 4 deletions data-safe/api-copy-audit-data/api-copy-audit-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This lab assumes you have:

- Obtained an Oracle Cloud account and signed in to the Oracle Cloud Infrastructure Console
- Prepared your environment for this workshop (see [Prepare Your Environment](?lab=prepare-environment))
- Registered your target database with Oracle Data Safe (see [Register an Autonomous Database with Oracle Data Safe](?lab=register-autonomous-database))
- Registered your target database with Oracle Data Safe (see [Register an Autonomous AI Database with Oracle Data Safe](?lab=register-autonomous-database))
- If you are using a Free Tier subscription, you need to be working in your home region. This is necessary in order to create a compute instance with the Oracle Cloud Development kit.

### Assumptions
Expand Down Expand Up @@ -60,7 +60,7 @@ Cloud Shell is running the following application versions:

## Task 2: Start the audit trail for your target database in Oracle Data Safe

1. From the navigation menu, select **Oracle Database**, and then **Data Safe - Database Security**.
1. From the navigation menu, select **Oracle AI Database**, and then **Data Safe - Database Security**.

2. Under **Security center** on the left, click **Activity auditing**.

Expand Down Expand Up @@ -429,7 +429,7 @@ In this task, you compile an example Java program named `DataSafeRestAPIClientEx

## Task 10: Obtain the compartment OCID for your target database

1. From the navigation menu in Oracle Cloud Infrastructure, select **Oracle Database**, and then **Data Safe - Database Security**.
1. From the navigation menu in Oracle Cloud Infrastructure, select **Oracle AI Database**, and then **Data Safe - Database Security**.

2. On the left, click **Target databases**.

Expand Down Expand Up @@ -542,5 +542,5 @@ You may now **proceed to the next lab**.
## Acknowledgements
- **Author** - Jody Glover, Consulting User Assistance Developer, Database
- **Consultants** - Richard Evans, Bettina Schaeumer, Archana Rao, Anna Haikl
- **Last Updated By/Date** - Jody Glover, June 5, 2025
- **Last Updated By/Date** - Jody Glover, October 20, 2025

Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This lab assumes you have:

- Obtained an Oracle Cloud account and signed in to the Oracle Cloud Infrastructure Console
- Prepared your environment for this workshop (see [Prepare Your Environment](?lab=prepare-environment))
- Registered your target database with Oracle Data Safe (see [Register an Autonomous Database with Oracle Data Safe](?lab=register-autonomous-database))
- Registered your target database with Oracle Data Safe (see [Register an Autonomous AI Database with Oracle Data Safe](?lab=register-autonomous-database))
- Completed the [Copy Audit Data to Object Storage using the Oracle Data Safe REST API](?lab=api-copy-audit-data) lab. This lab is a continuation of that lab.


Expand Down Expand Up @@ -78,7 +78,7 @@ In this task, you create an SH script that contains the variables and Java comma
<copy>1/5 * * * * /home/opc/.oci/datasafejob.sh</copy>
```

3. Generate some activity for Oracle Data Safe to audit. To do this, access Database Actions for your target database. Download the [**load-data-safe-sample-data_admin.sql**](https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/security-library/load-data-safe-sample-data_admin.sql) script and open it in a text editor, such as NotePad. Copy the entire script to the clipboard and paste it into the worksheet in Database Actions. On the toolbar, click the **Run Script** button and wait for the script to finish running.
3. Generate some activity for Oracle Data Safe to audit. To do this, access Database Actions for your target database. Download the [**load-data-safe-sample-data_admin.sql**](https://objectstorage.us-ashburn-1.oraclecloud.com/p/QqCOrIg8vwNsrtXHFosXcmFRIWkjKv4yNbXj6_bUNx2ZQy-KsK564UWBxJKqkdVM/n/c4u04/b/livelabsfiles/o/load-data-safe-sample-data_admin.sql) script and open it in a text editor, such as NotePad. Copy the entire script to the clipboard and paste it into the worksheet in Database Actions. On the toolbar, click the **Run Script** button and wait for the script to finish running.


4. Return to your bucket and view the audit data being collected every five minutes. It can sometimes take a few minutes for the audit data objects to be displayed.
Expand Down Expand Up @@ -127,7 +127,7 @@ You may now **proceed to the next lab**.
## Acknowledgements
- **Author** - Jody Glover, Consulting User Assistance Developer, Database Development
- **Contributors** - Richard Evans, Anna Haikl, Russ Lowenthal, Archana Rao, Bettina Schaeumer
- **Last Updated By/Date** - Jody Glover, June 5, 2025
- **Last Updated By/Date** - Jody Glover, October 20, 2025



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,4 @@ You may now **proceed to the next lab**.
## Acknowledgements

* **Author** - Jody Glover, Consulting User Assistance Developer, Database Development
* **Last Updated By/Date** - Jody Glover, September 10, 2025
* **Last Updated By/Date** - Jody Glover, October 20, 2025
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,4 @@ You may now **proceed to the next lab**.
## Acknowledgements

* **Author** - Jody Glover, Consulting User Assistance Developer, Database Development
* **Last Updated By/Date** - Jody Glover, August 1, 2025
* **Last Updated By/Date** - Jody Glover, October 20, 2025
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,4 @@ You may now **proceed to the next lab**.
## Acknowledgements

* **Author** - Jody Glover, Consulting User Assistance Developer, Database Development
* **Last Updated By/Date** - Jody Glover, September 10, 2025
* **Last Updated By/Date** - Jody Glover, October 20, 2025
2 changes: 1 addition & 1 deletion data-safe/assess-database-users/assess-database-users.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,4 +206,4 @@ You may now **proceed to the next lab**.
## Acknowledgements

* **Author** - Jody Glover, Consulting User Assistance Developer, Database Development
* **Last Updated By/Date** - Jody Glover, August 1, 2025
* **Last Updated By/Date** - Jody Glover, October 20, 2025
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,4 @@ You may now **proceed to the next lab**.
## Acknowledgements

* **Author** - Jody Glover, Consulting User Assistance Developer, Database Development
* **Last Updated By/Date** - Jody Glover, May 5, 2025
* **Last Updated By/Date** - Jody Glover, October 20, 2025
Loading