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