10fed37d5Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?>
20fed37d5Sopenharmony_ci<!-- Copyright (c) 2021 Huawei Device Co., Ltd.
30fed37d5Sopenharmony_ci
40fed37d5Sopenharmony_ci     Licensed under the Apache License, Version 2.0 (the "License");
50fed37d5Sopenharmony_ci     you may not use this file except in compliance with the License.
60fed37d5Sopenharmony_ci     You may obtain a copy of the License at
70fed37d5Sopenharmony_ci
80fed37d5Sopenharmony_ci          http://www.apache.org/licenses/LICENSE-2.0
90fed37d5Sopenharmony_ci
100fed37d5Sopenharmony_ci     Unless required by applicable law or agreed to in writing, software
110fed37d5Sopenharmony_ci     distributed under the License is distributed on an "AS IS" BASIS,
120fed37d5Sopenharmony_ci     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
130fed37d5Sopenharmony_ci     See the License for the specific language governing permissions and
140fed37d5Sopenharmony_ci     limitations under the License.
150fed37d5Sopenharmony_ci
160fed37d5Sopenharmony_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.
170fed37d5Sopenharmony_ci
180fed37d5Sopenharmony_ci-->
190fed37d5Sopenharmony_ci
200fed37d5Sopenharmony_ci<configuration>
210fed37d5Sopenharmony_ci    <oatconfig>
220fed37d5Sopenharmony_ci        <licensefile></licensefile>
230fed37d5Sopenharmony_ci        <policylist>
240fed37d5Sopenharmony_ci            <policy name="projectPolicy" desc="">
250fed37d5Sopenharmony_ci                <!--policyitem type="compatibility" name="GPL-2.0+" path="abc/.*" desc="Process that runs independently, invoked by the X process."/-->
260fed37d5Sopenharmony_ci                <!--policyitem type="license" name="LGPL" path="abc/.*" desc="Dynamically linked by module X"/-->
270fed37d5Sopenharmony_ci                <!--policyitem type="copyright" name="xxx" path="abc/.*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed by X Company"/-->
280fed37d5Sopenharmony_ci                <policyitem type="license" name="CC-BY-4.0" path=".*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="License for documents"/>
290fed37d5Sopenharmony_ci            </policy>
300fed37d5Sopenharmony_ci        </policylist>
310fed37d5Sopenharmony_ci        <filefilterlist>
320fed37d5Sopenharmony_ci            <filefilter name="defaultFilter" desc="Files not to check">
330fed37d5Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
340fed37d5Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
350fed37d5Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
360fed37d5Sopenharmony_ci            </filefilter>
370fed37d5Sopenharmony_ci            <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
380fed37d5Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
390fed37d5Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
400fed37d5Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
410fed37d5Sopenharmony_ci                <filteritem type="filepath" name="en/contribute/.*" desc="already checked"/>
420fed37d5Sopenharmony_ci            </filefilter>
430fed37d5Sopenharmony_ci            <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
440fed37d5Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
450fed37d5Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
460fed37d5Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
470fed37d5Sopenharmony_ci                <filteritem type="filepath" name="en/contribute/.*" desc="already checked"/>
480fed37d5Sopenharmony_ci            </filefilter>
490fed37d5Sopenharmony_ci            <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
500fed37d5Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
510fed37d5Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
520fed37d5Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
530fed37d5Sopenharmony_ci                <filteritem type="filename" name="license-and-copyright-specifications.md" desc="already checked"/>
540fed37d5Sopenharmony_ci            </filefilter>
550fed37d5Sopenharmony_ci            <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
560fed37d5Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
570fed37d5Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
580fed37d5Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
590fed37d5Sopenharmony_ci            </filefilter>
600fed37d5Sopenharmony_ci            <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
610fed37d5Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
620fed37d5Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
630fed37d5Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
640fed37d5Sopenharmony_ci            </filefilter>
650fed37d5Sopenharmony_ci            <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
660fed37d5Sopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
670fed37d5Sopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
680fed37d5Sopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
690fed37d5Sopenharmony_ci				<filteritem type="filename" name="*.jpg|*.png|*.gif|*.pdf|*.xlsm|*.zip" desc="already checked"/>
700fed37d5Sopenharmony_ci            </filefilter>
710fed37d5Sopenharmony_ci            <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies" >
720fed37d5Sopenharmony_ci                <filteritem type="filepath" name="figures/en-us_image_0000001115820566.png" desc="icon"/>
730fed37d5Sopenharmony_ci                <filteritem type="filepath" name="figures/zh-cn_image_0000001115820566.png" desc="icon"/>
740fed37d5Sopenharmony_ci            </filefilter>
750fed37d5Sopenharmony_ci
760fed37d5Sopenharmony_ci        </filefilterlist>
770fed37d5Sopenharmony_ci        <licensematcherlist>
780fed37d5Sopenharmony_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.">
790fed37d5Sopenharmony_ci                <licensetext name="
800fed37d5Sopenharmony_ci                    uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
810fed37d5Sopenharmony_ci				 " desc=""/>
820fed37d5Sopenharmony_ci                <licensetext name="
830fed37d5Sopenharmony_ci                    uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
840fed37d5Sopenharmony_ci				 " desc=""/>
850fed37d5Sopenharmony_ci            </licensematcher-->
860fed37d5Sopenharmony_ci        </licensematcherlist>
870fed37d5Sopenharmony_ci    </oatconfig>
880fed37d5Sopenharmony_ci</configuration>
89