Aller au contenu principal
Version: 1.0.1

Security Audit

Audit skills let agents retrieve and analyze security audit logs for compliance and monitoring.

security.audit

Retrieve audit logs for a specific time range and user.

{
"skill": "security.audit",
"input": {
"startDate": "2026-01-01",
"endDate": "2026-12-31",
"userId": 1,
"action": "transaction.create"
}
}

Query Parameters

ParameterTypeDescription
startDateStringStart date (YYYY-MM-DD)
endDateStringEnd date (YYYY-MM-DD)
userIdLongFilter by user ID
actionStringFilter by action type
pageIntegerPage number
pageSizeIntegerItems per page

Response

{
"code": 200,
"data": [
{
"id": 1,
"userId": 1,
"action": "transaction.create",
"resource": "transaction",
"resourceId": "TXN2026081800001",
"ipAddress": "192.168.1.1",
"userAgent": "Mozilla/5.0...",
"createdTime": "2026-08-18T10:00:00Z"
}
],
"pagination": {
"page": 1,
"pageSize": 20,
"total": 100,
"totalPages": 5
}
}

Common Actions

  • transaction.create — Payment created
  • transaction.refund — Refund processed
  • user.login — User logged in
  • api.key.generate — API key generated
  • channel.modify — Channel configuration changed