{"id":20442559,"url":"https://github.com/davidmoremad/azure-security-templates","last_synced_at":"2025-09-24T15:30:32.717Z","repository":{"id":98987920,"uuid":"480862899","full_name":"davidmoremad/azure-security-templates","owner":"davidmoremad","description":"Useful templates of security policies, roles and runbooks to protect your Azure account","archived":false,"fork":false,"pushed_at":"2023-09-22T13:16:41.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-15T09:50:00.623Z","etag":null,"topics":["azure","cloud-security","security"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidmoremad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-12T15:14:07.000Z","updated_at":"2023-09-22T13:16:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"2fb98fd5-da13-4c1a-afcd-d77d60f40f07","html_url":"https://github.com/davidmoremad/azure-security-templates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidmoremad%2Fazure-security-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidmoremad%2Fazure-security-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidmoremad%2Fazure-security-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidmoremad%2Fazure-security-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidmoremad","download_url":"https://codeload.github.com/davidmoremad/azure-security-templates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234090613,"owners_count":18778294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","cloud-security","security"],"created_at":"2024-11-15T09:41:30.694Z","updated_at":"2025-09-24T15:30:27.406Z","avatar_url":"https://github.com/davidmoremad.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# azure-security-templates\nUseful templates of security policies, roles and runbooks to protect your Azure account\n\n---\n\n## Policies\n\nI've added just 4 policies to start with, but I'll be adding more as I go along.\n\n⚠️ Remember: You need to edit these policies to add your own values. \nEditable values are clearly marked.\n\n* [Deny owner \u0026 contributor roles](policies/deny_owner_contributor_role.json)\n* [Deny public critical ports](policies/deny_public_critical_ports.json)\n* [Deny service principal with owner role](policies/deny_service_principal_with_owner_role.json)\n* [Limit maximum users (3) with owner role](policies/limit_max_3_user_with_owner_role.json)\n\n\n## Runbooks\n\nIn order to prevent most common security issues, I've added some runbooks to automate some tasks.\n\n⚠️ Remember: You need to edit the runbooks to add your own values. \nEditable values are at the top of the file with a comment.\n\n* [update_exposed_ssh_rdp.ps1](runbooks/update_exposed_ssh_rdp.ps1)\n* [update_users_with_admin_roles.ps1](runbooks/update_users_with_admin_roles.ps1)\n\n## Roles\n\nI've added just 2 roles to start with, but I'll be adding more as I go along.\n\n* [Owner sec](roles/owner-sec.json)\n* [Contributor sec](roles/contributor-sec.json)\n\nThese roles are based on the default owner and contributor roles, but with some restrictions added. **Anyway these are not safe at all** but they are better than the default ones.\n\nI'll be adding safer roles like: `Developer`, `Devops`, `Product Owner` or `Security Auditor`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidmoremad%2Fazure-security-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidmoremad%2Fazure-security-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidmoremad%2Fazure-security-templates/lists"}