Azure: Filter Configuration - Need Examples #7400
Replies: 9 comments
-
Looks like I am using the correct resource type, filter, and action and the custodian is still failing the validation. I am having the same issue with storageaccount-TLS-not-latest-version.yml Policy
ERROR in Validation
Issue with require-secure-transfer - storageaccount
Policy
|
Beta Was this translation helpful? Give feedback.
-
Hey @aakifshaikh - This appears to be an automated documentation generation bug. Several of the filters listed in "common filters" there aren't really common. I'm investigating it now. The You can verify what actions and filters are available for a given resource using this syntax at the command line:
If you are trying to verify the HTTPS/TLS requirement for storage then you probably want this:
|
Beta Was this translation helpful? Give feedback.
-
@stefangordon - can you please check my filter - where I am trying to find if MFA is enabled for privileged users-
2 Ensure that 'Python version' is the latest if used to run the web app
Thank you in advance. |
Beta Was this translation helpful? Give feedback.
-
Hi @aakifshaikh
|
Beta Was this translation helpful? Give feedback.
-
These are among the controls from CIS Benchmark for Azure v1.1.0 - 02-15-2019. I am trying to write cloud custodian policies to identify the non-compliant items and report it. 1.1 Ensure that multi-factor authentication is enabled for all privileged users |
Beta Was this translation helpful? Give feedback.
-
@aakifshaikh, I will take a look today what we can do |
Beta Was this translation helpful? Give feedback.
-
@aakifshaikh For 1.1 and 1.2 I will file an issue to add the support for MFA check for users. For 9.6-9.9, I would suggest using |
Beta Was this translation helpful? Give feedback.
-
Thank you for working on this. can you reference those issue numbers here. |
Beta Was this translation helpful? Give feedback.
-
Just filed this for MFA: #6607 |
Beta Was this translation helpful? Give feedback.
-
https://cloudcustodian.io/docs/azure/resources/azure-common-filters.html#azure-common-filters-configuration
Can you please share with me a repo where you may have written a lot of azure policies?
Beta Was this translation helpful? Give feedback.
All reactions