1a5f9918aSopenharmony_ci<?xml version="1.0" encoding="UTF-8"?>
2a5f9918aSopenharmony_ci<!-- Copyright (c) 2021 Huawei Device Co., Ltd.
3a5f9918aSopenharmony_ci     Licensed under the Apache License, Version 2.0 (the "License");
4a5f9918aSopenharmony_ci     you may not use this file except in compliance with the License.
5a5f9918aSopenharmony_ci     You may obtain a copy of the License at
6a5f9918aSopenharmony_ci
7a5f9918aSopenharmony_ci          http://www.apache.org/licenses/LICENSE-2.0
8a5f9918aSopenharmony_ci
9a5f9918aSopenharmony_ci     Unless required by applicable law or agreed to in writing, software
10a5f9918aSopenharmony_ci     distributed under the License is distributed on an "AS IS" BASIS,
11a5f9918aSopenharmony_ci     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12a5f9918aSopenharmony_ci     See the License for the specific language governing permissions and
13a5f9918aSopenharmony_ci     limitations under the License.
14a5f9918aSopenharmony_ci-->
15a5f9918aSopenharmony_ci
16a5f9918aSopenharmony_ci<configuration>
17a5f9918aSopenharmony_ci    <oatconfig>
18a5f9918aSopenharmony_ci        <licensefile></licensefile>
19a5f9918aSopenharmony_ci        <policylist>
20a5f9918aSopenharmony_ci            <policy name="projectPolicy" desc="">
21a5f9918aSopenharmony_ci                <policyitem type="license" name="MIT" path="LICENSE" desc="兼容license"/>
22a5f9918aSopenharmony_ci                <policyitem type="license" name="MIT" path="announcement.msg" desc="兼容license"/>
23a5f9918aSopenharmony_ci                <policyitem type="license" name="MIT" path="setup.py" desc="兼容license"/>
24a5f9918aSopenharmony_ci                <policyitem type="copyright" name=" Ingy döt Net" path="announcement.msg" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/>
25a5f9918aSopenharmony_ci                <policyitem type="copyright" name=" Simonov" path="announcement.msg" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/>
26a5f9918aSopenharmony_ci                <!--policyitem type="compatibility" name="GPL-2.0+" path="abc/.*" desc="Process that runs independently, invoked by the X process."/-->
27a5f9918aSopenharmony_ci                <!--policyitem type="license" name="LGPL" path="abc/.*" desc="Dynamically linked by module X"/-->
28a5f9918aSopenharmony_ci                <!--policyitem type="copyright" name="xxx" path="abc/.*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed by X Company"/-->
29a5f9918aSopenharmony_ci            </policy>
30a5f9918aSopenharmony_ci        </policylist>
31a5f9918aSopenharmony_ci        <filefilterlist>
32a5f9918aSopenharmony_ci            <filefilter name="defaultFilter" desc="Files not to check">
33a5f9918aSopenharmony_ci                <filteritem type="filename" name="invalid-python-bytes-2-py3.loader-error" desc="Not a binary file, doesn't have any risk."/>
34a5f9918aSopenharmony_ci                <filteritem type="filename" name="latin.unicode" desc="Just a config file with special format, doesn't have any risk."/>
35a5f9918aSopenharmony_ci                <filteritem type="filename" name="emoticons.unicode" desc="Just a config file with special format, doesn't have any risk."/>
36a5f9918aSopenharmony_ci                <filteritem type="filename" name="emoticons2.unicode" desc="Just a config file with special format, doesn't have any risk."/>
37a5f9918aSopenharmony_ci                <filteritem type="filename" name="invalid-base64-data-2.loader-error" desc="Not a binary file, doesn't have any risk."/>
38a5f9918aSopenharmony_ci                <filteritem type="filename" name="odd-utf16.stream-error" desc="Not a binary file, doesn't have any risk."/>
39a5f9918aSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
40a5f9918aSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
41a5f9918aSopenharmony_ci            </filefilter>
42a5f9918aSopenharmony_ci            <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
43a5f9918aSopenharmony_ci                <filteritem type="filepath" name="tests/.*" desc="no license header"/>
44a5f9918aSopenharmony_ci                <filteritem type="filepath" name="lib/yaml/.*" desc="no license header"/>
45a5f9918aSopenharmony_ci                <filteritem type="filepath" name="examples/.*" desc="no license header"/>
46a5f9918aSopenharmony_ci                <filteritem type="filepath" name="yaml/.*" desc="no license header"/>
47a5f9918aSopenharmony_ci                <filteritem type="filepath" name="packaging/build/.*" desc="no license header"/>
48a5f9918aSopenharmony_ci                <filteritem type="filename" name="CHANGES" desc="no license header"/>
49a5f9918aSopenharmony_ci                <filteritem type="filename" name="pyproject.toml" desc="no license header"/>
50a5f9918aSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
51a5f9918aSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
52a5f9918aSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
53a5f9918aSopenharmony_ci            </filefilter>
54a5f9918aSopenharmony_ci            <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
55a5f9918aSopenharmony_ci                <filteritem type="filepath" name="tests/.*" desc="Describe the reason for filtering scan results"/>
56a5f9918aSopenharmony_ci                <filteritem type="filepath" name="lib/yaml/.*" desc="Describe the reason for filtering scan results"/>
57a5f9918aSopenharmony_ci                <filteritem type="filepath" name="examples/.*" desc="Describe the reason for filtering scan results"/>
58a5f9918aSopenharmony_ci                <filteritem type="filepath" name="yaml/.*" desc="Describe the reason for filtering scan results"/>
59a5f9918aSopenharmony_ci                <filteritem type="filepath" name="packaging/build/.*" desc="Describe the reason for filtering scan results"/>
60a5f9918aSopenharmony_ci                <filteritem type="filename" name="CHANGES" desc="Describe the reason for filtering scan results"/>
61a5f9918aSopenharmony_ci                <filteritem type="filename" name="pyproject.toml" desc="Describe the reason for filtering scan results"/>
62a5f9918aSopenharmony_ci                <filteritem type="filename" name="setup.py" desc="Describe the reason for filtering scan results"/>
63a5f9918aSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
64a5f9918aSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
65a5f9918aSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
66a5f9918aSopenharmony_ci            </filefilter>
67a5f9918aSopenharmony_ci            <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
68a5f9918aSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
69a5f9918aSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
70a5f9918aSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
71a5f9918aSopenharmony_ci            </filefilter>
72a5f9918aSopenharmony_ci            <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
73a5f9918aSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
74a5f9918aSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
75a5f9918aSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
76a5f9918aSopenharmony_ci            </filefilter>
77a5f9918aSopenharmony_ci            <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
78a5f9918aSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
79a5f9918aSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
80a5f9918aSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
81a5f9918aSopenharmony_ci            </filefilter>
82a5f9918aSopenharmony_ci            <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
83a5f9918aSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
84a5f9918aSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
85a5f9918aSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
86a5f9918aSopenharmony_ci            </filefilter>
87a5f9918aSopenharmony_ci
88a5f9918aSopenharmony_ci        </filefilterlist>
89a5f9918aSopenharmony_ci        <licensematcherlist>
90a5f9918aSopenharmony_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.">
91a5f9918aSopenharmony_ci                <licensetext name="
92a5f9918aSopenharmony_ci                    uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
93a5f9918aSopenharmony_ci                 " desc=""/>
94a5f9918aSopenharmony_ci                <licensetext name="
95a5f9918aSopenharmony_ci                    uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
96a5f9918aSopenharmony_ci                 " desc=""/>
97a5f9918aSopenharmony_ci            </licensematcher-->
98a5f9918aSopenharmony_ci        </licensematcherlist>
99a5f9918aSopenharmony_ci    </oatconfig>
100a5f9918aSopenharmony_ci</configuration>
101