create_scc
Create a custom SecurityContextConstraint resource to define security policies for pods, including runAsUser, fsGroup, privilege escalation, and host access settings.
Instructions
Create a custom SecurityContextConstraint CR. run_as_any: if True, sets RunAsAny for runAsUser and fsGroup. allow_privilege_escalation: if True, allows processes to gain more privileges than their parent (required for setuid binaries).
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": {
"name": "<name>"
},
"name": "create_scc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| cluster | No | ||
| host_pid | No | ||
| privileged | No | ||
| run_as_any | No | ||
| host_network | No | ||
| allow_privilege_escalation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |