Aidp Audit

作者 oracle-samples90b42d6c24d4無授權條款收錄於 2026年10月8日更新於 2026年10月8日

Manage and search AIDP audit logs — enable/disable auditing, set retention, and query audit-log entries for a DataLake. Use when the user asks about audit logging, who did what, compliance/retention of AIDP activity, or wants to search audit events. Self-contained — official `aidp audit` CLI preferred, `oci raw-request` fallback.

AI 產生的概覽

管理 AIDP 稽核記錄——啟用或停用稽核、設定保留期,並搜尋稽核記錄項目。

功能
此技能引導代理管理 DataLake 的 AIDP Workbench 稽核記錄:啟用或停用稽核、設定保留期,並依時間、主體或資源搜尋稽核記錄項目。它優先使用官方 aidp audit CLI,並以 oci raw-request 呼叫作為備援。它會先讀取目前狀態,在變更稽核設定前先行確認,並彙總搜尋結果,而非直接輸出原始內容。
適用情境
適用於使用者詢問稽核記錄、想要開啟或關閉稽核、設定稽核保留期,或想了解 AIDP 中誰執行了哪些操作的情況。也適合有關 AIDP 活動的法遵與保留問題。
執行需求
需要已通過身分驗證設定檔的 aidp CLI,或以 OCI CLI(oci raw-request)作為備援,並需要連線至 AIDP 服務的網路存取權,以及執行個體或 DataLake 的 OCID。此技能不含指令碼,僅為指示文件,並引用外部參考檔案。

aidp-audit — audit logs (enable, retention, search)

Manage AIDP Workbench audit logging and search audit entries. Self-contained: no MCP / ai-data-engineer-agent required. Engine precedence per references/aidp-cli-map.md — prefer the official aidp CLI, else oci raw-request.

When to use

  • "Turn on / configure audit logging", "set audit retention", "who did X / search the audit log", compliance questions.

Engine (CLI-preferred)

  • Manage: aidp audit manage-logs <instance-id> --body '{"action":"ENABLE","retentionPeriod":<days>}' --auth api_key --profile DEFAULT (action e.g. ENABLE/DISABLE; retentionPeriod in the body).
  • Search: aidp audit search-logs <instance-id> … (filter by time/principal/resource per aidp help audit).
  • Fallback (oci raw-request): POST …/20240831/dataLakes/<OCID>/actions/manageAuditLogs (manage) and the audit search endpoint; verify the exact path/body live and record in references/rest-endpoint-map.md before asserting (no-fabrication).

Workflow

  1. Read current state / search first; show the user what you found.
  2. For manage-logs (enable/disable/retention) — confirm before changing, since it affects compliance posture.
  3. Present results; for search, summarize matches (don't dump raw if large).

Guardrails

  • Changing audit config is a governance action — confirm. Never disable auditing without explicit instruction.

References

  • references/aidp-cli-map.md · references/oci-raw-request.md · references/rest-endpoint-map.md

來源與署名

來源:oracle-samples/oracle-aidp-samples位於ai/claude-code-plugins/oracle-ai-data-platform-workbench-engineer-agent/skills/aidp-audit提交90b42d6

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架

更多來自 oracle-samples/oracle-aidp-samples 的技能

Aidp Workspace Admin

oracle-samples

Provision and inspect AIDP DataLake instances and workspaces, including private-network workspaces attached to a customer VCN/subnet. Use when the user wants to create/list/get a workspace or DataLake instance, set up a new (e.g. private) AIDP environment, or replicate a customer setup. Create/delete are guarded — confirm before any provisioning.

待分類2026年10月8日

Aidp Volumes

oracle-samples

Work with AIDP volumes — list volumes, browse files inside a volume, upload/download via the PAR flow, and create directories. Use when the user mentions volumes, needs to stage large/binary files, or move data in/out of a volume (distinct from the workspace filesystem). Control-plane via the official `aidp` CLI.

待分類2026年10月8日

Aidp Verified Queries

oracle-samples

維護經過驗證的問題到 Spark SQL 配對庫,讓代理在產生新 SQL 前優先重用可信查詢。

Data & Analytics2026年10月8日

Aidp User Settings

oracle-samples

透過 aidp CLI 或 oci raw-request 備援方式管理 AIDP DataLake 使用者設定與偏好。

Productivity & Workflow2026年10月8日

Aidp Spark Optimization

oracle-samples

指導 Apache Spark 3.5.0 效能調校:分割區、shuffle、join、資料傾斜、記憶體、檔案配置、AQE 與 Delta Lake。

Data & Analytics2026年10月8日

Aidp Semantic Model

oracle-samples

維護 .aidp/semantic.md 業務語意層,定義指標、連接、同義詞與值字典,為自然語言轉 SQL 提供依據。

Data & Analytics2026年10月8日