-
Notifications
You must be signed in to change notification settings - Fork 2
/
liquibase.checks-settings.conf
108 lines (107 loc) · 5.41 KB
/
liquibase.checks-settings.conf
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
Quality Checks Version: 1.0
IMPORTANT: DO NOT MODIFY THIS FILE DIRECTLY. UNRECOVERABLE and UNSUPPORTED ERRORS ARE LIKELY IF YOU EDIT THIS FILE DIRECTLY.
This file is created and modified by running commands in the Liquibase CLI.
For help using quality checks, visit the documentation at https://docs.liquibase.com/quality-checks
-----------------------------------------------------------------------------------------------
!!com.datical.liquibase.ext.checks.config.model.CheckSettingsConfig
rules:
- !!com.datical.liquibase.ext.checks.config.model.BasicRule {enabled: true, id: !!java.util.UUID '38fc7edf-9a60-3d00-8b40-23c7e719745f',
severity: MAJOR}
- !!com.datical.liquibase.ext.checks.config.model.BasicRule {enabled: true, id: !!java.util.UUID '0b73828f-2e8d-3c36-b1c3-7153bcb6f160',
severity: MAJOR}
- !!com.datical.liquibase.ext.checks.config.model.BasicRule {enabled: true, id: !!java.util.UUID '218fa8f2-ea81-308e-b010-5c25cf62c8fc',
severity: MINOR}
- !!com.datical.liquibase.ext.checks.config.model.BasicRule {enabled: true, id: !!java.util.UUID '223ed841-5f53-3eab-8ca8-f66393c689a4',
severity: INFO}
- !!com.datical.liquibase.ext.checks.config.model.BasicRule {enabled: false, id: !!java.util.UUID 'e98e0a4d-0582-360b-a89f-37b2f65e65d2',
severity: INFO}
- !!com.datical.liquibase.ext.checks.config.model.DynamicRule
description: This check scans raw SQL for the presence of specific patterns and
warns the user when they are found.
enabled: true
id: !!java.util.UUID '8f45647f-df45-30c5-b8b5-0b7b4486c0e9'
name: Check for specific patterns in sql
parameters:
- {parameter: SEARCH_STRING, value: '(?i)^(\s*)(CREATE ROLE)'}
- {parameter: MESSAGE, value: create role statement detected. This is not allowed.}
- {parameter: STRIP_COMMENTS, value: true}
parentRuleId: !!java.util.UUID '6fe07581-c90d-3add-9057-1547a1439727'
severity: CRITICAL
shortName: SqlCreateRoleCheck
- !!com.datical.liquibase.ext.checks.config.model.DynamicRule
description: This check scans raw SQL for the presence of specific patterns and
warns the user when they are found.
enabled: false
id: !!java.util.UUID '6fe07581-c90d-3add-9057-1547a1439727'
name: Check for specific patterns in sql
parameters:
- {parameter: SEARCH_STRING, value: null}
- {parameter: MESSAGE, value: A match for regular expression <SEARCH_STRING> was
detected in Changeset <CHANGESET>.}
- {parameter: STRIP_COMMENTS, value: true}
parentRuleId: null
severity: INFO
shortName: SqlUserDefinedPatternCheck
- !!com.datical.liquibase.ext.checks.config.model.DynamicRule
description: Ensures that no table has more than a threshold number of columns.
enabled: false
id: !!java.util.UUID '2abde5de-a71d-3ead-8fd6-e13a743c0aec'
name: Check Table Column Count
parameters:
- {parameter: MAX_COLUMNS, value: 50}
parentRuleId: null
severity: INFO
shortName: TableColumnLimit
- !!com.datical.liquibase.ext.checks.config.model.DynamicRule
description: This check warns a user when changeset includes or generates sql that
grants specific privileges to a user or role
enabled: false
id: !!java.util.UUID '751a7709-1676-36eb-b1fb-31819ff4b681'
name: Warn on Grant of Specific Privileges
parameters:
- {parameter: PRIVILEGE_LIST, value: null}
parentRuleId: null
severity: INFO
shortName: SqlGrantSpecificPrivsWarn
- !!com.datical.liquibase.ext.checks.config.model.BasicRule {enabled: true, id: !!java.util.UUID '136bed9a-17c5-3edc-b1e7-30065052e859',
severity: BLOCKER}
- !!com.datical.liquibase.ext.checks.config.model.BasicRule {enabled: false, id: !!java.util.UUID '892b5881-6d02-3846-bdf0-c8538e7b013f',
severity: INFO}
- !!com.datical.liquibase.ext.checks.config.model.BasicRule {enabled: true, id: !!java.util.UUID 'a85a72fd-9d93-33cd-bbdb-59f21538af9d',
severity: BLOCKER}
- !!com.datical.liquibase.ext.checks.config.model.BasicRule {enabled: false, id: !!java.util.UUID '00da80be-8adf-3c05-9380-b2538ae3015a',
severity: INFO}
- !!com.datical.liquibase.ext.checks.config.model.BasicRule {enabled: false, id: !!java.util.UUID 'e56b7a4a-5953-3be3-96d2-0814eb8e7a02',
severity: INFO}
- !!com.datical.liquibase.ext.checks.config.model.BasicRule {enabled: false, id: !!java.util.UUID '517fcf2f-769c-3916-af1c-4c6aeef37914',
severity: INFO}
- !!com.datical.liquibase.ext.checks.config.model.DynamicRule
description: This check confirms the listed object names conform to the supplied
pattern.
enabled: false
id: !!java.util.UUID '51362082-ddc1-34dc-98f6-c7413345b19b'
name: Object name pattern match
parameters:
- {parameter: OPERATOR, value: STARTS_WITH}
- {parameter: SEARCH_STRING, value: null}
- {parameter: OBJECT_TYPES, value: null}
- {parameter: CASE_SENSITIVE, value: true}
parentRuleId: null
severity: INFO
shortName: ObjectNameMustMatch
- !!com.datical.liquibase.ext.checks.config.model.DynamicRule
description: This check confirms the listed object names do not match the supplied
pattern.
enabled: false
id: !!java.util.UUID '1bd2ac39-66fd-31fc-ac37-d6ba4c6319cc'
name: Object name pattern not match
parameters:
- {parameter: OPERATOR, value: STARTS_WITH}
- {parameter: SEARCH_STRING, value: null}
- {parameter: OBJECT_TYPES, value: null}
- {parameter: CASE_SENSITIVE, value: true}
parentRuleId: null
severity: INFO
shortName: ObjectNameMustNotMatch
- !!com.datical.liquibase.ext.checks.config.model.BasicRule {enabled: true, id: !!java.util.UUID 'd517b518-8a6f-3084-a5be-97e7d89c6860',
severity: INFO}