Normalize lab docs and keep reusable TNS alias
Some checks failed
Repo Quality / structure (push) Has been cancelled
Some checks failed
Repo Quality / structure (push) Has been cancelled
This commit is contained in:
@@ -20,8 +20,8 @@ Before Oracle Deep Data Security, vector search can retrieve confidential HR, le
|
||||
Run SQL scripts from the repository root. On Linux/macOS/WSL:
|
||||
|
||||
```bash
|
||||
cd ~/DEEP-DATA-SECURITY/oracle-deep-data-security-lab
|
||||
export TNS_ADMIN=~/DEEP-DATA-SECURITY/wallet-ddslab
|
||||
cd <repo-root>
|
||||
export TNS_ADMIN=<wallet-directory>
|
||||
```
|
||||
|
||||
Connect as the lab administrator:
|
||||
@@ -34,6 +34,9 @@ This scenario uses the `VECTOR` type, `TO_VECTOR`, and `VECTOR_DISTANCE`. Use a
|
||||
|
||||
SQLcl note: when running a script with `@file.sql`, press Enter once and wait for the output. Do not type `/` afterward, because `/` reruns the last command in the SQLcl buffer.
|
||||
|
||||
|
||||
Connection alias note: ddslab_tunnel is the TNS alias configured in the wallet `tnsnames.ora` for this lab. If your wallet uses another alias, replace ddslab_tunnel with your own service alias.
|
||||
|
||||
## Step By Step - Before, Vulnerable Environment
|
||||
|
||||
1. Reset the scenario as `ADMIN`:
|
||||
|
||||
@@ -21,8 +21,8 @@ Show that a RAG agent retrieves only authorized chunks/documents before sending
|
||||
1. From the repository root, connect as `ADMIN`:
|
||||
|
||||
```bash
|
||||
cd ~/DEEP-DATA-SECURITY/oracle-deep-data-security-lab
|
||||
export TNS_ADMIN=~/DEEP-DATA-SECURITY/wallet-ddslab
|
||||
cd <repo-root>
|
||||
export TNS_ADMIN=<wallet-directory>
|
||||
sql admin@ddslab_tunnel
|
||||
```
|
||||
|
||||
@@ -30,6 +30,9 @@ Show that a RAG agent retrieves only authorized chunks/documents before sending
|
||||
|
||||
SQLcl note: after running a script with `@file.sql`, do not type `/`. The slash reruns the last command in the SQLcl buffer and can make a successful command look like an error.
|
||||
|
||||
|
||||
Connection alias note: ddslab_tunnel is the TNS alias configured in the wallet `tnsnames.ora` for this lab. If your wallet uses another alias, replace ddslab_tunnel with your own service alias.
|
||||
|
||||
2. Reset the scenario:
|
||||
|
||||
```sql
|
||||
|
||||
@@ -81,8 +81,8 @@ Only authorized chunks are sent to the LLM
|
||||
Run all commands from the repository root:
|
||||
|
||||
```bash
|
||||
cd ~/DEEP-DATA-SECURITY/oracle-deep-data-security-lab
|
||||
export TNS_ADMIN=~/DEEP-DATA-SECURITY/wallet-ddslab
|
||||
cd <repo-root>
|
||||
export TNS_ADMIN=<wallet-directory>
|
||||
```
|
||||
|
||||
Connect as the lab administrator:
|
||||
@@ -93,6 +93,9 @@ sql admin@ddslab_tunnel
|
||||
|
||||
SQLcl note: when you run a script with `@file.sql`, press Enter once and wait for the output. Do not type `/` afterward; `/` reruns the last command in the SQLcl buffer.
|
||||
|
||||
|
||||
Connection alias note: ddslab_tunnel is the TNS alias configured in the wallet `tnsnames.ora` for this lab. If your wallet uses another alias, replace ddslab_tunnel with your own service alias.
|
||||
|
||||
## Lab 1 - Prepare The Environment
|
||||
|
||||
### Task 1.1 - Reset The Scenario
|
||||
|
||||
Reference in New Issue
Block a user