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: ACCESS_TOKEN 15 16PERMISSION_VERIFY_REPORT: 17 __BASE: {type: SECURITY, level: CRITICAL, desc: permission verification error} 18 CODE: {type: INT32, desc: error code} 19 CALLER_TOKENID: {type: UINT32, desc: caller token id} 20 PERMISSION_NAME: {type: STRING, desc: permission name} 21 22PERMISSION_CHECK: 23 __BASE: {type: FAULT, level: CRITICAL, desc: permission check error} 24 CODE: {type: INT32, desc: error code} 25 CALLER_TOKENID: {type: UINT32, desc: caller token id} 26 PERMISSION_NAME: {type: STRING, desc: permission name} 27 ERROR_REASON: {type: STRING, desc: error reason} 28 29PERMISSION_CHECK_EVENT: 30 __BASE: {type: BEHAVIOR, level: MINOR, desc: permission check event} 31 CODE: {type: INT32, desc: event code} 32 CALLER_TOKENID: {type: UINT32, desc: caller token id} 33 PERMISSION_NAME: {type: STRING, desc: permission name} 34 PERMISSION_GRANT_TYPE: {type: INT32, desc: grant type} 35 PID_INFO: {type: INT32, desc: access token service pid} 36 REASON: {type: STRING, desc: reason} 37 38PERMISSION_SYNC: 39 __BASE: {type: FAULT, level: CRITICAL, tag: usability, desc: permission sync error} 40 CODE: {type: INT32, desc: error code} 41 REMOTE_ID: {type: STRING, desc: remote id} 42 REASON: {type: STRING, desc: error reason} 43