nikomix/Sync Azure Policy Definitions

Recursively sync custom Azure Policy definitions at tenant scope from a folder structure.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
rootRoot folder that contains policy folders.yes
tenant-idAzure tenant ID used for service principal login.yes
client-idAzure service principal app (client) ID.yes
client-secretAzure service principal client secret.yes
policy-name-prefixOptional prefix added to generated policy definition names.no""
allow-overwriteIf false, existing policy definitions are not updated.notrue
delete-missing-policiesIf true, delete custom tenant policy definitions that are not present in the repository.nofalse
delete-missing-initiativesIf true, delete custom tenant policy set definitions not represented by root-level JSON files.nofalse
dry-runIf true, only logs what would be created.nofalse
log-levelLogging verbosity. One of quiet, normal, verbose.nonormal
namedescription
created-countNumber of policy definitions created or updated.
deleted-countNumber of policy definitions deleted because they were missing from the repository.
warning-countNumber of warnings for tenant policy definitions not present in the repository.
initiative-created-countNumber of policy initiatives created or updated.
initiative-deleted-countNumber of policy initiatives deleted because they were missing from root-level JSON files.
initiative-warning-countNumber of warnings for tenant policy initiatives not represented by root-level JSON files.