This is a Github Action that provides an interface to the plan
action for
Sheriff, a command line tool to
manage Microsoft Entra Privileged Identity Management (Microsoft Entra PIM)
using desired state configuration.
This task runs the plan action of Sheriff CLI on the agent. The configDir
input will point to
the location of the configuration files. The mode
input describes whether Sheriff will perform the plan action
on groups
or resources
. The subscriptionId
input is the Azure subscription ID.
steps:
steps:
- name: Setup Sheriff
uses: gofrontier-com/sheriff-setup-action@main
- name: Log in with Azure
uses: azure/login@v1
with:
creds: '${{ secrets.AZURE_CREDENTIALS }}'
- name: Sheriff Plan
uses: gofrontier-com/sheriff-plan-action@v1
with:
configDir: config/resources
mode: resources
subscriptionId: '${{ secrets.SUBSCRIPTION_ID }}'
We welcome contributions to this repository. Please see CONTRIBUTING.md for more information.