PSRule-vscode/docs/example.Rule.yaml

41 строка
635 B
YAML

---
# Synopsis: An example baseline
apiVersion: github.com/microsoft/PSRule/v1
kind: Baseline
metadata:
name: ExampleBaseline
spec:
rule:
exclude:
- Rule1
---
# Synopsis: An example module configuration
apiVersion: github.com/microsoft/PSRule/v1
kind: ModuleConfig
metadata:
name: ExampleConfiguration
spec:
binding: { }
configuration: { }
output:
culture:
- en-US
---
# Synopsis: An example selector
apiVersion: github.com/microsoft/PSRule/v1
kind: Selector
metadata:
name: ExampleSelector
spec:
if:
allOf:
- field: Name
equals: TargetObject1
- field: Value
equals: value1