Home / API Documentation / Platform management / Auditing / Export audit

Export audit

Requests

HTTP request

GET /v1/kubernetes-audits/export

Export the audit search result to file, cookie required

Query parameters

Name Type Required Description
start_time number Truetimestamp of start time range
end_time number Truetimestamp of end time range
size number Truepage size
pageno number Truerequest page number
cluster string Truename of cluster
file_type string Truetype of the exported file, choices: csv, txt
scope string Falsescope of audit, choices: all, user, system
user_name string FalseUsername of audit creator
resource_name string Falsename of audit target object
resourcce_type string Falsekind of audit target object
operation_type string Falseoperation types, create, update, delete and so on
scope string Falsescope of audit, choices: all, user, system
source_ip string Falseip address of source audit request
response_status string Falseresponse status, choices: Success, Failure

Responses

Content-Type application/octet-stream

Status code: 200

OK

Other status codes