<?xml version="1.0" encoding="UTF-8"?>

<!--

    The MIT License (MIT)

    Copyright (C) 2026 Huawei Device Co., Ltd and iSoftStone Information Technology(Group)Co.,Ltd.



    Permission is hereby granted, free of charge, to any person obtaining a copy

    of this software and associated documentation files (the "Software"), to deal

    in the Software without restriction, including without limitation the rights

    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

    copies of the Software, and to permit persons to whom the Software is

    furnished to do so, subject to the following conditions:



    The above copyright notice and this permission notice shall be included in

    all copies or substantial portions of the Software.

-->



<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="MIT" path=".*" desc="MIT"/>

            <policyitem type="copyright" name="Copyright (C) 2026 Huawei Device Co., Ltd and iSoftStone Information Technology(Group)Co.,Ltd."

                        path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter"

                        desc="Copyright (C) 2026 Huawei Device Co., Ltd and iSoftStone Information Technology(Group)Co.,Ltd."/>

        </policy>

    </policylist>

    <filefilterlist>

        <filefilter name="defaultFilter" desc="Files not to check">

            <!--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"/-->

        </filefilter>

        <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header 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"/-->

        </filefilter>

        <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header 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"/-->

        </filefilter>

        <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE 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"/-->

        </filefilter>

        <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README 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"/-->

        </filefilter>

        <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource 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"/-->

        </filefilter>

        <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"/-->

        </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>