# Copyright (c) 2023 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. domain: DLP DLP_PERMISSION_REPORT: __BASE: {type: SECURITY, level: CRITICAL, desc: dlp permission check error} CODE: {type: INT32, desc: error code} CALLER_TOKENID: {type: UINT32, desc: caller token id} DLP_FILE_CREATE: __BASE: {type: FAULT, level: CRITICAL, desc: create dlp file error} CODE: {type: INT32, desc: error code} USER_ID: {type: INT32, desc: current user id} REASON: {type: STRING, desc: error reason} DLP_FILE_CREATE_EVENT: __BASE: {type: BEHAVIOR, level: MINOR, desc: create dlp file event} CODE: {type: INT32, desc: event code} USER_ID: {type: INT32, desc: current user id} DLP_FILE_OPEN: __BASE: {type: FAULT, level: CRITICAL, desc: open dlp file error} CODE: {type: INT32, desc: error code} USER_ID: {type: INT32, desc: current user id} SANDBOX_PKGNAME: {type: STRING, desc: sandbox package name} SANDBOX_INDEX: {type: INT32, desc: sandbox index} REASON: {type: STRING, desc: error reason} DLP_FILE_OPEN_EVENT: __BASE: {type: BEHAVIOR, level: MINOR, desc: open dlp file event} CODE: {type: INT32, desc: event code} USER_ID: {type: INT32, desc: current user id} SANDBOX_PKGNAME: {type: STRING, desc: sandbox package name} SANDBOX_INDEX: {type: INT32, desc: sandbox index}