ClickHouse/tests
Vasily Nemkov c902afddde Added system.session_log table
Which logs all the info about LogIn, LogOut and LogIn Failure events.
Additional info that is logged:
- User name
- event type (LogIn, LogOut, LoginFailure)
- Event date\time\time with microseconds
- authentication type (same as for IDENTIFIED BY of CREATE USER statement)
- array of active settings profiles upon login
- array of active roles upon login
- array of changed settings with corresponding values
- client address and port
- interface (TCP\HTTP\MySQL\PostgreSQL, etc.)
- client info (name, version info)
- optional LoginFailure reason text message.

Added some tests to verify that events are properly saved with all necessary info via following interfaces:
- TCP
- HTTP
- MySQL

Known limitations
- Not tested against named HTTP sessions, PostgreSQL and gRPC, hence those are not guaranteed to work 100% properly.
2021-08-30 18:28:28 +03:00
..
ci
config Added system.session_log table 2021-08-30 18:28:28 +03:00
external_models/catboost
fuzz
instructions
integration Merge pull request #25251 from kssenii/disk-over-web-server 2021-08-30 16:18:59 +03:00
jepsen.clickhouse-keeper Fix clickhouse keeper jepsen tests 2021-08-25 19:15:56 +03:00
perf_drafts
performance Merge pull request #27729 from ContentSquare/sequenceMatchQuickCheck 2021-08-30 13:04:23 +03:00
queries Added system.session_log table 2021-08-30 18:28:28 +03:00
testflows Testflows are broken 2021-08-16 03:01:30 +03:00
users.d
.gitignore
clickhouse-client.xml
clickhouse-test Merge branch 'master' into break_some_tests 2021-08-20 13:24:17 +00:00
client-test.xml
CMakeLists.txt
decimals_dictionary.xml
executable_pool_dictionary.xml
ints_dictionary.xml
msan_suppressions.txt
server-test.xml
stress
strings_dictionary.xml Fix broken links 2020-04-02 12:10:09 +03:00
tsan_suppressions.txt
ubsan_suppressions.txt
users.xml