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: DLP
15
16DLP_PERMISSION_REPORT:
17  __BASE: {type: SECURITY, level: CRITICAL, desc: dlp permission check error}
18  CODE: {type: INT32, desc: error code}
19  CALLER_TOKENID: {type: UINT32, desc: caller token id}
20
21DLP_FILE_CREATE:
22  __BASE: {type: FAULT, level: CRITICAL, desc: create dlp file error}
23  CODE: {type: INT32, desc: error code}
24  USER_ID: {type: INT32, desc: current user id}
25  REASON: {type: STRING, desc: error reason}
26
27DLP_FILE_CREATE_EVENT:
28  __BASE: {type: BEHAVIOR, level: MINOR, desc: create dlp file event}
29  CODE: {type: INT32, desc: event code}
30  USER_ID: {type: INT32, desc: current user id}
31
32DLP_FILE_OPEN:
33  __BASE: {type: FAULT, level: CRITICAL, desc: open dlp file error}
34  CODE: {type: INT32, desc: error code}
35  USER_ID: {type: INT32, desc: current user id}
36  SANDBOX_PKGNAME: {type: STRING, desc: sandbox package name}
37  SANDBOX_INDEX: {type: INT32, desc: sandbox index}
38  REASON: {type: STRING, desc: error reason}
39
40DLP_FILE_OPEN_EVENT:
41  __BASE: {type: BEHAVIOR, level: MINOR, desc: open dlp file event}
42  CODE: {type: INT32, desc: event code}
43  USER_ID: {type: INT32, desc: current user id}
44  SANDBOX_PKGNAME: {type: STRING, desc: sandbox package name}
45  SANDBOX_INDEX: {type: INT32, desc: sandbox index}