1be168c0dSopenharmony_ci<?xml version="1.0" encoding="UTF-8"?> 2be168c0dSopenharmony_ci<!-- Copyright (c) 2021 Huawei Device Co., Ltd. 3be168c0dSopenharmony_ci 4be168c0dSopenharmony_ci Licensed under the Apache License, Version 2.0 (the "License"); 5be168c0dSopenharmony_ci you may not use this file except in compliance with the License. 6be168c0dSopenharmony_ci You may obtain a copy of the License at 7be168c0dSopenharmony_ci 8be168c0dSopenharmony_ci http://www.apache.org/licenses/LICENSE-2.0 9be168c0dSopenharmony_ci 10be168c0dSopenharmony_ci Unless required by applicable law or agreed to in writing, software 11be168c0dSopenharmony_ci distributed under the License is distributed on an "AS IS" BASIS, 12be168c0dSopenharmony_ci WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13be168c0dSopenharmony_ci See the License for the specific language governing permissions and 14be168c0dSopenharmony_ci limitations under the License. 15be168c0dSopenharmony_ci 16be168c0dSopenharmony_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. 17be168c0dSopenharmony_ci 18be168c0dSopenharmony_ci--> 19be168c0dSopenharmony_ci 20be168c0dSopenharmony_ci<configuration> 21be168c0dSopenharmony_ci <oatconfig> 22be168c0dSopenharmony_ci <licensefile></licensefile> 23be168c0dSopenharmony_ci <policylist> 24be168c0dSopenharmony_ci <policy name="projectPolicy" desc=""> 25be168c0dSopenharmony_ci <!--policyitem type="compatibility" name="GPL-2.0+" path="abc/.*" desc="Process that runs independently, invoked by the X process."/--> 26be168c0dSopenharmony_ci <!--policyitem type="license" name="LGPL" path="abc/.*" desc="Dynamically linked by module X"/--> 27be168c0dSopenharmony_ci <!--policyitem type="copyright" name="xxx" path="abc/.*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed by X Company"/--> 28be168c0dSopenharmony_ci </policy> 29be168c0dSopenharmony_ci </policylist> 30be168c0dSopenharmony_ci <filefilterlist> 31be168c0dSopenharmony_ci <filefilter name="defaultFilter" desc="Files not to check"> 32be168c0dSopenharmony_ci <filteritem type="filename" name="*.iml|*.json|*.txt|*.bin|*.tflite|*.rst|*.ms|*.f32|*.png|*.sh|*.mindir|*.dat|*.xcuserstate|OWNERS|msobfuscator|libmsdeobfuscator-lite.*" desc="desc files"/> 33be168c0dSopenharmony_ci <filteritem type="filename" name="*.gitmodules|NOTICE|*.proto|Third_Party_Open_Source_Software_Notice|*.fbs" desc="desc files"/> 34be168c0dSopenharmony_ci <filteritem type="filepath" name="mindspore/ccsrc/minddata/.*" desc="test files"/> 35be168c0dSopenharmony_ci <filteritem type="filepath" name="tests/.*" desc="test files"/> 36be168c0dSopenharmony_ci <filteritem type="filepath" name="mindspore/lite/test/.*" desc="test files"/> 37be168c0dSopenharmony_ci <filteritem type="filepath" name="mindspore/lite/examples/.*" desc="test files"/> 38be168c0dSopenharmony_ci <filteritem type="filepath" name="mindspore/lite/java/.*" desc="test files"/> 39be168c0dSopenharmony_ci <filteritem type="filepath" name="mindspore/lite/schema/.*" desc="test files"/> 40be168c0dSopenharmony_ci <filteritem type="filepath" name="scripts/.*" desc="scripts files"/> 41be168c0dSopenharmony_ci <filteritem type="filepath" name="third_party/.*" desc="third party files"/> 42be168c0dSopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 43be168c0dSopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 44be168c0dSopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 45be168c0dSopenharmony_ci </filefilter> 46be168c0dSopenharmony_ci <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies"> 47be168c0dSopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 48be168c0dSopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 49be168c0dSopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 50be168c0dSopenharmony_ci </filefilter> 51be168c0dSopenharmony_ci <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies"> 52be168c0dSopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 53be168c0dSopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 54be168c0dSopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 55be168c0dSopenharmony_ci </filefilter> 56be168c0dSopenharmony_ci <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies"> 57be168c0dSopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 58be168c0dSopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 59be168c0dSopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 60be168c0dSopenharmony_ci </filefilter> 61be168c0dSopenharmony_ci <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies"> 62be168c0dSopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 63be168c0dSopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 64be168c0dSopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 65be168c0dSopenharmony_ci </filefilter> 66be168c0dSopenharmony_ci <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies"> 67be168c0dSopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 68be168c0dSopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 69be168c0dSopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 70be168c0dSopenharmony_ci </filefilter> 71be168c0dSopenharmony_ci <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies"> 72be168c0dSopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 73be168c0dSopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 74be168c0dSopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 75be168c0dSopenharmony_ci </filefilter> 76be168c0dSopenharmony_ci 77be168c0dSopenharmony_ci </filefilterlist> 78be168c0dSopenharmony_ci <licensematcherlist> 79be168c0dSopenharmony_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."> 80be168c0dSopenharmony_ci <licensetext name=" 81be168c0dSopenharmony_ci uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 82be168c0dSopenharmony_ci " desc=""/> 83be168c0dSopenharmony_ci <licensetext name=" 84be168c0dSopenharmony_ci uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 85be168c0dSopenharmony_ci " desc=""/> 86be168c0dSopenharmony_ci </licensematcher--> 87be168c0dSopenharmony_ci </licensematcherlist> 88be168c0dSopenharmony_ci </oatconfig> 89be168c0dSopenharmony_ci</configuration> 90