18bf80f4bSopenharmony_ci<?xml version="1.0" encoding="UTF-8"?>
28bf80f4bSopenharmony_ci<!-- Copyright (c) 2021 Huawei Device Co., Ltd.
38bf80f4bSopenharmony_ci
48bf80f4bSopenharmony_ci     Licensed under the Apache License, Version 2.0 (the "License");
58bf80f4bSopenharmony_ci     you may not use this file except in compliance with the License.
68bf80f4bSopenharmony_ci     You may obtain a copy of the License at
78bf80f4bSopenharmony_ci
88bf80f4bSopenharmony_ci          http://www.apache.org/licenses/LICENSE-2.0
98bf80f4bSopenharmony_ci
108bf80f4bSopenharmony_ci     Unless required by applicable law or agreed to in writing, software
118bf80f4bSopenharmony_ci     distributed under the License is distributed on an "AS IS" BASIS,
128bf80f4bSopenharmony_ci     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
138bf80f4bSopenharmony_ci     See the License for the specific language governing permissions and
148bf80f4bSopenharmony_ci     limitations under the License.
158bf80f4bSopenharmony_ci
168bf80f4bSopenharmony_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.
178bf80f4bSopenharmony_ci
188bf80f4bSopenharmony_ci-->
198bf80f4bSopenharmony_ci
208bf80f4bSopenharmony_ci<configuration>
218bf80f4bSopenharmony_ci    <oatconfig>
228bf80f4bSopenharmony_ci        <licensefile></licensefile>
238bf80f4bSopenharmony_ci        <policylist>
248bf80f4bSopenharmony_ci            <policy name="projectPolicy" desc="">
258bf80f4bSopenharmony_ci                <!--policyitem type="compatibility" name="GPL-2.0+" path="abc/.*" desc="Process that runs independently, invoked by the X process."/-->
268bf80f4bSopenharmony_ci                <!--policyitem type="license" name="LGPL" path="abc/.*" desc="Dynamically linked by module X"/-->
278bf80f4bSopenharmony_ci                <!--policyitem type="copyright" name="xxx" path="abc/.*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed by X Company"/-->
288bf80f4bSopenharmony_ci            </policy>
298bf80f4bSopenharmony_ci        </policylist>
308bf80f4bSopenharmony_ci        <filefilterlist>
318bf80f4bSopenharmony_ci            <filefilter name="defaultFilter" desc="Files not to check">
328bf80f4bSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
338bf80f4bSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
348bf80f4bSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
358bf80f4bSopenharmony_ci            </filefilter>
368bf80f4bSopenharmony_ci            <filefilter name="defaultPolicyFilter" desc="Filters for compatibility, license header policies">
378bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.rng" desc="shader config file,can not add license head"/>
388bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.shader" desc="shader config file,can not add license head"/>
398bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.shaderpl" desc="shader config file,can not add license head"/>
408bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.shadergs" desc="shader config file,can not add license head"/>
418bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.shadervid" desc="shader config file,can not add license head"/>
428bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.shaderrs" desc="shader config file,can not add license head"/>
438bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.natvis" desc="shader config file,can not add license head"/>
448bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.vert" desc="shader config file,can not add license head"/>
458bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.gles" desc="shader config file,can not add license head"/>
468bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.frag" desc="shader config file,can not add license head"/>
478bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.comp" desc="shader config file,can not add license head"/>
488bf80f4bSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
498bf80f4bSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
508bf80f4bSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
518bf80f4bSopenharmony_ci            </filefilter>
528bf80f4bSopenharmony_ci            <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
538bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.rng" desc="shader config file,can not add license head"/>
548bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.shader" desc="shader config file,can not add license head"/>
558bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.shaderpl" desc="shader config file,can not add license head"/>
568bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.shadergs" desc="shader config file,can not add license head"/>
578bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.shadervid" desc="shader config file,can not add license head"/>
588bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.shaderrs" desc="shader config file,can not add license head"/>
598bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.natvis" desc="shader config file,can not add license head"/>
608bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.vert" desc="shader config file,can not add license head"/>
618bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.gles" desc="shader config file,can not add license head"/>
628bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.frag" desc="shader config file,can not add license head"/>
638bf80f4bSopenharmony_ci                <filteritem type="filename" name="*.comp" desc="shader config file,can not add license head"/>
648bf80f4bSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
658bf80f4bSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
668bf80f4bSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
678bf80f4bSopenharmony_ci            </filefilter>
688bf80f4bSopenharmony_ci            <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
698bf80f4bSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
708bf80f4bSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
718bf80f4bSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
728bf80f4bSopenharmony_ci            </filefilter>
738bf80f4bSopenharmony_ci            <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
748bf80f4bSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
758bf80f4bSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
768bf80f4bSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
778bf80f4bSopenharmony_ci            </filefilter>
788bf80f4bSopenharmony_ci            <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
798bf80f4bSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
808bf80f4bSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
818bf80f4bSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
828bf80f4bSopenharmony_ci            </filefilter>
838bf80f4bSopenharmony_ci            <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
848bf80f4bSopenharmony_ci                <filteritem type="filepath" name="figures/graphic_3d_architecture.jpg" desc="A jpg file, jpg files do not affect packaging and compilation"/>
858bf80f4bSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
868bf80f4bSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
878bf80f4bSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
888bf80f4bSopenharmony_ci            </filefilter>
898bf80f4bSopenharmony_ci
908bf80f4bSopenharmony_ci        </filefilterlist>
918bf80f4bSopenharmony_ci        <licensematcherlist>
928bf80f4bSopenharmony_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.">
938bf80f4bSopenharmony_ci                <licensetext name="
948bf80f4bSopenharmony_ci                    uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
958bf80f4bSopenharmony_ci				 " desc=""/>
968bf80f4bSopenharmony_ci                <licensetext name="
978bf80f4bSopenharmony_ci                    uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
988bf80f4bSopenharmony_ci				 " desc=""/>
998bf80f4bSopenharmony_ci            </licensematcher-->
1008bf80f4bSopenharmony_ci        </licensematcherlist>
1018bf80f4bSopenharmony_ci    </oatconfig>
1028bf80f4bSopenharmony_ci</configuration>
103