-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathps-rule.yaml
39 lines (34 loc) · 1.02 KB
/
ps-rule.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# PSRule configuration
#
# Please see the documentation for all configuration options:
# https://aka.ms/ps-rule-azure/options
# Require a minimum version of PSRule for Azure.
requires:
PSRule.Rules.Azure: ">=1.29.0"
# Automatically use rules for Azure.
include:
module:
- PSRule.Rules.Azure
# Ignore all files except .bicepparam files.
input:
pathIgnore:
- "**"
# Include test files from modules
- "!modules/**/*.test.bicep"
#- "!**/*.bicepparam"
# Exclude bicepconfig.json
#- "bicepconfig.json"
# Exclude module files
#- "modules/**/*.bicep"
# Include test files from modules
#- "!modules/**/*.tests.bicep"
# Enable expansion of Azure .bicepparam files.
configuration:
AZURE_BICEP_PARAMS_FILE_EXPANSION: true
AZURE_BICEP_FILE_EXPANSION: true
AZURE_BICEP_CHECK_TOOL: true
PSRULE_AZURE_BICEP_PAT: "/usr/local/bin/"
rule:
exclude:
- "AZR-000125" # exluded Azure.KeyVault.PurgeProtect. Enable Purge Protection on Key Vaults to prevent early purge of vaults and vault items.