1c84f3f3cSopenharmony_ci<?xml version="1.0" encoding="UTF-8"?>
2c84f3f3cSopenharmony_ci<!-- Copyright (c) 2021 Huawei Device Co., Ltd.
3c84f3f3cSopenharmony_ci
4c84f3f3cSopenharmony_ci     Licensed under the Apache License, Version 2.0 (the "License");
5c84f3f3cSopenharmony_ci     you may not use this file except in compliance with the License.
6c84f3f3cSopenharmony_ci     You may obtain a copy of the License at
7c84f3f3cSopenharmony_ci
8c84f3f3cSopenharmony_ci          http://www.apache.org/licenses/LICENSE-2.0
9c84f3f3cSopenharmony_ci
10c84f3f3cSopenharmony_ci     Unless required by applicable law or agreed to in writing, software
11c84f3f3cSopenharmony_ci     distributed under the License is distributed on an "AS IS" BASIS,
12c84f3f3cSopenharmony_ci     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13c84f3f3cSopenharmony_ci     See the License for the specific language governing permissions and
14c84f3f3cSopenharmony_ci     limitations under the License.
15c84f3f3cSopenharmony_ci
16c84f3f3cSopenharmony_ci-->
17c84f3f3cSopenharmony_ci
18c84f3f3cSopenharmony_ci<!--
19c84f3f3cSopenharmony_ciThis is the configuration file template for OpenHarmony OSS Audit Tool, 
20c84f3f3cSopenharmony_ciplease copy it to your project root dir and modify it refer to OpenHarmony/tools_oat/README.
21c84f3f3cSopenharmony_ci-->
22c84f3f3cSopenharmony_ci
23c84f3f3cSopenharmony_ci<configuration>
24c84f3f3cSopenharmony_ci    <oatconfig>
25c84f3f3cSopenharmony_ci        <licensefile>TaC-mksh.txt</licensefile>
26c84f3f3cSopenharmony_ci        <policylist>
27c84f3f3cSopenharmony_ci            <policy name="projectPolicy" desc="">
28c84f3f3cSopenharmony_ci                <policyitem type="compatibility" name="MirOS License" path=".*" desc="The MirOS Licence (OSI approved)."/>
29c84f3f3cSopenharmony_ci                <policyitem type="compatibility" name="ISC License" path="strlcpy.c" desc="BSD-0-CLAUSE License."/>
30c84f3f3cSopenharmony_ci            </policy>
31c84f3f3cSopenharmony_ci        </policylist>
32c84f3f3cSopenharmony_ci        <filefilterlist>
33c84f3f3cSopenharmony_ci            <filefilter name="defaultFilter" desc="Files not to check">
34c84f3f3cSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
35c84f3f3cSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
36c84f3f3cSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
37c84f3f3cSopenharmony_ci            </filefilter>
38c84f3f3cSopenharmony_ci            <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
39c84f3f3cSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
40c84f3f3cSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
41c84f3f3cSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
42c84f3f3cSopenharmony_ci            </filefilter>
43c84f3f3cSopenharmony_ci            <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
44c84f3f3cSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
45c84f3f3cSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
46c84f3f3cSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
47c84f3f3cSopenharmony_ci            </filefilter>
48c84f3f3cSopenharmony_ci            <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
49c84f3f3cSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
50c84f3f3cSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
51c84f3f3cSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
52c84f3f3cSopenharmony_ci            </filefilter>
53c84f3f3cSopenharmony_ci            <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
54c84f3f3cSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
55c84f3f3cSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
56c84f3f3cSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
57c84f3f3cSopenharmony_ci            </filefilter>
58c84f3f3cSopenharmony_ci            <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
59c84f3f3cSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
60c84f3f3cSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
61c84f3f3cSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
62c84f3f3cSopenharmony_ci            </filefilter>
63c84f3f3cSopenharmony_ci            <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
64c84f3f3cSopenharmony_ci                <filteritem type="filename" name="mksh.ico" desc="官方自带文件"/>
65c84f3f3cSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
66c84f3f3cSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
67c84f3f3cSopenharmony_ci            </filefilter>
68c84f3f3cSopenharmony_ci
69c84f3f3cSopenharmony_ci        </filefilterlist>
70c84f3f3cSopenharmony_ci        <licensematcherlist>
71c84f3f3cSopenharmony_ci            <licensematcher name="MirOS License" desc="">
72c84f3f3cSopenharmony_ci                <licensetext name="
73c84f3f3cSopenharmony_ci                                  * Provided that these terms and disclaimer and all copyright notices
74c84f3f3cSopenharmony_ci                                  * are retained or reproduced in an accompanying document, permission
75c84f3f3cSopenharmony_ci                                  * is granted to deal in this work without restriction, including un-
76c84f3f3cSopenharmony_ci                                  * limited rights to use, publicly perform, distribute, sell, modify,
77c84f3f3cSopenharmony_ci                                  * merge, give away, or sublicence.
78c84f3f3cSopenharmony_ci				 " desc=""/>
79c84f3f3cSopenharmony_ci            </licensematcher>
80c84f3f3cSopenharmony_ci            <licensematcher name="ISC License" desc="">
81c84f3f3cSopenharmony_ci                <licensetext name="
82c84f3f3cSopenharmony_ci                                  * Permission to use, copy, modify, and distribute this software for any
83c84f3f3cSopenharmony_ci                                  * purpose with or without fee is hereby granted, provided that the above
84c84f3f3cSopenharmony_ci                                  * copyright notice and this permission notice appear in all copies.
85c84f3f3cSopenharmony_ci				 " desc=""/>
86c84f3f3cSopenharmony_ci            </licensematcher>
87c84f3f3cSopenharmony_ci        </licensematcherlist>
88c84f3f3cSopenharmony_ci    </oatconfig>
89c84f3f3cSopenharmony_ci</configuration>
90