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、连接、倾斜、内存、文件布局、AQE 与 Delta Lake。

Data & Analytics2026年10月8日

Aidp Semantic Model

oracle-samples

维护 .aidp/semantic.md 业务语义层,定义指标、连接、同义词和值字典,为自然语言转 SQL 提供依据。

Data & Analytics2026年10月8日