kickstart-security-hardening
Skill65 starsChanged 3 months agoMITView on GitHub
Azure security baseline — RBAC, Key Vault, managed identity, network isolation, and Microsoft Defender.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- vscode-aks-tools-release-prSkill
- kickstart-acr-integrationSkill
- kickstart-bicep-authoringSkill
- kickstart-cluster-statusSkill
- kickstart-collaborator-voiceSkill
- kickstart-configure-infraSkill
- kickstart-deploySkill
- kickstart-designSkill
- kickstart-discoverSkill
- kickstart-file-generationSkill
- kickstart-generateSkill
- kickstart-github-pr-conventionsSkill
- kickstart-handoffSkill
- kickstart-phase-accelerationSkill
- kickstart-pim-activationSkill
- kickstart-reviewSkill
- kickstart-safeguard-checklistSkill
- kickstart-samplesSkill
- kickstart-workload-identitySkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use built-in roles before creating custom ones.
- Very specific: line 14
Avoid Owner on production subscriptions — use Contributor + specific data-plane roles.
- Distinctive: line 20
Use Managed Identity (not service principal secrets) to read secrets.
- Distinctive: line 34
Use private endpoints for Storage, Key Vault, SQL, ACR.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Security Hardening
Principle of least privilege
- Assign RBAC at the narrowest scope (resource > resource group > subscription > management group).
- Use built-in roles before creating custom ones.
- Common roles:
Reader,Contributor,Owner,Key Vault Secrets User,Storage Blob Data Reader. - Avoid
Owneron production subscriptions — useContributor+ specific data-plane roles.
Key Vault best practices
- Soft delete + purge protection: always on in production.
- Restrict access with Key Vault Firewall + private endpoint.
- Use Managed Identity (not service principal secrets) to read secrets.
- Rotate secrets every 90 days; use Key Vault references in App Service / AKS.
- Audit access with diagnostic settings → Log Analytics.
Encryption
- Storage at rest: enabled by default (AES-256, Microsoft-managed keys).
- Customer-managed keys (CMK) in Key Vault for compliance requirements.
- TLS 1.2+ everywhere; disable older protocols.
- Encryption in transit: HTTPS-only for storage, SQL, App Service.
Network isolation
- Disable public network access on PaaS services when possible.
- Use private endpoints for Storage, Key Vault, SQL, ACR.
- Apply NSGs with default-deny inbound.
Microsoft Defender for Cloud
Enable Defender plans for:
- Servers (VM vulnerability scanning)
- Containers (AKS runtime threat detection)
- Storage (malware scanning, anomaly detection)
- Key Vault (unusual access patterns)
- SQL (SQL injection detection)
Secure Score is your KPI — target 80%+.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

