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_UE 15 16DLP_FILE_CREATE_EVENT: 17 __BASE: {type: BEHAVIOR, level: MINOR, desc: security_dlp_file_generate, preserve: true} 18 PNAMEID: {type: STRING, desc: Application Package Name} 19 PVERSIONID: {type: STRING, desc: Application Version} 20 CODE: {type: INT32, desc: Return value of file generation} 21 FILE_SIZE: {type: INT64, desc: Size of the file for which permissions are to be set} 22 FILE_TYPE: {type: STRING, desc: File type for which permissions are to be set} 23 POLICY_SIZE_ENC: {type: INT64, desc: Encrypted Permission File Size} 24 PKG_NAME: {type: STRING, desc: Name of the invoked application package} 25 26DLP_FILE_OPEN_EVENT: 27 __BASE: {type: BEHAVIOR, level: MINOR, desc: security_dlp_file_open, preserve: true} 28 PNAMEID: {type: STRING, desc: Application Package Name} 29 PVERSIONID: {type: STRING, desc: Application Version} 30 CODE: {type: INT32, desc: Return value when the file is opened} 31 SANDBOX_PKGNAME: {type: STRING, desc: Open the dlp file and apply the package name} 32 SANDBOX_INDEX: {type: INT32, desc: ID of the application for opening the dlp file} 33 ACCOUNT_TYPE: {type: STRING, desc: Account Type} 34 FILE_SIZE: {type: INT64, desc: Size of the file to be opened} 35 POLICY_SIZE_ENC: {type: INT64, desc: Size with Decryption Policy} 36 37DLP_MANAGER_ACCOUNT_LOGIN: 38 __BASE: {type: BEHAVIOR, level: MINOR, desc: security_dlp_account_stat, preserve: true} 39 PNAMEID: {type: STRING, desc: Application Package Name} 40 PVERSIONID: {type: STRING, desc: Application Version} 41 ACCOUNT_TYPE: {type: STRING, desc: Account Type} 42 ACCOUNT_STATUS: {type: INT32, desc: Account status} 43 LOGIN_FAIL_CODE: {type: INT32, desc: No login event} 44 PKG_NAME: {type: STRING, desc: Invoking application package name} 45 46DLP_MANAGER_FILE_CONFIGURATION: 47 __BASE: {type: BEHAVIOR, level: MINOR, desc: security_dlp_file_configuration, preserve: true} 48 PNAMEID: {type: STRING, desc: Application Package Name} 49 PVERSIONID: {type: STRING, desc: Application Version} 50 OPERATION: {type: STRING, desc: Operation type} 51 READ_SCOPE: {type: STRING, desc: Authorization scope} 52 WRITE_SCOPE: {type: STRING, desc: Authorization scope} 53 ADVANCED_SETTINGS: {type: BOOL, desc: Whether to use advanced settings} 54 STORE_PATH: {type: BOOL, desc: Indicates whether to use the storage path} 55 ACCOUNT_VERIFY_SUCC: {type: INT32, desc: Number of successful account input verification times} 56 ACCOUNT_VERIFY_FAIL: {type: INT32, desc: Number of account input verification failures} 57 VALID_DATE: {type: BOOL, desc: Whether to use the validity period} 58