10f66f451Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?> 20f66f451Sopenharmony_ci<!-- Copyright (c) 2021 Huawei Device Co., Ltd. 30f66f451Sopenharmony_ci 40f66f451Sopenharmony_ci Licensed under the Apache License, Version 2.0 (the "License"); 50f66f451Sopenharmony_ci you may not use this file except in compliance with the License. 60f66f451Sopenharmony_ci You may obtain a copy of the License at 70f66f451Sopenharmony_ci 80f66f451Sopenharmony_ci http://www.apache.org/licenses/LICENSE-2.0 90f66f451Sopenharmony_ci 100f66f451Sopenharmony_ci Unless required by applicable law or agreed to in writing, software 110f66f451Sopenharmony_ci distributed under the License is distributed on an "AS IS" BASIS, 120f66f451Sopenharmony_ci WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 130f66f451Sopenharmony_ci See the License for the specific language governing permissions and 140f66f451Sopenharmony_ci limitations under the License. 150f66f451Sopenharmony_ci--> 160f66f451Sopenharmony_ci 170f66f451Sopenharmony_ci<!-- This is the configuration file template for OpenHarmony OSS Audit Tool, 180f66f451Sopenharmony_ci please copy it to your project root dir and modify it refer to OpenHarmony/tools_oat/README. 190f66f451Sopenharmony_ci--> 200f66f451Sopenharmony_ci 210f66f451Sopenharmony_ci<configuration> 220f66f451Sopenharmony_ci <oatconfig> 230f66f451Sopenharmony_ci <licensefile>www/license.html</licensefile> 240f66f451Sopenharmony_ci <policylist> 250f66f451Sopenharmony_ci <policy name="projectPolicy" desc=""> 260f66f451Sopenharmony_ci <policyitem type="compatibility" name="GPL" path="kconfig/.*" desc="kconfig is a build tool."/> 270f66f451Sopenharmony_ci <policyitem type="compatibility" name="InvalidLicense" path="toys/posix/cpio.c" desc="same license as toybox."/> 280f66f451Sopenharmony_ci <policyitem type="compatibility" name="InvalidLicense" path="www/license.html" desc="this is the license file."/> 290f66f451Sopenharmony_ci </policy> 300f66f451Sopenharmony_ci </policylist> 310f66f451Sopenharmony_ci <filefilterlist> 320f66f451Sopenharmony_ci <filefilter name="defaultFilter" desc="Files not to check"> 330f66f451Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 340f66f451Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 350f66f451Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 360f66f451Sopenharmony_ci </filefilter> 370f66f451Sopenharmony_ci <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies"> 380f66f451Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 390f66f451Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 400f66f451Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 410f66f451Sopenharmony_ci </filefilter> 420f66f451Sopenharmony_ci <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies"> 430f66f451Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 440f66f451Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 450f66f451Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 460f66f451Sopenharmony_ci </filefilter> 470f66f451Sopenharmony_ci <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies"> 480f66f451Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 490f66f451Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 500f66f451Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 510f66f451Sopenharmony_ci </filefilter> 520f66f451Sopenharmony_ci <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies"> 530f66f451Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 540f66f451Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 550f66f451Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 560f66f451Sopenharmony_ci </filefilter> 570f66f451Sopenharmony_ci <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies"> 580f66f451Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 590f66f451Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 600f66f451Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 610f66f451Sopenharmony_ci </filefilter> 620f66f451Sopenharmony_ci <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies"> 630f66f451Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 640f66f451Sopenharmony_ci <filteritem type="filepath" name="tests/.*" desc="官方自带文件"/> 650f66f451Sopenharmony_ci <filteritem type="filepath" name="www/.*" desc="官方自带文件"/> 660f66f451Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 670f66f451Sopenharmony_ci </filefilter> 680f66f451Sopenharmony_ci 690f66f451Sopenharmony_ci </filefilterlist> 700f66f451Sopenharmony_ci <licensematcherlist> 710f66f451Sopenharmony_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."> 720f66f451Sopenharmony_ci <licensetext name=" 730f66f451Sopenharmony_ci uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 740f66f451Sopenharmony_ci " desc=""/> 750f66f451Sopenharmony_ci <licensetext name=" 760f66f451Sopenharmony_ci uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 770f66f451Sopenharmony_ci " desc=""/> 780f66f451Sopenharmony_ci </licensematcher--> 790f66f451Sopenharmony_ci </licensematcherlist> 800f66f451Sopenharmony_ci </oatconfig> 810f66f451Sopenharmony_ci</configuration> 82