ncloud_nks_set_audit_log
Configures NKS control plane audit and authentication log collection via Cloud Log Analytics (CLA), enabling or disabling each log type; enabling audit requires an active CLA subscription.
Instructions
Configure Control Plane log collection via Cloud Log Analytics (CLA) for an NKS cluster: audit (Kubernetes audit log) and/or authn (authentication log). Give at least one; an omitted field keeps its current setting. authn=true requires authType=API and Kubernetes 1.26+. Since 2026-09-17 enabling audit is rejected with 400 unless the account has an active CLA subscription — subscribe to Cloud Log Analytics first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"clusterUuid": "<clusterUuid>"
},
"name": "ncloud_nks_set_audit_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audit | No | Kubernetes audit log (true/false). Omit to keep the current setting | |
| authn | No | Control Plane authentication log (true/false). true is only allowed when authType=API and Kubernetes version is 1.26 or later. Omit to keep the current setting | |
| clusterUuid | Yes | UUID of the cluster |