commit
eb215726d5
|
@ -908,7 +908,7 @@ test_columns('client.check_authn_complete') ->
|
||||||
[
|
[
|
||||||
{<<"clientid">>, [<<"c_emqx">>, <<"the clientid if the client">>]},
|
{<<"clientid">>, [<<"c_emqx">>, <<"the clientid if the client">>]},
|
||||||
{<<"username">>, [<<"u_emqx">>, <<"the username if the client">>]},
|
{<<"username">>, [<<"u_emqx">>, <<"the username if the client">>]},
|
||||||
{<<"reason_code">>, [<<"sucess">>, <<"the reason code">>]},
|
{<<"reason_code">>, [<<"success">>, <<"the reason code">>]},
|
||||||
{<<"is_superuser">>, [true, <<"Whether this is a superuser">>]},
|
{<<"is_superuser">>, [true, <<"Whether this is a superuser">>]},
|
||||||
{<<"is_anonymous">>, [false, <<"Whether this is a superuser">>]}
|
{<<"is_anonymous">>, [false, <<"Whether this is a superuser">>]}
|
||||||
];
|
];
|
||||||
|
@ -1087,7 +1087,7 @@ columns_with_exam('client.check_authn_complete') ->
|
||||||
{<<"clientid">>, <<"c_emqx">>},
|
{<<"clientid">>, <<"c_emqx">>},
|
||||||
{<<"username">>, <<"u_emqx">>},
|
{<<"username">>, <<"u_emqx">>},
|
||||||
{<<"peername">>, <<"192.168.0.10:56431">>},
|
{<<"peername">>, <<"192.168.0.10:56431">>},
|
||||||
{<<"reason_code">>, <<"sucess">>},
|
{<<"reason_code">>, <<"success">>},
|
||||||
{<<"is_superuser">>, true},
|
{<<"is_superuser">>, true},
|
||||||
{<<"is_anonymous">>, false},
|
{<<"is_anonymous">>, false},
|
||||||
{<<"timestamp">>, erlang:system_time(millisecond)},
|
{<<"timestamp">>, erlang:system_time(millisecond)},
|
||||||
|
|
|
@ -273,7 +273,7 @@ t_rule_test_smoke(_Config) ->
|
||||||
#{
|
#{
|
||||||
<<"clientid">> => <<"c_emqx">>,
|
<<"clientid">> => <<"c_emqx">>,
|
||||||
<<"event_type">> => <<"client_check_authn_complete">>,
|
<<"event_type">> => <<"client_check_authn_complete">>,
|
||||||
<<"reason_code">> => <<"sucess">>,
|
<<"reason_code">> => <<"success">>,
|
||||||
<<"is_superuser">> => true,
|
<<"is_superuser">> => true,
|
||||||
<<"is_anonymous">> => false,
|
<<"is_anonymous">> => false,
|
||||||
<<"username">> => <<"u_emqx">>
|
<<"username">> => <<"u_emqx">>
|
||||||
|
|
|
@ -206,7 +206,7 @@ t_ctx_check_authn_complete(_) ->
|
||||||
#{
|
#{
|
||||||
clientid => <<"c_emqx">>,
|
clientid => <<"c_emqx">>,
|
||||||
event_type => client_check_authn_complete,
|
event_type => client_check_authn_complete,
|
||||||
reason_code => <<"sucess">>,
|
reason_code => <<"success">>,
|
||||||
is_superuser => true,
|
is_superuser => true,
|
||||||
is_anonymous => false
|
is_anonymous => false
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue