13e5483f6Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?> 23e5483f6Sopenharmony_ci<!-- Copyright (c) 2024 Huawei Device Co., Ltd. 33e5483f6Sopenharmony_ci 43e5483f6Sopenharmony_ci Licensed under the Apache License, Version 2.0 (the "License"); 53e5483f6Sopenharmony_ci you may not use this file except in compliance with the License. 63e5483f6Sopenharmony_ci You may obtain a copy of the License at 73e5483f6Sopenharmony_ci 83e5483f6Sopenharmony_ci http://www.apache.org/licenses/LICENSE-2.0 93e5483f6Sopenharmony_ci 103e5483f6Sopenharmony_ci Unless required by applicable law or agreed to in writing, software 113e5483f6Sopenharmony_ci distributed under the License is distributed on an "AS IS" BASIS, 123e5483f6Sopenharmony_ci WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 133e5483f6Sopenharmony_ci See the License for the specific language governing permissions and 143e5483f6Sopenharmony_ci limitations under the License. 153e5483f6Sopenharmony_ci 163e5483f6Sopenharmony_ci This is the configuration file template for OpenHarmony OSS Audit Tool, please copy it to your project root dir and modify it refer to OpenHarmony/tools_oat/README. 173e5483f6Sopenharmony_ci 183e5483f6Sopenharmony_ci--> 193e5483f6Sopenharmony_ci 203e5483f6Sopenharmony_ci<configuration> 213e5483f6Sopenharmony_ci <oatconfig> 223e5483f6Sopenharmony_ci <licensefile></licensefile> 233e5483f6Sopenharmony_ci <policylist> 243e5483f6Sopenharmony_ci <policy name="projectPolicy" desc=""> 253e5483f6Sopenharmony_ci <!--policyitem type="compatibility" name="GPL-2.0+" path="abc/.*" desc="Process that runs independently, invoked by the X process."/--> 263e5483f6Sopenharmony_ci <!--policyitem type="license" name="LGPL" path="abc/.*" desc="Dynamically linked by module X"/--> 273e5483f6Sopenharmony_ci <!--policyitem type="copyright" name="xxx" path="abc/.*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed by X Company"/--> 283e5483f6Sopenharmony_ci </policy> 293e5483f6Sopenharmony_ci </policylist> 303e5483f6Sopenharmony_ci <filefilterlist> 313e5483f6Sopenharmony_ci <filefilter name="defaultFilter" desc="Files not to check"> 323e5483f6Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 333e5483f6Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 343e5483f6Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 353e5483f6Sopenharmony_ci </filefilter> 363e5483f6Sopenharmony_ci <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies"> 373e5483f6Sopenharmony_ci <filteritem type="filepath" name="frameworks/ringtone_extension_hap/RingtoneLibraryExt/entry/build-profile.json5" 383e5483f6Sopenharmony_ci desc="Ringtone library file, and this file does not support comments"/> 393e5483f6Sopenharmony_ci <filteritem type="filepath" name="frameworks/ringtone_extension_hap/RingtoneLibraryExt/entry/hvigorfile.js" 403e5483f6Sopenharmony_ci desc="Ringtone library file, and this file does not support comments"/> 413e5483f6Sopenharmony_ci <filteritem type="filepath" name="frameworks/ringtone_extension_hap/RingtoneLibraryExt/entry/src/ohosTest/module.json5" 423e5483f6Sopenharmony_ci desc="Ringtone library file, and this file does not support comments"/> 433e5483f6Sopenharmony_ci <filteritem type="filepath" name="frameworks/ringtone_extension_hap/RingtoneLibraryExt/build-profile.json5" 443e5483f6Sopenharmony_ci desc="Ringtone library file, and this file does not support comments"/> 453e5483f6Sopenharmony_ci <filteritem type="filepath" name="frameworks/ringtone_extension_hap/RingtoneLibraryExt/hvigorfile.js" 463e5483f6Sopenharmony_ci desc="Ringtone library file, and this file does not support comments"/> 473e5483f6Sopenharmony_ci </filefilter> 483e5483f6Sopenharmony_ci <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies"> 493e5483f6Sopenharmony_ci <filteritem type="filepath" name="frameworks/ringtone_extension_hap/RingtoneLibraryExt/entry/build-profile.json5" 503e5483f6Sopenharmony_ci desc="Ringtone library file, and this file does not support comments"/> 513e5483f6Sopenharmony_ci <filteritem type="filepath" name="frameworks/ringtone_extension_hap/RingtoneLibraryExt/entry/hvigorfile.js" 523e5483f6Sopenharmony_ci desc="Ringtone library file, and this file does not support comments"/> 533e5483f6Sopenharmony_ci <filteritem type="filepath" name="frameworks/ringtone_extension_hap/RingtoneLibraryExt/entry/src/ohosTest/module.json5" 543e5483f6Sopenharmony_ci desc="Ringtone library file, and this file does not support comments"/> 553e5483f6Sopenharmony_ci <filteritem type="filepath" name="frameworks/ringtone_extension_hap/RingtoneLibraryExt/build-profile.json5" 563e5483f6Sopenharmony_ci desc="Ringtone library file, and this file does not support comments"/> 573e5483f6Sopenharmony_ci <filteritem type="filepath" name="frameworks/ringtone_extension_hap/RingtoneLibraryExt/hvigorfile.js" 583e5483f6Sopenharmony_ci desc="Ringtone library file, and this file does not support comments"/> 593e5483f6Sopenharmony_ci </filefilter> 603e5483f6Sopenharmony_ci <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies"> 613e5483f6Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 623e5483f6Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 633e5483f6Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 643e5483f6Sopenharmony_ci </filefilter> 653e5483f6Sopenharmony_ci <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies"> 663e5483f6Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 673e5483f6Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 683e5483f6Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 693e5483f6Sopenharmony_ci </filefilter> 703e5483f6Sopenharmony_ci <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies"> 713e5483f6Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 723e5483f6Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 733e5483f6Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 743e5483f6Sopenharmony_ci </filefilter> 753e5483f6Sopenharmony_ci <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies"> 763e5483f6Sopenharmony_ci <filteritem type="filename" name="*.png" desc="png格式图片文件,用于展示示例"/> 773e5483f6Sopenharmony_ci </filefilter> 783e5483f6Sopenharmony_ci 793e5483f6Sopenharmony_ci </filefilterlist> 803e5483f6Sopenharmony_ci <licensematcherlist> 813e5483f6Sopenharmony_ci <!--licensematcher name="uvwxyz License" desc="If the scanning result is InvalidLicense, you can define matching rules here. Note that quotation marks must be escaped."> 823e5483f6Sopenharmony_ci <licensetext name=" 833e5483f6Sopenharmony_ci uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 843e5483f6Sopenharmony_ci " desc=""/> 853e5483f6Sopenharmony_ci <licensetext name=" 863e5483f6Sopenharmony_ci uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 873e5483f6Sopenharmony_ci " desc=""/> 883e5483f6Sopenharmony_ci </licensematcher--> 893e5483f6Sopenharmony_ci </licensematcherlist> 903e5483f6Sopenharmony_ci </oatconfig> 913e5483f6Sopenharmony_ci</configuration> 92