This is a Github Action that provides an interface to the apply
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 apply 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 actions
on groups
or resources
. The subscriptionId
is the Azure subscription ID.
steps:
- name: Setup Sheriff
uses: gofrontier-com/sheriff-setup-action@v1
- name: Log in with Azure
uses: azure/login@v1
with:
creds: '${{ secrets.AZURE_CREDENTIALS }}'
- name: Sheriff Apply
uses: gofrontier-com/sheriff-apply-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.