Skip to content
This repository was archived by the owner on Aug 19, 2026. It is now read-only.
This repository was archived by the owner on Aug 19, 2026. It is now read-only.

[AGENT-2141] Agent audit integration in tenant audit log panel — filter by actorType #584

Description

@dnviti

Code: AGENT-2141
Priority: LOW
Section: Orchestration — Agent Orchestration Gateway (Phase 4: GUI)
Dependencies: AGENT-2131

Description

Integrate agent audit data into the existing tenant audit log panel. Add an "Actor Type" filter (All/Human/Agent/System) to the tenant audit log so admins can isolate agent activity. Agent entries link to the agent detail view and show agent name + instance ID in an additional column.

Technical Details

Client — Audit Panel Enhancement

  • Modify client/src/components/Settings/TenantAuditLogSection.tsx:
    • Add "Actor Type" filter dropdown: All, Human (USER), Agent (AGENT), System (SYSTEM)
    • Add actorType parameter to audit log API calls
    • Add optional columns (shown when Agent filter is active or entries have actorType=AGENT):
      • "Actor" column: user name for USER, agent name for AGENT, "System" for SYSTEM
      • "Agent Instance" column: clickable link to agent instance detail (for AGENT entries)
    • Expandable row details: show agentId and instanceId for AGENT entries
    • Agent icon indicator on rows with actorType=AGENT

Client — API

  • Update audit API to pass actorType filter parameter
  • Update response types to include actorType, agentId, agentInstanceId fields

Client — Navigation

  • Clicking agent name in audit row navigates to Agent Detail View
  • Clicking instance ID navigates to instance action log

Files Involved

  • MODIFY client/src/components/Settings/TenantAuditLogSection.tsx — Add actorType filter and agent columns
  • MODIFY client/src/api/audit.api.ts — Add actorType filter parameter
  • MODIFY client/src/types/audit.types.ts — Add actorType, agentId, agentInstanceId to response types

Reference: Agent Orchestration Gateway — Phase 4.5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions