Initial Oracle Deep Data Security lab kit
This commit is contained in:
59
docs/lab-execution.md
Normal file
59
docs/lab-execution.md
Normal file
@@ -0,0 +1,59 @@
|
||||
# Execução Dos Labs
|
||||
|
||||
## 1. Preparar Ambiente
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -File .\scripts\bootstrap.ps1
|
||||
```
|
||||
|
||||
## 2. Configurar Terraform
|
||||
|
||||
```powershell
|
||||
Copy-Item terraform/envs/demo/terraform.tfvars.example terraform/envs/demo/terraform.tfvars
|
||||
notepad terraform/envs/demo/terraform.tfvars
|
||||
```
|
||||
|
||||
Preencha:
|
||||
|
||||
- `tenancy_ocid`
|
||||
- `compartment_ocid`
|
||||
- `user_ocid`
|
||||
- `fingerprint`
|
||||
- `private_key_path`
|
||||
- `region`
|
||||
- `adb_admin_password`
|
||||
|
||||
## 3. Validar Terraform
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -File .\scripts\validate-terraform.ps1
|
||||
```
|
||||
|
||||
## 4. Aplicar Infraestrutura
|
||||
|
||||
```powershell
|
||||
Set-Location terraform/envs/demo
|
||||
terraform init
|
||||
terraform plan -out tfplan
|
||||
terraform apply tfplan
|
||||
```
|
||||
|
||||
## 5. Executar Cenário
|
||||
|
||||
```powershell
|
||||
Set-Location ../..
|
||||
powershell -ExecutionPolicy Bypass -File .\scripts\run-scenario.ps1 -Scenario 01-ai-prompt-injection -ConnectString "<connect_string>"
|
||||
```
|
||||
|
||||
## 6. Resetar Cenário
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -File .\scripts\reset-scenario.ps1 -Scenario 01-ai-prompt-injection -ConnectString "<connect_string>"
|
||||
```
|
||||
|
||||
## 7. Destruir Ambiente
|
||||
|
||||
```powershell
|
||||
Set-Location terraform/envs/demo
|
||||
terraform destroy
|
||||
```
|
||||
Reference in New Issue
Block a user