193360723Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?>
293360723Sopenharmony_ci<!-- Copyright (c) 2024 Huawei Device Co., Ltd.
393360723Sopenharmony_ci
493360723Sopenharmony_ci     Licensed under the Apache License, Version 2.0 (the "License");
593360723Sopenharmony_ci     you may not use this file except in compliance with the License.
693360723Sopenharmony_ci     You may obtain a copy of the License at
793360723Sopenharmony_ci
893360723Sopenharmony_ci          http://www.apache.org/licenses/LICENSE-2.0
993360723Sopenharmony_ci
1093360723Sopenharmony_ci     Unless required by applicable law or agreed to in writing, software
1193360723Sopenharmony_ci     distributed under the License is distributed on an "AS IS" BASIS,
1293360723Sopenharmony_ci     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1393360723Sopenharmony_ci     See the License for the specific language governing permissions and
1493360723Sopenharmony_ci     limitations under the License.
1593360723Sopenharmony_ci
1693360723Sopenharmony_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.
1793360723Sopenharmony_ci
1893360723Sopenharmony_ci-->
1993360723Sopenharmony_ci
2093360723Sopenharmony_ci<configuration>
2193360723Sopenharmony_ci    <oatconfig>
2293360723Sopenharmony_ci        <licensefile></licensefile>
2393360723Sopenharmony_ci        <policylist>
2493360723Sopenharmony_ci            <policy name="projectPolicy" desc="">
2593360723Sopenharmony_ci                <!--policyitem type="compatibility" name="GPL-2.0+" path="abc/.*" desc="Process that runs independently, invoked by the X process."/-->
2693360723Sopenharmony_ci                <!--policyitem type="license" name="LGPL" path="abc/.*" desc="Dynamically linked by module X"/-->
2793360723Sopenharmony_ci                <!--policyitem type="copyright" name="xxx" path="abc/.*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed by X Company"/-->
2893360723Sopenharmony_ci                <policyitem type="license" name="CC-BY-4.0" path=".*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="License for documents"/>
2993360723Sopenharmony_ci            </policy>
3093360723Sopenharmony_ci        </policylist>
3193360723Sopenharmony_ci        <filefilterlist>
3293360723Sopenharmony_ci            <filefilter name="defaultFilter" desc="Files not to check">
3393360723Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
3493360723Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
3593360723Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
3693360723Sopenharmony_ci            </filefilter>
3793360723Sopenharmony_ci            <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
3893360723Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
3993360723Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
4093360723Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
4193360723Sopenharmony_ci                <filteritem type="filepath" name="en/contribute/.*" desc="already checked"/>
4293360723Sopenharmony_ci            </filefilter>
4393360723Sopenharmony_ci            <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
4493360723Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
4593360723Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
4693360723Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
4793360723Sopenharmony_ci                <filteritem type="filepath" name="en/contribute/.*" desc="already checked"/>
4893360723Sopenharmony_ci            </filefilter>
4993360723Sopenharmony_ci            <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
5093360723Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
5193360723Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
5293360723Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
5393360723Sopenharmony_ci                <filteritem type="filename" name="license-and-copyright-specifications.md" desc="already checked"/>
5493360723Sopenharmony_ci            </filefilter>
5593360723Sopenharmony_ci            <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
5693360723Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
5793360723Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
5893360723Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
5993360723Sopenharmony_ci            </filefilter>
6093360723Sopenharmony_ci            <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
6193360723Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
6293360723Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
6393360723Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
6493360723Sopenharmony_ci            </filefilter>
6593360723Sopenharmony_ci            <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
6693360723Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
6793360723Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
6893360723Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
6993360723Sopenharmony_ci				<filteritem type="filename" name="*.jpg|*.png|*.gif|*.pdf|*.xlsm|*.zip" desc="already checked"/>
7093360723Sopenharmony_ci            </filefilter>
7193360723Sopenharmony_ci            <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies" >
7293360723Sopenharmony_ci                <filteritem type="filepath" name="figures/en-us_image_0000001081284974.png" desc="icon"/>
7393360723Sopenharmony_ci                <filteritem type="filepath" name="figures/zh-cn_image_0000001081284974.png" desc="icon"/>
7493360723Sopenharmony_ci            </filefilter>
7593360723Sopenharmony_ci
7693360723Sopenharmony_ci        </filefilterlist>
7793360723Sopenharmony_ci        <licensematcherlist>
7893360723Sopenharmony_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.">
7993360723Sopenharmony_ci                <licensetext name="
8093360723Sopenharmony_ci                    uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
8193360723Sopenharmony_ci				 " desc=""/>
8293360723Sopenharmony_ci                <licensetext name="
8393360723Sopenharmony_ci                    uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
8493360723Sopenharmony_ci				 " desc=""/>
8593360723Sopenharmony_ci            </licensematcher-->
8693360723Sopenharmony_ci        </licensematcherlist>
8793360723Sopenharmony_ci    </oatconfig>
8893360723Sopenharmony_ci</configuration>