docs: comments and phrasing
This commit is contained in:
parent
f2579d4a5a
commit
79e115be08
|
@ -172,7 +172,8 @@ rules:
|
|||
|
||||
Schema used to filter selected nodes.
|
||||
|
||||
If a node was `select`ed but but does not match this schema, it will be skipped and the rule will check the next node.
|
||||
If a node was `select`ed but but does not match this schema, it will be skipped and the rule will move on to the next
|
||||
node.
|
||||
|
||||
Uses [ajv syntax](https://ajv.js.org/keywords.html) in an object.
|
||||
|
||||
|
|
|
@ -7,6 +7,8 @@ rules:
|
|||
- grafana
|
||||
- dashboard
|
||||
|
||||
# this is not the ideal selector for this rule, but tags are located at $.dashboard.tags, while notification
|
||||
# channels are nested under $.dashboard.panels[*].alert.notifications[*].uid
|
||||
select: '$'
|
||||
|
||||
filter:
|
||||
|
@ -41,7 +43,6 @@ rules:
|
|||
items:
|
||||
type: object
|
||||
required: [uid]
|
||||
additionalProperties: false
|
||||
properties:
|
||||
uid:
|
||||
type: string
|
||||
|
|
Loading…
Reference in New Issue