OpenParable
Skip to content
← Back to skills

Cis Cassandra311 1.4

DevOps & Security
cis-cassandra311-1.4

Cis Cassandra311 1.4 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 latest version of Cassandra is installed

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/Apache_Cassandra/CIS_Apache_Cassandra_3.11_Benchmark_v1.1.0/cis-cassandra311-1.4/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-cassandra311-1-4, 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.

1.4 Ensure latest version of Cassandra is installed

Profile Applicability

  • Level 1 - Cassandra on Linux
  • Level 2 - Cassandra on Linux

Description

The Cassandra installation version, along with the patches, should be the most recent that is compatible with organization's operational needs. When obtaining and installing software packages (typically via apt-get or you compile the source code), it's imperative that packages (or the source code, tarball) are sourced only from valid and authorized repositories.

For Cassandra, a short list of valid repositories may include:

Rationale

Using the most recent version of Cassandra can help limit the possibilities for vulnerabilities in the software, the installation version applied during setup should be established according to the needs of the organization. Ensure you are using a release that is covered by a level of support which includes regular updates to address vulnerabilities.

Audit

To verify the version of Cassandra you have installed:

cassandra -v

3.11.2 (as of 6/8/2018)

If an old/unsupported version of Cassandra is installed this is a finding.

Remediation

Upgrade to the latest version of the Cassandra software: For each node in the cluster:

  1. Using the nodetool drain command to push all memtables data to SSTables.
  2. Stop Cassandra services.
  3. Backup the data set and all of your Cassandra configuration files.
  4. Download/Update Java if needed.
  5. Download/Update Python if needed.
  6. Download the binaries for the latest Cassandra revision from the Cassandra Download Page.
  7. Install new version of Cassandra.
  8. Configure new version of Cassandra, taking into account all of your previous settings in your config files(cassandra.yml, cassandrea-env.sh, etc).
  9. Start Cassandra services.
  10. Check logs for warnings, errors.
  11. Using the nodetool to upgrade your SSTables.
  12. Using the nodetool command to check status of cluster.

Default Value

No default version exists.

References

  1. http://cassandra.apache.org/doc/latest/getting_started/installing.html#prerequisite s

CIS Controls

  • v8: 16.5 Use Up-to-Date and Trusted Third-Party Software Components
  • v7: 18.4 Only Use Up-to-date And Trusted Third-Party Components

Profile

  • Level 1 | Automated