1b049dde5Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?> 2b049dde5Sopenharmony_ci<!-- Copyright (c) 2021 Huawei Device Co., Ltd. 3b049dde5Sopenharmony_ci Licensed under the Apache License, Version 2.0 (the "License"); 4b049dde5Sopenharmony_ci you may not use this file except in compliance with the License. 5b049dde5Sopenharmony_ci You may obtain a copy of the License at 6b049dde5Sopenharmony_ci 7b049dde5Sopenharmony_ci http://www.apache.org/licenses/LICENSE-2.0 8b049dde5Sopenharmony_ci 9b049dde5Sopenharmony_ci Unless required by applicable law or agreed to in writing, software 10b049dde5Sopenharmony_ci distributed under the License is distributed on an "AS IS" BASIS, 11b049dde5Sopenharmony_ci WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12b049dde5Sopenharmony_ci See the License for the specific language governing permissions and 13b049dde5Sopenharmony_ci limitations under the License. 14b049dde5Sopenharmony_ci 15b049dde5Sopenharmony_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. 16b049dde5Sopenharmony_ci 17b049dde5Sopenharmony_ci--> 18b049dde5Sopenharmony_ci 19b049dde5Sopenharmony_ci<configuration> 20b049dde5Sopenharmony_ci <oatconfig> 21b049dde5Sopenharmony_ci <licensefile></licensefile> 22b049dde5Sopenharmony_ci <policylist> 23b049dde5Sopenharmony_ci <policy name="projectPolicy" desc=""> 24b049dde5Sopenharmony_ci <policyitem type="copyright" name="Huawei Technologies Co., Ltd. All rights reserved." path=".*" desc="original liteos copyright"/> 25b049dde5Sopenharmony_ci <policyitem type="license" name="BSD-3-Clause" path=".*" desc="Liteos kernel use bsd3 license"/> 26b049dde5Sopenharmony_ci </policy> 27b049dde5Sopenharmony_ci </policylist> 28b049dde5Sopenharmony_ci <filefilterlist> 29b049dde5Sopenharmony_ci <filefilter name="defaultFilter" desc="Files not to check"> 30b049dde5Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 31b049dde5Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 32b049dde5Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 33b049dde5Sopenharmony_ci </filefilter> 34b049dde5Sopenharmony_ci <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies"> 35b049dde5Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 36b049dde5Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 37b049dde5Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 38b049dde5Sopenharmony_ci </filefilter> 39b049dde5Sopenharmony_ci <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies"> 40b049dde5Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 41b049dde5Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 42b049dde5Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 43b049dde5Sopenharmony_ci </filefilter> 44b049dde5Sopenharmony_ci <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies"> 45b049dde5Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 46b049dde5Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 47b049dde5Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 48b049dde5Sopenharmony_ci </filefilter> 49b049dde5Sopenharmony_ci <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies"> 50b049dde5Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 51b049dde5Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 52b049dde5Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 53b049dde5Sopenharmony_ci </filefilter> 54b049dde5Sopenharmony_ci <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies"> 55b049dde5Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 56b049dde5Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 57b049dde5Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 58b049dde5Sopenharmony_ci </filefilter> 59b049dde5Sopenharmony_ci <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies"> 60b049dde5Sopenharmony_ci <filteritem type="filepath" name="figures/内核驱动架构图.png" desc="内核驱动架构图"/> 61b049dde5Sopenharmony_ci <filteritem type="filepath" name="figures/kernel-driver-architecture.png" desc="kernel-driver-architecture"/> 62b049dde5Sopenharmony_ci <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 63b049dde5Sopenharmony_ci <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 64b049dde5Sopenharmony_ci <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 65b049dde5Sopenharmony_ci </filefilter> 66b049dde5Sopenharmony_ci 67b049dde5Sopenharmony_ci </filefilterlist> 68b049dde5Sopenharmony_ci <licensematcherlist> 69b049dde5Sopenharmony_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."> 70b049dde5Sopenharmony_ci <licensetext name=" 71b049dde5Sopenharmony_ci uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 72b049dde5Sopenharmony_ci " desc=""/> 73b049dde5Sopenharmony_ci <licensetext name=" 74b049dde5Sopenharmony_ci uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 75b049dde5Sopenharmony_ci " desc=""/> 76b049dde5Sopenharmony_ci </licensematcher--> 77b049dde5Sopenharmony_ci </licensematcherlist> 78b049dde5Sopenharmony_ci </oatconfig> 79b049dde5Sopenharmony_ci</configuration> 80