1# Copyright (c) 2022-2023 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: DEVICE_AUTH
15
16CALL_EVENT:
17  __BASE: {type: BEHAVIOR, level: MINOR, desc: the frequency of function calling}
18  REQ_ID: {type: INT64, desc: request id}
19  FUNC_NAME: {type: STRING, desc: function name}
20  APP_ID: {type: STRING, desc: app id}
21  OS_ACCOUNT_ID: {type: INT32, desc: os account id}
22  CALL_RESULT: {type: INT32, desc: call result}
23
24FAULT_EVENT:
25  __BASE: {type: FAULT, level: CRITICAL, desc: fault event}
26  FUNCTION_NAME: {type: STRING, desc: function name}
27  FAULT_REASON: {type: INT32, desc: fault reason}
28  CRED_TYPE: {type: UINT8, desc: credential type}
29  GROUP_TYPE: {type: INT32, desc: group type}
30  APP_ID: {type: STRING, desc: app id}
31
32STATISTIC_EVENT:
33  __BASE: {type: STATISTIC, level: MINOR, desc: Statistic Event}
34  APP_ID: {type: STRING, desc: app id}
35  COST_TIME: {type: INT64, desc: cost time}
36  CALL_RESULT: {type: INT32, desc: call result}
37  FUNCTION_NAME: {type: STRING, desc: function name}
38  CRED_TYPE: {type: UINT8, desc: credential type}
39  PROTOCOL_TYPE: {type: INT32, desc: protocol type}