17310c0d0Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?> 27310c0d0Sopenharmony_ci<!-- Copyright (c) 2021 Huawei Device Co., Ltd. 37310c0d0Sopenharmony_ci 47310c0d0Sopenharmony_ci Licensed under the Apache License, Version 2.0 (the "License"); 57310c0d0Sopenharmony_ci you may not use this file except in compliance with the License. 67310c0d0Sopenharmony_ci You may obtain a copy of the License at 77310c0d0Sopenharmony_ci 87310c0d0Sopenharmony_ci http://www.apache.org/licenses/LICENSE-2.0 97310c0d0Sopenharmony_ci 107310c0d0Sopenharmony_ci Unless required by applicable law or agreed to in writing, software 117310c0d0Sopenharmony_ci distributed under the License is distributed on an "AS IS" BASIS, 127310c0d0Sopenharmony_ci WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 137310c0d0Sopenharmony_ci See the License for the specific language governing permissions and 147310c0d0Sopenharmony_ci limitations under the License. 157310c0d0Sopenharmony_ci 167310c0d0Sopenharmony_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. 177310c0d0Sopenharmony_ci 187310c0d0Sopenharmony_ci--> 197310c0d0Sopenharmony_ci 207310c0d0Sopenharmony_ci<configuration> 217310c0d0Sopenharmony_ci <oatconfig> 227310c0d0Sopenharmony_ci <licensefile></licensefile> 237310c0d0Sopenharmony_ci <policylist> 247310c0d0Sopenharmony_ci <policy name="projectPolicy" desc=""> 257310c0d0Sopenharmony_ci <!--policyitem type="compatibility" name="GPL-2.0+" path="abc/.*" desc="Process that runs independently, invoked by the X process."/--> 267310c0d0Sopenharmony_ci <!--policyitem type="license" name="LGPL" path="abc/.*" desc="Dynamically linked by module X"/--> 277310c0d0Sopenharmony_ci <!--policyitem type="copyright" name="xxx" path="abc/.*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed by X Company"/--> 287310c0d0Sopenharmony_ci </policy> 297310c0d0Sopenharmony_ci </policylist> 307310c0d0Sopenharmony_ci <filefilterlist> 317310c0d0Sopenharmony_ci <filefilter name="defaultFilter" desc="Files not to check"> 327310c0d0Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 337310c0d0Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 347310c0d0Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 357310c0d0Sopenharmony_ci </filefilter> 367310c0d0Sopenharmony_ci <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies"> 377310c0d0Sopenharmony_ci <filteritem type="filename" name="*.cfg" desc="config file,can not add license head"/> 387310c0d0Sopenharmony_ci <filteritem type="filename" name="passwd" desc="config file,can not add license head"/> 397310c0d0Sopenharmony_ci <filteritem type="filename" name="group" desc="config file,can not add license head"/> 407310c0d0Sopenharmony_ci </filefilter> 417310c0d0Sopenharmony_ci <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies"> 427310c0d0Sopenharmony_ci <filteritem type="filename" name="*.cfg" desc="config file,can not add license head"/> 437310c0d0Sopenharmony_ci <filteritem type="filename" name="passwd" desc="config file,can not add license head"/> 447310c0d0Sopenharmony_ci <filteritem type="filename" name="group" desc="config file,can not add license head"/> 457310c0d0Sopenharmony_ci </filefilter> 467310c0d0Sopenharmony_ci <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies"> 477310c0d0Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 487310c0d0Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 497310c0d0Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 507310c0d0Sopenharmony_ci </filefilter> 517310c0d0Sopenharmony_ci <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies"> 527310c0d0Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 537310c0d0Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 547310c0d0Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 557310c0d0Sopenharmony_ci </filefilter> 567310c0d0Sopenharmony_ci <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies"> 577310c0d0Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 587310c0d0Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 597310c0d0Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 607310c0d0Sopenharmony_ci </filefilter> 617310c0d0Sopenharmony_ci <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies"> 627310c0d0Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 637310c0d0Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 647310c0d0Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 657310c0d0Sopenharmony_ci <filteritem type="filename" name="*.jpg|*.png|*.gif|*.pdf" desc="already checked"/> 667310c0d0Sopenharmony_ci <filteritem type="filepath" name="services/test/unittest/test_data/proc/*" desc="启动功能UT测试的资源文件"/> 677310c0d0Sopenharmony_ci </filefilter> 687310c0d0Sopenharmony_ci 697310c0d0Sopenharmony_ci </filefilterlist> 707310c0d0Sopenharmony_ci <licensematcherlist> 717310c0d0Sopenharmony_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."> 727310c0d0Sopenharmony_ci <licensetext name=" 737310c0d0Sopenharmony_ci uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 747310c0d0Sopenharmony_ci " desc=""/> 757310c0d0Sopenharmony_ci <licensetext name=" 767310c0d0Sopenharmony_ci uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 777310c0d0Sopenharmony_ci " desc=""/> 787310c0d0Sopenharmony_ci </licensematcher--> 797310c0d0Sopenharmony_ci </licensematcherlist> 807310c0d0Sopenharmony_ci </oatconfig> 817310c0d0Sopenharmony_ci</configuration> 82