cis-azure-database-5.1
Skill by CyberStrikeus
Checks and sets up customer-managed keys for encryption at rest on Azure Database for MySQL servers. It is written for teams that must control their own encryption keys under compliance or security framework requirements.
Install cis-azure-database-5.1
Built from the published package, never by AI.
git clone --depth 1 https://github.com/CyberStrikeus/CyberStrike /tmp/CyberStrike && mkdir -p ~/.claude/skills && cp -r /tmp/CyberStrike/.cyberstrike/skill/CIS_benchmarks/Cloud_Providers/Microsoft_Azure/cis-microsoft-azure-database-services/cis-azure-database-5.1 ~/.claude/skills/cis-azure-database-5-1Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/CyberStrikeus/CyberStrike /tmp/CyberStrike && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/CyberStrike/.cyberstrike/skill/CIS_benchmarks/Cloud_Providers/Microsoft_Azure/cis-microsoft-azure-database-services/cis-azure-database-5.1 ~/.gemini/antigravity-cli/skills/cis-azure-database-5-1Antigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install cis-azure-database-5.1 in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is based on control 5.1 of the CIS Microsoft Azure Database Services Benchmark v2.0.0. It explains how to audit whether an Azure Database for MySQL server uses a Customer-managed key instead of the default Microsoft Managed Keys. It also gives step-by-step Azure Portal remediation.
The audit path is Security, then Data Encryption, then checking whether Customer-managed key is selected. The remediation path selects a user assigned managed identity and a key from Azure Key Vault or a managed HSM, then saves the change. The source notes that customer-managed keys are mainly recommended where compliance requires control of keys, and that Microsoft Managed Key encryption is often acceptable. It is aimed at security and compliance staff who manage Azure database encryption.
Written from the project's SKILL.md and checked against it.
What it can do
- Audit encryption settingChecks whether a MySQL server has Customer-managed key selected under Data Encryption in the Azure Portal.
- Remediation stepsWalks through selecting a user assigned managed identity and a key for the MySQL server.
- Key selection guidanceExplains entering a key identifier URL or selecting a key from a Key Vault or managed HSM.
- Compliance mappingMaps the control to CIS Controls v8 item 3.11 and v7 item 14.8.
What you need
- Access to the Azure Portal
- An Azure Database for MySQL server
- An Azure Key Vault key or managed HSM
- A user assigned managed identity
Try asking
- Audit whether my Azure MySQL server uses customer-managed keys.
- Show me how to set a Key Vault key for my MySQL server encryption.
- Explain CIS control 5.1 for Azure Database for MySQL in plain terms.
Good to know
- The control is marked as Manual, so the checks run through the Azure Portal steps.
- If a key expires by its activation or expiration date, the user must rotate it manually.
- Customer-managed keys can add effort to create, store, manage and protect keys.
- The source notes Microsoft Managed Key encryption is often acceptable for encryption at rest.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .cyberstrike/skill/CIS_benchmarks/Cloud_Providers/Microsoft_Azure/cis-microsoft-azure-database-services/cis-azure-database-5.1/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md3 KB
Alternatives to cis-azure-database-5.1
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
cis-azure-database-5.1: common questions
What does CIS control 5.1 for Azure MySQL require?
It recommends encrypting data at rest with Customer Managed Keys instead of Microsoft Managed Keys. The source says this is mainly for cases where compliance or security frameworks require control of keys.
What is the default encryption for Azure Database for MySQL?
Unless a customer-managed key was selected at resource creation, Azure Database for MySQL uses Microsoft Managed Keys by default.
Where do I change the encryption key setting?
In the Azure Portal, open the MySQL server, expand Security, and select Data Encryption. The source lists these steps for both audit and remediation.
How do I install cis-azure-database-5.1?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is cis-azure-database-5.1 free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is cis-azure-database-5.1 safe to use?
It scores 69 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to cis-azure-database-5.1?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
