2021-12-27 07:20:53 +00:00
<?xml version="1.0" encoding="UTF-8"?>
2022-03-17 04:54:30 +00:00
<!-- Copyright (c) 2022 Huawei Device Co., Ltd.
2021-12-27 07:20:53 +00:00
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 >
2022-03-17 04:54:30 +00:00
<licensefile > </licensefile>
2021-12-27 07:20:53 +00:00
<policylist >
<policy name= "projectPolicy" desc= "" >
2022-03-17 04:54:30 +00:00
<!-- 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"/ -->
2021-12-27 07:20:53 +00:00
</policy>
</policylist>
<filefilterlist >
2022-03-17 04:54:30 +00:00
<filefilter name= "defaultFilter" desc= "Files not to check" >
<filteritem type= "filename" name= "*.json" desc= "" />
2022-11-21 11:25:32 +00:00
<filteritem type= "filepath" name= "dir name underproject/.*.uvwxyz"
desc="Describe the reason for filtering scan results"/>
2022-03-17 04:54:30 +00:00
<filteritem type= "filepath" name= "projectroot/[a-zA-Z0-9]{20,}.sh" desc= "Temp files" />
2022-11-21 11:25:32 +00:00
<filteritem type= "filepath" name= "signs/.*" desc= "out put files" />
<filteritem type= "filepath" name= "gradle/.*" desc= "out put files" />
<filteritem type= "filepath" name= ".*.json5" desc= "build config file" />
<filteritem type= "filepath" name= "AppScope/.*.json5" desc= "build config file" />
<filteritem type= "filepath" name= "entry/.*.json5" desc= "build config file" />
<filteritem type= "filepath" name= "entry/src/main/ets/MainAbility/workers/.*.js" desc= "worker file" />
<filteritem type= "filepath" name= "entry/src/main/.*.json5" desc= "build config file" />
2024-03-16 07:28:47 +00:00
<filteritem type= "filename" name= "hvigorfile.js" desc= "Build Files" />
2022-03-17 04:54:30 +00:00
</filefilter>
<filefilter name= "defaultPolicyFilter" desc= "Filters for compatibility, license header policies" >
</filefilter>
<filefilter name= "copyrightPolicyFilter" desc= "Filters for copyright header policies" >
</filefilter>
<filefilter name= "licenseFileNamePolicyFilter" desc= "Filters for LICENSE file policies" >
</filefilter>
<filefilter name= "readmeFileNamePolicyFilter" desc= "Filters for README file policies" >
</filefilter>
<filefilter name= "readmeOpenSourcefileNamePolicyFilter" desc= "Filters for README.OpenSource file policies" >
</filefilter>
2021-12-27 07:20:53 +00:00
<filefilter name= "binaryFileTypePolicyFilter" desc= "Filters for binary file policies" >
2022-11-21 11:25:32 +00:00
<filteritem type= "filepath" name= "doc/image/.*.png" desc= "self developed image" />
<filteritem type= "filepath" name= "entry/src/main/resources/base/media/.*.png"
desc="self developed image"/>
<filteritem type= "filepath" name= "entry/src/main/resources/base/media/.*.svg"
desc="self developed image"/>
<filteritem type= "filepath" name= "entry/src/main/resources/rawfile/icon/.*.png"
desc="self developed image"/>
<filteritem type= "filepath" name= "entry/src/main/resources/rawfile/icon/.*.svg"
desc="self developed image"/>
<filteritem type= "filepath" name= "entry/src/ohosTest/resources/base/media/.*.png"
desc="self developed image"/>
2024-05-31 02:55:52 +00:00
<filteritem type= "filepath" name= "AppScope/resources/base/media/smsmms.png"
desc="self developed image"/>
2024-05-31 03:19:01 +00:00
<filteritem type= "filepath" name= "AppScope/resources/base/media/app_icon.png"
desc="self developed image"/>
2021-12-27 07:20:53 +00:00
</filefilter>
2022-03-17 04:54:30 +00:00
2023-09-28 08:11:44 +00:00
<filefilter name= "copyrightPolicyFilter" desc= "Filters for copyright header policies" >
<filteritem type= "filename" name= "hvigorw" desc= "Build Files" />
<filteritem type= "filename" name= "hvigorw.bat" desc= "Build Files" />
</filefilter>
<filefilter name= "defaultPolicyFilter" desc= "Filters for LICENSE file policies" >
<filteritem type= "filename" name= "hvigorw" desc= "Build Files" />
<filteritem type= "filename" name= "hvigorw.bat" desc= "Build Files" />
</filefilter>
2021-12-27 07:20:53 +00:00
</filefilterlist>
2022-03-17 04:54:30 +00:00
<licensematcherlist >
2022-11-21 11:25:32 +00:00
<licensematcher name= "uvwxyz License"
desc="If the scanning result is InvalidLicense, you can define matching rules here. Note that quotation marks must be escaped.">
2022-03-17 04:54:30 +00:00
<licensetext name= "
uvwxyz license text xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
" desc=""/>
</licensematcher>
</licensematcherlist>
2021-12-27 07:20:53 +00:00
</oatconfig>
</configuration>