OpenParable
Skip to content
← Back to skills

Cis Aks V180 4.1.12

DevOps & Security
cis-aks-v180-4.1.12

Cis Aks V180 4.1.12 is an Agent Skill for devops & security published in the CyberStrikeus/CyberStrike repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Minimize access to the service account token creation (Manual)

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Server_Software/Kubernetes/CIS_Azure_Kubernetes_Service_AKS_Benchmark_v1.8.0/cis-aks-v180-4.1.12/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-aks-v180-4-1-12, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

4.1.12 Minimize access to the service account token creation (Manual)

Profile Applicability

  • Level 1

Description

Users with rights to create new service account tokens at a cluster level, can create long-lived privileged credentials in the cluster. This could allow for privilege escalation and persistent access to the cluster, even if the users account has been revoked.

Rationale

The ability to create service account tokens should be limited.

Audit

Review the users who have access to create the token sub-resource of serviceaccount objects in the Kubernetes API.

Remediation

Where possible, remove access to the token sub-resource of serviceaccount objects.

References

  1. https://kubernetes.io/docs/concepts/security/rbac-good-practices/#token-request

CIS Controls

Controls VersionControlIG 1IG 2IG 3
v86.8 Define and Maintain Role-Based Access Controlx