-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathps-rule.yaml
41 lines (33 loc) · 907 Bytes
/
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
configuration:
# Enable automatic expansion of bicep source files.
AZURE_BICEP_FILE_EXPANSION: true
# Enable automatic expansion of param files
AZURE_PARAMETER_FILE_EXPANSION: true
execution:
# Ignore warnings for resources and objects that don't have any rules.
unprocessedObject: Ignore
input:
pathIgnore:
# Ignore common files that don't need analysis.
- "**/bicepconfig.json"
- "*.yaml"
- "*.yml"
- "*.md"
- "*.ps1"
# Exclude Bicep module files.
- "bicep/modules/**/*.bicep"
# Exclude JSON module files.
- "bicep/modules/**/*.json"
# Include bicep files from modules.
- "!bicep/modules/**/.tests/*.bicep"
include:
module:
- PSRule.Rules.Azure
- PSRule.Rules.CAF
- PSRule.Rules.Kubernetes
rule:
exclude:
# Ignore the following rules for all objects
- Azure.Resource.UseTags
output:
culture: ["en-GB"]