-
Notifications
You must be signed in to change notification settings - Fork 6
/
ps-rule.yaml
56 lines (47 loc) · 1.28 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
#
# 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/
# https://github.com/microsoft/PSRule.Rules.CAF
input:
pathIgnore:
- ".vscode/"
- "*.md"
- "*.Designer.cs"
- "*.resx"
- "*.sln"
- "*.txt"
- "*.html"
- "*.ico"
include:
path: []
module:
- "PSRule.Rules.Azure"
- "PSRule.Rules.CAF"
requires:
PSRule.Rules.CAF: ">=0.3.0"
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
- Azure.KeyVault.SoftDelete
- Azure.KeyVault.PurgeProtect
- Azure.AppGw.UseHTTPS #In this project AGIC is in charge of managing the AppGW.
- Azure.ACR.ContentTrust
- Azure.Storage.UseReplication
- Azure.Storage.SoftDelete
- Azure.Cosmos.DisableMetadataWrite