forked from Azure/PSRule.Rules.Azure-quickstart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathps-rule.yaml
45 lines (36 loc) · 843 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
42
43
44
45
#
# PSRule for Azure configuration
#
# Please see the documentation for all configuration options:
# https://aka.ms/ps-rule-azure
binding:
preferTargetInfo: true
targetType:
- type
- resourceType
# Use PSRule for Azure
include:
module:
- PSRule.Rules.Azure
output:
culture:
- 'en-US'
input:
pathIgnore:
- '.vscode/'
- '.github/'
- '*.md'
# Exclude modules but not tests.
- 'bicep/modules/**/*.bicep'
- '!bicep/modules/**/*.tests.bicep'
configuration:
# Enable automatic expansion of Azure parameter files
AZURE_PARAMETER_FILE_EXPANSION: true
# Enable automatic expansion of Azure Bicep source files
AZURE_BICEP_FILE_EXPANSION: true
# Suppression ignores rules for a specific Azure resource by name
suppression:
Azure.KeyVault.Logs:
- kvtest001
Azure.Storage.BlobPublicAccess:
- sttest001