154568cb3Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?>
254568cb3Sopenharmony_ci<!-- Copyright (c) 2022-2022 Huawei Technologies Co., Ltd. All rights reserved.
354568cb3Sopenharmony_ci
454568cb3Sopenharmony_ci    UniProton is licensed under Mulan PSL v2.
554568cb3Sopenharmony_ci    You can use this software according to the terms and conditions of the Mulan PSL v2.
654568cb3Sopenharmony_ci    You may obtain a copy of Mulan PSL v2 at:
754568cb3Sopenharmony_ci             http://license.coscl.org.cn/MulanPSL2
854568cb3Sopenharmony_ci    THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
954568cb3Sopenharmony_ci    EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
1054568cb3Sopenharmony_ci    MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
1154568cb3Sopenharmony_ci    See the Mulan PSL v2 for more details.
1254568cb3Sopenharmony_ci
1354568cb3Sopenharmony_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.
1454568cb3Sopenharmony_ci-->
1554568cb3Sopenharmony_ci
1654568cb3Sopenharmony_ci<configuration>
1754568cb3Sopenharmony_ci    <oatconfig>
1854568cb3Sopenharmony_ci        <licensefile></licensefile>
1954568cb3Sopenharmony_ci        <policylist>
2054568cb3Sopenharmony_ci            <policy name="projectPolicy" desc="">
2154568cb3Sopenharmony_ci                <policyitem type="copyright" name="Huawei Technologies Co., Ltd. All rights reserved." path=".*" desc="original uniproton copyright"/>
2254568cb3Sopenharmony_ci                <policyitem type="license" name="MulanPSL-2.0" path=".*" desc="UniProton kernel use Mulan PSL v2 license"/>
2354568cb3Sopenharmony_ci            </policy>
2454568cb3Sopenharmony_ci        </policylist>
2554568cb3Sopenharmony_ci        <filefilterlist>
2654568cb3Sopenharmony_ci            <filefilter name="defaultFilter" desc="Files not to check">
2754568cb3Sopenharmony_ci                <filteritem type="filepath" name="cmake/common/build_auxiliary_script/.*" desc="Huawei Technologies Co., Ltd. 2010-2020. All rights reserved."/>
2854568cb3Sopenharmony_ci                <filteritem type="filepath" name="platform/libboundscheck/.*" desc="Intermediate files generated by the tool"/>
2954568cb3Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
3054568cb3Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
3154568cb3Sopenharmony_ci            </filefilter>
3254568cb3Sopenharmony_ci            <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
3354568cb3Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
3454568cb3Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
3554568cb3Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
3654568cb3Sopenharmony_ci            </filefilter>
3754568cb3Sopenharmony_ci            <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
3854568cb3Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
3954568cb3Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
4054568cb3Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
4154568cb3Sopenharmony_ci            </filefilter>
4254568cb3Sopenharmony_ci            <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
4354568cb3Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
4454568cb3Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
4554568cb3Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
4654568cb3Sopenharmony_ci            </filefilter>
4754568cb3Sopenharmony_ci            <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
4854568cb3Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
4954568cb3Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
5054568cb3Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
5154568cb3Sopenharmony_ci            </filefilter>
5254568cb3Sopenharmony_ci            <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
5354568cb3Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
5454568cb3Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
5554568cb3Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
5654568cb3Sopenharmony_ci            </filefilter>
5754568cb3Sopenharmony_ci            <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
5854568cb3Sopenharmony_ci                <filteritem type="filename" name="LICENSE" desc="Not binary files"/>
5954568cb3Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
6054568cb3Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
6154568cb3Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
6254568cb3Sopenharmony_ci            </filefilter>
6354568cb3Sopenharmony_ci
6454568cb3Sopenharmony_ci        </filefilterlist>
6554568cb3Sopenharmony_ci        <licensematcherlist>
6654568cb3Sopenharmony_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.">
6754568cb3Sopenharmony_ci                <licensetext name="
6854568cb3Sopenharmony_ci                    uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
6954568cb3Sopenharmony_ci                " desc=""/>
7054568cb3Sopenharmony_ci                <licensetext name="
7154568cb3Sopenharmony_ci                    uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
7254568cb3Sopenharmony_ci                " desc=""/>
7354568cb3Sopenharmony_ci            </licensematcher-->
7454568cb3Sopenharmony_ci        </licensematcherlist>
7554568cb3Sopenharmony_ci    </oatconfig>
7654568cb3Sopenharmony_ci</configuration>
77