bb9adba4创建于 7月15日历史提交
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

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.

-->

<configuration>
    <oatconfig>
        <licensefile></licensefile>
        <policylist>
            <policy name="projectPolicy" desc="">
                <!--policyitem type="compatibility" name="GPL-2.0+" path="abc/.*" desc="Process that runs independently, invoked by the X process."/-->
                <!--policyitem type="license" name="LGPL" path="abc/.*" desc="Dynamically linked by module X"/-->
                <!--policyitem type="copyright" name="xxx" path="abc/.*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed by X Company"/-->
                <policyitem type="license" name="CC-BY-4.0" path=".*" rule="may" group="defaultGroup"
                            filefilter="defaultPolicyFilter" desc="License for documents"/>
            </policy>
        </policylist>
        <filefilterlist>
            <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
                <filteritem type="filename"
                            name="*.so|*.jpg|*.png|*.gif|*.pdf|*.xlsm|*.zip|*.ogg|*.bmp|*.ico|*.heic|*.jpeg|*.webp|*.pcm"
                            desc="already checked"/>
                <filteritem type="filepath"
                            name="ArkTS/NodeAPI/NodeAPIUse/NodeAPIExtendCapabilities/entry/src/main/resources/rawfile/test.abc"
                            desc="This file was compiled within this sample code"/>
            </filefilter>
        </filefilterlist>
        <licensematcherlist>
            <!--licensematcher name="uvwxyz License" desc="If the scanning result is InvalidLicense, you can define matching rules here. Note that quotation marks must be escaped.">
            <licensetext name="
            uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
            " desc=""/>
            <licensetext name="
            uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
            " desc=""/>
            </licensematcher-->
        </licensematcherlist>
    </oatconfig>
</configuration>