Other subscriptions accounts might show other results
The updater runs against my personal subscription on Azure. I do not know if the list of
built-in roles or providers is the same for each subscription, or if it depends on e.g.
registered providers, registered feature flags etc.
When I checked against a different subscription I have access to, I did not see any
differences, but I don’t know if that’s globally true.
Feedback / definitive info on that is welcome.
Role file format
The JSON format here is from az role definition list, with the Subscription Id part redacted.
This differs structurally (not only in attribute order) from the Roles JSON view in Azure Portal.
JSON View in Azure Portal: The id property is listed first, all other attributes are nested
in a properties attribute. Order of attributes seems “natural”.
Output of az role definition list for the AcrDelete role: properties subattributes are pulled
up to the top level, everything is sorted alphabetically. I also chose to enforce this attribute
sort order once more in ./scripts/_reformat.sh, to avoid update noise.
So should Azure ever reorder the JSON attributes when using az, this repo will not reflect that.
Monitor/Archive of Azure IAM Definitions
Twitter account has been suspended, so tweeting is disabled until this is resolved
Frequently updated list of
actions/dataActionsin role definitions)to track changes over time. Inspired by MAMIP Monitor AWS Managed IAM Policies.
What it does
There is a scheduled workflow that does the following steps:
az role definition list, saved as one file per role definitionaz provider operation list / show, saved as one file per providerjqto guard a bit against diff noiseTODO list
Add twitter bot support, similar to MAMIPCaveats
Other subscriptions accounts might show other results
The updater runs against my personal subscription on Azure. I do not know if the list of built-in roles or providers is the same for each subscription, or if it depends on e.g. registered providers, registered feature flags etc. When I checked against a different subscription I have access to, I did not see any differences, but I don’t know if that’s globally true.
Feedback / definitive info on that is welcome.
Role file format
The JSON format here is from
az role definition list, with the Subscription Id part redacted. This differs structurally (not only in attribute order) from the Roles JSON view in Azure Portal.JSON View in Azure Portal: The
idproperty is listed first, all other attributes are nested in apropertiesattribute. Order of attributes seems “natural”.Output of
az role definition listfor theAcrDeleterole:propertiessubattributes are pulled up to the top level, everything is sorted alphabetically. I also chose to enforce this attribute sort order once more in ./scripts/_reformat.sh, to avoid update noise. So should Azure ever reorder the JSON attributes when usingaz, this repo will not reflect that.