1# Copyright (c) 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: SEC_COMPONENT 15 16CALLBACK_FAILED: 17 __BASE: {type: SECURITY, level: CRITICAL, desc: Failed to execute the callback} 18 CALLER_PID: {type: INT32, desc: caller pid} 19 CALLER_UID: {type: INT32, desc: caller uid} 20 CALL_SCENE: {type: STRING, desc: call scene} 21 REASON: {type: STRING, desc: callback execution failure cause} 22 SC_ID: {type: INT32, desc: security component id} 23 SC_TYPE: {type: STRING, desc: security component type} 24 25CALLER_CHECK_FAILED: 26 __BASE: {type: SECURITY, level: CRITICAL, desc: Illegal invocation} 27 CALLER_PID: {type: INT32, desc: caller pid} 28 CALLER_UID: {type: INT32, desc: caller uid} 29 CALL_SCENE: {type: STRING, desc: call scene} 30 31CHALLENGE_CHECK_FAILED: 32 __BASE: {type: SECURITY, level: CRITICAL, desc: Challenge value verification failed} 33 CALLER_PID: {type: INT32, desc: caller pid} 34 CALLER_UID: {type: INT32, desc: caller uid} 35 CALL_SCENE: {type: STRING, desc: call scene} 36 SC_ID: {type: INT32, desc: security component id} 37 SC_TYPE: {type: STRING, desc: security component type} 38 39CLICK_INFO_CHECK_FAILED: 40 __BASE: {type: SECURITY, level: CRITICAL, desc: Failed to verify the click event} 41 CALLER_PID: {type: INT32, desc: caller pid} 42 CALLER_UID: {type: INT32, desc: caller uid} 43 SC_ID: {type: INT32, desc: security component id} 44 SC_TYPE: {type: STRING, desc: security component type} 45 46COMPONENT_INFO_CHECK_FAILED: 47 __BASE: {type: SECURITY, level: CRITICAL, desc: Failed to verify the component information} 48 CALLER_PID: {type: INT32, desc: caller pid} 49 CALLER_UID: {type: INT32, desc: caller uid} 50 CALL_SCENE: {type: STRING, desc: call scene} 51 SC_ID: {type: INT32, desc: security component id} 52 SC_TYPE: {type: STRING, desc: security component type} 53 54INIT_FAILED: 55 __BASE: {type: FAULT, level: CRITICAL, desc: Failed to initialize the security component environment} 56 CALLER_PID: {type: INT32, desc: caller pid} 57 CALLER_UID: {type: INT32, desc: caller uid} 58 REASON: {type: STRING, desc: callback execution failure cause} 59 60REGISTER_SUCCESS: 61 __BASE: {type: BEHAVIOR, level: MINOR, desc: The security component is registered successfully} 62 CALLER_PID: {type: INT32, desc: caller pid} 63 CALLER_UID: {type: INT32, desc: caller uid} 64 SC_ID: {type: INT32, desc: security component id} 65 SC_TYPE: {type: STRING, desc: security component type} 66 67REPEAT_CALLBACK_REGISTER: 68 __BASE: {type: SECURITY, level: CRITICAL, desc: Repeated registration callback} 69 CALLER_PID: {type: INT32, desc: caller pid} 70 CALLER_UID: {type: INT32, desc: caller uid} 71 72SERVICE_INIT_SUCCESS: 73 __BASE: {type: BEHAVIOR, level: MINOR, desc: Security component service starts successfully} 74 PID: {type: INT32, desc: pid of the service process} 75 76TEMP_GRANT_FAILED: 77 __BASE: {type: FAULT, level: CRITICAL, desc: Security component authorization failed} 78 CALLER_PID: {type: INT32, desc: caller pid} 79 CALLER_UID: {type: INT32, desc: caller uid} 80 SC_ID: {type: INT32, desc: security component id} 81 SC_TYPE: {type: STRING, desc: security component type} 82 83TEMP_GRANT_SUCCESS: 84 __BASE: {type: BEHAVIOR, level: MINOR, desc: Security component authorization successfully} 85 CALLER_PID: {type: INT32, desc: caller pid} 86 CALLER_UID: {type: INT32, desc: caller uid} 87 SC_ID: {type: INT32, desc: security component id} 88 SC_TYPE: {type: STRING, desc: security component type} 89 90UNREGISTER_SUCCESS: 91 __BASE: {type: BEHAVIOR, level: MINOR, desc: Security component unregister} 92 CALLER_PID: {type: INT32, desc: caller pid} 93 CALLER_UID: {type: INT32, desc: caller uid} 94 SC_ID: {type: INT32, desc: security component id} 95