2019-06-16 00:43:01 +00:00
|
|
|
rules:
|
|
|
|
- name: salty-dog-rule
|
|
|
|
desc: rules must be complete
|
|
|
|
level: info
|
|
|
|
tags:
|
|
|
|
- important
|
|
|
|
|
|
|
|
select: '$.rules[*]'
|
|
|
|
filter:
|
|
|
|
type: object
|
|
|
|
|
|
|
|
check:
|
|
|
|
type: object
|
|
|
|
additionalProperties: false
|
|
|
|
required:
|
|
|
|
# metadata
|
|
|
|
- name
|
|
|
|
- desc
|
|
|
|
- level
|
|
|
|
- tags
|
|
|
|
# data
|
|
|
|
- select
|
|
|
|
- check
|
|
|
|
properties:
|
|
|
|
name:
|
|
|
|
type: string
|
|
|
|
desc:
|
|
|
|
type: string
|
|
|
|
level:
|
|
|
|
type: string
|
|
|
|
tags:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
2019-06-16 03:50:41 +00:00
|
|
|
pattern: "[-:a-z0-9]+"
|
2019-06-16 00:43:01 +00:00
|
|
|
select:
|
|
|
|
type: string
|
|
|
|
filter:
|
|
|
|
type: object
|
|
|
|
check:
|
|
|
|
type: object
|