forked from Azure/AKS-Construction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathps-rule.yaml
67 lines (52 loc) · 1.31 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#
# PSRule configuration
#
# Please see the documentation for all configuration options:
# https://microsoft.github.io/PSRule/
# https://azure.github.io/PSRule.Rules.Azure/setup/configuring-options/
input:
pathIgnore:
- '.vscode/'
- '*.md'
- '*.Designer.cs'
- '*.resx'
- '*.sln'
- '*.txt'
- '*.html'
- '*.ico'
include:
path: []
module:
# Allow local testing in Visual Studio Code
# https://azure.github.io/PSRule.Rules.Azure/validating-locally/
- 'PSRule.Rules.Azure'
output:
culture:
- en-US
configuration:
# Enable automatic expansion of Azure parameter files
AZURE_PARAMETER_FILE_EXPANSION: true
# Bicep is experimental and currently disabled as testing occurs against compiled template
# Enable automatic expansion of bicep source files
# AZURE_BICEP_FILE_EXPANSION: true
#ProjectSpecifc rules
Azure_AKSNodeMinimumMaxPods: 30
rule:
exclude:
# Ignore the following rules for all resources
- Azure.Resource.UseTags
- Azure.VM.Standalone
suppression:
Azure.AKS.AuthorizedIPs:
# Exclude the following AKS clusters
- aks-AksStan
Azure.AKS.MinNodeCount:
- aks-AksStan
Azure.AKS.NetworkPolicy:
- aks-AksStan
Azure.AKS.AzurePolicyAddOn:
- aks-AksStan
Azure.AKS.AutoScaling:
- aks-AksStan
Azure.AKS.AvailabilityZone:
- aks-AksStan