diff --git a/avm/utilities/pipelines/staticValidation/psrule/.ps-rule/custom-rules.Rules.yaml b/avm/utilities/pipelines/staticValidation/psrule/.ps-rule/custom-rules.Rules.yaml deleted file mode 100644 index c3bb28aae8..0000000000 --- a/avm/utilities/pipelines/staticValidation/psrule/.ps-rule/custom-rules.Rules.yaml +++ /dev/null @@ -1,14 +0,0 @@ -# Synopsis: Use a zone or geo redundant storage account -apiVersion: github.com/microsoft/PSRule/v1 -kind: Rule -metadata: - name: 'Custom.Azure.Storage.UseReplication' -spec: - type: - - Microsoft.Storage/storageAccounts - condition: - anyOf: - - field: 'Sku.name' - contains: 'ZRS' - - field: 'Sku.name' - contains: 'GRS' diff --git a/avm/utilities/pipelines/staticValidation/psrule/ps-rule.yaml b/avm/utilities/pipelines/staticValidation/psrule/ps-rule.yaml index 93adbe11ca..cedbb7630d 100644 --- a/avm/utilities/pipelines/staticValidation/psrule/ps-rule.yaml +++ b/avm/utilities/pipelines/staticValidation/psrule/ps-rule.yaml @@ -74,11 +74,10 @@ configuration: rule: # Enable custom rules that don't exist in the baseline - includeLocal: true + includeLocal: false exclude: # Ignore the following rules for all resources - Azure.KeyVault.PurgeProtect - Azure.VM.UseHybridUseBenefit - - Azure.Storage.UseReplication - Azure.AppConfig.PurgeProtect - Azure.APIM.MultiRegion # Team agreed this is too expensive for most use cases and is safe to ignore.