Oracle MySQL
The CIS Benchmarks for Oracle MySQL define secure configuration requirements for MySQL Community Edition 5.7. Chef Premium Content provides these requirements as Chef InSpec audit profiles, without remediation content.
What the benchmarks check
The requirements cover the following areas in the benchmark at v2.0.0:
- Installation and planning: Backups, shared usernames, and encryption modes
- General settings: Test databases,
local_infile, symbolic links, and plugins - Permissions: Administrative access and privileges such as
PROCESS,SHUTDOWN, andGRANT OPTION - Auditing and logging: Error logs, log storage, and audit logging
- Authentication: Authentication plugins, account passwords, and password lifetime
- Network: Secure transport, client TLS requirements, and connection limits
- Replication: Secure replication traffic, certificate verification, and replication user privileges
The exact requirements differ by benchmark and version.
Supported versions
| Benchmark | Audit versions | Remediation versions | Coverage |
|---|---|---|---|
CIS Oracle MySQL 5.7 | v2.0.0 | — | Audit Only |
Audit and remediation coverage are tracked separately. See how to read the coverage tables for what each coverage term means.
Available profiles
The benchmark version ships as four Chef InSpec profiles, one for every combination of CIS profile level and deployment scope:
| Axis | Values |
|---|---|
| Level | level1, level2 |
| Scope | mysqlrdbms, mysqlrdbmsonlinux |
Profile names follow a consistent pattern, so you can predict the name you need:
cis-oraclemysqlcommunity<version>-<level>-<scope>-v<benchmark-version>
For example, the CIS Level 1 profile for the database engine on Oracle MySQL 5.7 at
benchmark v2.0.0 is cis-oraclemysqlcommunity5.7-level1-mysqlrdbms-v2.0.0.
The platform name in the profile is oraclemysqlcommunity<version>, not oraclemysql or
mysql—this benchmark covers MySQL Community Edition specifically.
Both levels ship at this single benchmark version, so there’s no level or scope restriction to account for here, unlike some other database platforms.
Choose the level that matches your risk posture and the scope that matches how the instance is deployed:
- Level 1 applies settings that improve security with limited operational impact. It’s the common starting point for production instances.
- Level 2 extends Level 1 with defense-in-depth settings intended for environments with stricter requirements. Level 2 is more likely to affect how applications behave, so test it before rolling it out broadly.
- MySQL RDBMS targets the database engine itself, independent of the underlying host.
- MySQL RDBMS on Linux targets a database engine running on a Linux host, and also checks host-level settings that affect the database’s security.
What you can do with this content
Audit
Run the audit profile against an Oracle MySQL instance to assess it against the benchmark and report which requirements pass and which fail. Each failure identifies the specific setting that doesn’t meet the standard, so the result is an actionable list rather than a score.
You can run audit content with Chef InSpec, the Compliance Phase during a Chef Infra Client run, or an Automate scan job.
Detect drift
An instance that passed an audit at build time doesn’t stay compliant on its own. Configuration changes, administrative access, and tooling from other sources all move an instance away from its approved state. Running the audit profile on a schedule turns a one-time assessment into continuous evidence, and compliance reporting in Chef Automate shows how results change over time.
Remediation
There’s no remediation content for Oracle MySQL. Coverage is audit only, so you can assess instances against the benchmark and act on the findings, but you need to apply the corresponding fixes through your own tooling.
Access this content
Chef Premium Content is part of the Chef Enterprise entitlement. See Progress Chef Enterprise Edition for what the entitlement includes, and contact your Chef account representative to confirm your access.