oc_kube_bench
Executes Kubernetes CIS benchmark checks in the selected engagement namespace using raw argv tokens, without shell parsing, to assess cluster security.
Instructions
Run kube bench from the OpenCyber cloud container iac toolkit. The container executes kube-bench directly with the supplied argv tokens; shell parsing is never used. Runs from the selected engagement namespace; use relative paths for engagement artifacts.
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": {
"engagement_id": "<engagement_id>",
"arguments": "<arguments>"
},
"name": "oc_kube_bench"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stdin | No | ||
| arguments | Yes | ||
| engagement_id | Yes | ||
| working_directory | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||