{"id":20697460,"url":"https://github.com/epomatti/azure-pim-security","last_synced_at":"2026-04-18T07:36:53.938Z","repository":{"id":212849773,"uuid":"732432176","full_name":"epomatti/azure-pim-security","owner":"epomatti","description":"Azure Privileged Identity Management (PIM) security scenarios","archived":false,"fork":false,"pushed_at":"2023-12-16T17:00:15.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-29T22:11:29.952Z","etag":null,"topics":["azure","azure-pim","azure-security","entra","entra-id","pim","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/epomatti.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":"2023-12-16T16:50:42.000Z","updated_at":"2023-12-16T17:02:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"adf1934d-6b6a-451c-aa4d-1644c99437e1","html_url":"https://github.com/epomatti/azure-pim-security","commit_stats":null,"previous_names":["epomatti/azure-pim-security"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/epomatti/azure-pim-security","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fazure-pim-security","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fazure-pim-security/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fazure-pim-security/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fazure-pim-security/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epomatti","download_url":"https://codeload.github.com/epomatti/azure-pim-security/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fazure-pim-security/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31961347,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","azure-pim","azure-security","entra","entra-id","pim","terraform"],"created_at":"2024-11-17T00:18:09.071Z","updated_at":"2026-04-18T07:36:53.916Z","avatar_url":"https://github.com/epomatti.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure PIM Security\n\nAzure Privileged Identity Management (PIM) security scenarios.\n\nTo create the sample resources:\n\n```sh\ncp config/template.tfvars .auto.tfvars\n\nterraform init\nterraform apply -auto-approve\n```\n\n### Role settings\n\nSettings you can require on `activation`:\n\n- MFA, or conditional access authentication context\n- Justification\n- Ticket information\n- Approval\n\nAssignment:\n\n- Allow permanent eligible assignment (or set to expire)\n- Allow permanent active assignment (or set ot expire)\n- Require Azure MFA on active assignment\n- Require justification on active assignment\n\n### Scenario\n\nHere is a scenario for PIM assignment.\n\nThe following users will be created:\n\n| Name     | Member of      |\n|----------|----------------|\n| User1    | Group1         |\n| User2    | Group2         |\n| User3    | Group1, Group2 |\n\n\u003e ℹ️ `Group1` and `Group2` are already created with PIM roles assignment enabled\n\nTo execute this PIM scenario, configure a role such as `Security Administrator` like this:\n\n\u003cimg src=\".assets/pim1.png\" /\u003e\n\n\u003cimg src=\".assets/pim2.png\" /\u003e\n\n`Group1` assignment:\n\n\u003cimg src=\".assets/pim3.png\" /\u003e\n\n`Group2` assignment:\n\n\u003cimg src=\".assets/pim4.png\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepomatti%2Fazure-pim-security","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepomatti%2Fazure-pim-security","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepomatti%2Fazure-pim-security/lists"}