microsoft/hve-core
Publicmirrored fromhttps://github.com/microsoft/hve-coreAvailable
.github/policies/jit.yml
20lines · modecode
| 1 | # Documentation for JIT policy: https://aka.ms/gim/docs/policy/jit |
| 2 | --- |
| 3 | # metadata |
| 4 | id: id |
| 5 | name: JIT_Access |
| 6 | description: Policy for admin JIT for repos in this org |
| 7 | |
| 8 | # filters |
| 9 | resource: repository |
| 10 | |
| 11 | # primitive configuration |
| 12 | configuration: |
| 13 | jitAccess: |
| 14 | enabled: true |
| 15 | maxHours: 2 |
| 16 | approvers: |
| 17 | role: |
| 18 | users: |
| 19 | requestors: |
| 20 | role: Write |
| 21 | |