curl --request GET \
--url https://api.example.com/api/v1/audit{
"apiVersion": "v1",
"kind": "AuditLogList",
"metadata": {
"totalCount": 156,
"page": 1,
"pageSize": 50
},
"items": [
{
"id": "audit-20260319-001",
"timestamp": "2026-03-19T15:35:00Z",
"action": "approval.approve",
"user": "carlos.silva@empresa.com",
"role": "operator",
"resource": "APR-20260319-001",
"resourceType": "Approval",
"namespace": "production",
"details": {
"incident": "INC-20260319-001",
"comment": "Aprovado — analise de IA confirma necessidade de aumento de memoria"
},
"sourceIP": "10.0.1.50",
"userAgent": "Mozilla/5.0"
},
{
"id": "audit-20260319-002",
"timestamp": "2026-03-19T15:30:00Z",
"action": "incident.acknowledge",
"user": "carlos.silva@empresa.com",
"role": "operator",
"resource": "INC-20260319-001",
"resourceType": "Incident",
"namespace": "production",
"details": {
"message": "Investigando aumento de memoria no payment-service"
},
"sourceIP": "10.0.1.50",
"userAgent": "Mozilla/5.0"
},
{
"id": "audit-20260319-003",
"timestamp": "2026-03-19T15:21:05Z",
"action": "remediation.execute",
"user": "system",
"role": "system",
"resource": "INC-20260319-001",
"resourceType": "Remediation",
"namespace": "production",
"details": {
"runbook": "runbook-oomkill-standard",
"step": "diagnose-memory-usage",
"result": "success"
},
"sourceIP": "internal",
"userAgent": "chatcli-operator/1.0"
}
]
}
Returns the audit log with all actions performed on the platform
curl --request GET \
--url https://api.example.com/api/v1/audit{
"apiVersion": "v1",
"kind": "AuditLogList",
"metadata": {
"totalCount": 156,
"page": 1,
"pageSize": 50
},
"items": [
{
"id": "audit-20260319-001",
"timestamp": "2026-03-19T15:35:00Z",
"action": "approval.approve",
"user": "carlos.silva@empresa.com",
"role": "operator",
"resource": "APR-20260319-001",
"resourceType": "Approval",
"namespace": "production",
"details": {
"incident": "INC-20260319-001",
"comment": "Aprovado — analise de IA confirma necessidade de aumento de memoria"
},
"sourceIP": "10.0.1.50",
"userAgent": "Mozilla/5.0"
},
{
"id": "audit-20260319-002",
"timestamp": "2026-03-19T15:30:00Z",
"action": "incident.acknowledge",
"user": "carlos.silva@empresa.com",
"role": "operator",
"resource": "INC-20260319-001",
"resourceType": "Incident",
"namespace": "production",
"details": {
"message": "Investigando aumento de memoria no payment-service"
},
"sourceIP": "10.0.1.50",
"userAgent": "Mozilla/5.0"
},
{
"id": "audit-20260319-003",
"timestamp": "2026-03-19T15:21:05Z",
"action": "remediation.execute",
"user": "system",
"role": "system",
"resource": "INC-20260319-001",
"resourceType": "Remediation",
"namespace": "production",
"details": {
"runbook": "runbook-oomkill-standard",
"step": "diagnose-memory-usage",
"result": "success"
},
"sourceIP": "internal",
"userAgent": "chatcli-operator/1.0"
}
]
}
incident.acknowledge, incident.snooze, approval.approve, approval.reject, runbook.create, runbook.update, runbook.delete, remediation.execute, config.updateINC-20260319-001){
"apiVersion": "v1",
"kind": "AuditLogList",
"metadata": {
"totalCount": 156,
"page": 1,
"pageSize": 50
},
"items": [
{
"id": "audit-20260319-001",
"timestamp": "2026-03-19T15:35:00Z",
"action": "approval.approve",
"user": "carlos.silva@empresa.com",
"role": "operator",
"resource": "APR-20260319-001",
"resourceType": "Approval",
"namespace": "production",
"details": {
"incident": "INC-20260319-001",
"comment": "Aprovado — analise de IA confirma necessidade de aumento de memoria"
},
"sourceIP": "10.0.1.50",
"userAgent": "Mozilla/5.0"
},
{
"id": "audit-20260319-002",
"timestamp": "2026-03-19T15:30:00Z",
"action": "incident.acknowledge",
"user": "carlos.silva@empresa.com",
"role": "operator",
"resource": "INC-20260319-001",
"resourceType": "Incident",
"namespace": "production",
"details": {
"message": "Investigando aumento de memoria no payment-service"
},
"sourceIP": "10.0.1.50",
"userAgent": "Mozilla/5.0"
},
{
"id": "audit-20260319-003",
"timestamp": "2026-03-19T15:21:05Z",
"action": "remediation.execute",
"user": "system",
"role": "system",
"resource": "INC-20260319-001",
"resourceType": "Remediation",
"namespace": "production",
"details": {
"runbook": "runbook-oomkill-standard",
"step": "diagnose-memory-usage",
"result": "success"
},
"sourceIP": "internal",
"userAgent": "chatcli-operator/1.0"
}
]
}