1# Copyright (c) 2022 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14domain: USERIAM_FWK
15
16USERIAM_SYSTEM_FAULT:
17  __BASE: {type: FAULT, level: CRITICAL, tag: LifeCycle, desc: system fault message}
18  HAPPEN_TIME: {type: STRING, desc: happen time}
19  MODULE_NAME: {type: STRING, desc: module name}
20
21USERIAM_USER_CREDENTIAL_MANAGER:
22  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserIdm, desc: credential manager message}
23  CALLER_NAME: {type: STRING, desc: caller name}
24  USER_ID: {type: INT32, desc: user id}
25  AUTH_TYPE: {type: INT32, desc: auth type}
26  OPERATION_TYPE: {type: UINT32, desc: operation type}
27  OPERATION_RESULT: {type: INT32, desc: operation result}
28
29USERIAM_CREDENTIAL_CHANGE:
30  __BASE: {type: SECURITY, level: CRITICAL, tag: UserIdm, desc: credential change message}
31  CALLER_NAME: {type: STRING, desc: caller name}
32  REQUEST_CONTEXTID: {type: UINT64, desc: context id}
33  USER_ID: {type: INT32, desc: user id}
34  AUTH_TYPE: {type: INT32, desc: auth type}
35  OPERATION_TYPE: {type: UINT32, desc: operation type}
36  OPERATION_RESULT: {type: INT32, desc: operation result}
37  TIME_SPAN: {type: UINT64, desc: time span}
38
39USERIAM_TEMPLATE_CHANGE:
40  __BASE: {type: SECURITY, level: CRITICAL, tag: UserIdm, desc: template change message}
41  SCHEDULE_ID: {type: UINT64, desc: schedule id}
42  EXECUTOR_TYPE: {type: INT32, desc: executor type}
43  CHANGE_TYPE: {type: UINT32, desc: change type}
44  TRIGGER_REASON: {type: STRING, desc: trigger reason}
45
46USERIAM_USER_AUTH:
47  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserAuth, desc: user auth message}
48  CALLER_NAME: {type: STRING, desc: caller name}
49  SDK_VERSION: {type: UINT32, desc: sdk version}
50  AUTH_TRUST_LEVEL: {type: UINT32, desc: auth trust level}
51  AUTH_TYPE: {type: INT32, desc: auth type}
52  AUTH_RESULT: {type: INT32, desc: auth result}
53  AUTH_TIME_SPAN: {type: UINT64, desc: auth time span}
54  AUTH_WIDGET_TYPE: {type: UINT32, desc: auth widget auth type and window mode}
55  REUSE_UNLOCK_RESULT_TYPE: {type: UINT32, desc: whether to reuse unlock result and reused mode}
56  REUSE_UNLOCK_RESULT_DURATION: {type: UINT64, desc: allowable reuse unlock result duration}
57  IS_BACKGROUND_APPLICATION: {type: BOOL, desc: is foreground application}
58
59USERIAM_USER_AUTH_FWK:
60  __BASE: {type: SECURITY, level: CRITICAL, tag: UserAuth, desc: user auth security message}
61  CALLER_NAME: {type: STRING, desc: caller name}
62  REQUEST_CONTEXTID: {type: UINT64, desc: request context id}
63  AUTH_CONTEXTID: {type: UINT64, desc: auth context id}
64  AUTH_TRUST_LEVEL: {type: UINT32, desc: auth trust level}
65  AUTH_TYPE: {type: INT32, desc: auth type}
66  AUTH_RESULT: {type: INT32, desc: auth result}
67  AUTH_TIME_SPAN: {type: UINT64, desc: auth time span}
68
69