Cis Cassandra40 V130 3.3
DevOps & Securitycis-cassandra40-v130-3.3Cis Cassandra40 V130 3.3 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.
Ensure there are no unnecessary roles or excessive privileges
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Server_Software/Apache_Cassandra/CIS_Apache_Cassandra_4.0_Benchmark_v1.3.0/cis-cassandra40-v130-3.3/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-cassandra40-v130-3-3, 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.
3.3 Ensure there are no unnecessary roles or excessive privileges
Profile Applicability
- Level 1 - Cassandra
- Level 1 - Cassandra on Linux
Description
Verify each role is require and has only the privileges needed to do its job.
Rationale
Roles which are unneeded, have super user or other potentially excessive privileges may be an avenue for a hacker to gain access to or modify data in the database.
Audit
As a superuser, retrieve all roles:
list roles;
Retrieve all permissions for all roles
select * from system_auth.role_permissions;
If there are any unnecessary roles or roles with excessive privileges this is a finding.
Remediation
Remove any unnecessary roles and/or permissions in accordance with organizational needs.
References
CIS Controls
Controls Version v8:
- 6.8 Define and Maintain Role-Based Access Control
- Define and maintain role-based access control, through determining and documenting the access rights necessary for each role within the enterprise to successfully carry out its assigned duties. Perform access control reviews of enterprise assets to validate that all privileges are authorized, on a recurring schedule at a minimum annually, or more frequently.
Profile
- Level 1 | Manual