ClickHouse/tests/integration/test_password_constraints/configs/complexity_rules.xml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
769 B
XML
Raw Normal View History

2022-11-04 03:36:16 +00:00
<clickhouse>
<password_complexity>
<rule>
2022-11-22 02:41:23 +00:00
<pattern>.{12}</pattern>
2022-11-04 03:36:16 +00:00
<message>be at least 12 characters long</message>
</rule>
<rule>
2022-11-22 02:41:23 +00:00
<pattern>\p{N}</pattern>
2022-11-04 03:36:16 +00:00
<message>contain at least 1 numeric character</message>
</rule>
<rule>
2022-11-22 02:41:23 +00:00
<pattern>\p{Ll}</pattern>
2022-11-04 03:36:16 +00:00
<message>contain at least 1 lowercase character</message>
</rule>
<rule>
2022-11-22 02:41:23 +00:00
<pattern>\p{Lu}</pattern>
2022-11-04 03:36:16 +00:00
<message>contain at least 1 uppercase character</message>
</rule>
<rule>
2022-11-22 02:41:23 +00:00
<pattern>[^\p{L}\p{N}]</pattern>
2022-11-04 03:36:16 +00:00
<message>contain at least 1 special character</message>
</rule>
</password_complexity>
</clickhouse>
2022-11-22 02:41:23 +00:00