1<?xml version="1.0" encoding="UTF-8"?> 2<!-- Copyright (c) 2021 Huawei Device Co., Ltd. 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 16 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. 17 18--> 19 20<configuration> 21 <oatconfig> 22 <licensefile>LICENSE</licensefile> 23 <policylist> 24 <policy name="projectPolicy" desc=""> 25 <!--policyitem type="compatibility" name="GPL-2.0+" path="abc/.*" desc="Process that runs independently, invoked by the X process."/--> 26 <policyitem type="copyright" name="Huawei Technologies Co., Ltd." path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed by Huawei Technologies"/> 27 <policyitem type="copyright" name="Huawei Device Co., Ltd." path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed by Huawei Device"/> 28 <policyitem type="copyright" name="Rockchip Electronics Co., Ltd." path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed By Rockchip"/> 29 <policyitem type="copyright" name="Rockchip Electronics S.LSI Co. LTD" path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed By Rockchip"/> 30 <policyitem type="copyright" name="Rockchip Electronics Co., LTD." path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed By Rockchip"/> 31 <policyitem type="copyright" name="HiHope Open Source Organization ." path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed By Hihope"/> 32 <policyitem type="copyright" name="Institute of Software, CAS." path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed By ISCAS"/> 33 <policyitem type="copyright" name="Shenzhen Kaihong DID Co., Ltd." path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed By Shenzhen Kaihong DID"/> 34 <policyitem type="license" name="GPL" path=".*" desc="linux kernel adapter codes"/> 35 <policyitem type="license" name="BSD" path=".*" desc="huawei codes"/> 36 <policyitem type="license" name="MIT" path=".*" desc="Intel code"/> 37 <policyitem type="copyright" name="Intel Corporation" path=".*" desc="Intel code"/> 38 <policyitem type="copyright" name="iSoftStone Information Technology (Group) Co.,Ltd. All rights reserved." path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed By Shenzhen Kaihong DID"/> 39 <policyitem type="copyright" name="FuZhou Lockzhiner Electronic Co., Ltd. All rights reserved." path=".*" desc=""/> 40 <policyitem type="copyright" name="Lockzhiner Electronics Co., Ltd." path=".*" desc=""/> 41 </policy> 42 </policylist> 43 <filefilterlist> 44 <filefilter name="defaultFilter" desc="Files not to check"> 45 <filteritem type="filepath" name="rk3568/hardware/isp/bin/*" desc="isp bin file"/> 46 <filteritem type="filepath" name="rk3568/hardware/isp/bin64/*" desc="isp bin file"/> 47 <filteritem type="filepath" name="rk3568/hardware/isp/lib/*" desc="isp lib file"/> 48 <filteritem type="filepath" name="rk3568/hardware/isp/lib64/*" desc="isp lib file"/> 49 <filteritem type="filepath" name="rk3568/hardware/wifi/ap6xxx/*" desc="mirror image file"/> 50 <filteritem type="filepath" name="rk3568/hardware/rga/lib64/*" desc="so file"/> 51 <filteritem type="filepath" name="rk3568/hardware/rga/lib/*" desc="so file"/> 52 <filteritem type="filepath" name="rk3568/hardware/wifi/*" desc="wifi lib and bin files"/> 53 <filteritem type="filepath" name="rk3568/hardware/mpp/lib/*" desc="mpp 32bit libs file"/> 54 <filteritem type="filepath" name="rk3568/hardware/mpp/lib64/*" desc="mpp 64bit libs file"/> 55 <filteritem type="filepath" name="rk3568/hardware/display/lib/*" desc="display 32bit libs file"/> 56 <filteritem type="filepath" name="rk3568/hardware/display/lib64/*" desc="display 64bit libs file"/> 57 <filteritem type="filepath" name="rk3568/hardware/omx_il/lib/*" desc="omx 32bit libs file"/> 58 <filteritem type="filepath" name="rk3568/hardware/omx_il/lib64/*" desc="omx 64bit libs file"/> 59 <filteritem type="filepath" name="rk3568/hardware/camera_adapter/lib/*" desc="libcamera 32bit libs file"/> 60 <filteritem type="filepath" name="rk3568/hardware/gra/lib/*" desc="gra 32bit libs file"/> 61 <filteritem type="filepath" name="rk3568/hardware/gra/lib64/*" desc="gra 64bit libs file"/> 62 <filteritem type="filepath" name="rk3568/hardware/gpu/lib/*" desc="gpb 32bit libs file"/> 63 <filteritem type="filepath" name="rk3568/hardware/gpu/lib64/*" desc="gpb 64bit libs file"/> 64 <filteritem type="filepath" name="rk3568/hardware/wifi/proc/sys/net/ipv4/ping_group_range/*" desc="project configuration file"/> 65 <filteritem type="filepath" name="rk2206/hardware/End User License Agreement.md" desc=""/> 66 <filteritem type="filepath" name="rk2206/sdk_liteos/loader/End User License Agreement.md" desc=""/> 67 <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 68 <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 69 <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 70 </filefilter> 71 <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies"> 72 <filteritem type="filepath" name="rk2206/hardware/build.py" desc=""/> 73 <filteritem type="filepath" name="rk2206/sdk_liteos/platform/main/BUILD.gn" desc=""/> 74 <filteritem type="filepath" name="rk2206/sdk_liteos/BUILD.gn" desc=""/> 75 <filteritem type="filepath" name="rk2206/sdk_liteos/platform/network/BUILD.gn" desc=""/> 76 <filteritem type="filepath" name="rk2206/sdk_liteos/platform/uart/BUILD.gn" desc=""/> 77 <filteritem type="filepath" name="rk2206/BUILD.gn" desc=""/> 78 <filteritem type="filepath" name="rk2206/hdf_driver/BUILD.gn" desc=""/> 79 <filteritem type="filepath" name="rk2206/Kconfig.liteos_m.defconfig.series" desc=""/> 80 <filteritem type="filepath" name="rk2206/hdf_driver/fs/BUILD.gn" desc=""/> 81 <filteritem type="filepath" name="rk2206/sdk_liteos/liteos_m/BUILD.gn" desc=""/> 82 <filteritem type="filepath" name="rk2206/Kconfig.liteos_m.series" desc=""/> 83 <filteritem type="filepath" name="rk2206/sdk_liteos/platform/startup/BUILD.gn" desc=""/> 84 <filteritem type="filepath" name="rk2206/Kconfig.liteos_m.soc" desc=""/> 85 <filteritem type="filepath" name="rk2206/board.gni" desc=""/> 86 <filteritem type="filepath" name="rk2206/hdf_driver/gpio/BUILD.gn" desc=""/> 87 <filteritem type="filepath" name="rk2206/adapter/BUILD.gn" desc=""/> 88 <filteritem type="filepath" name="rk2206/adapter/hals/BUILD.gn" desc=""/> 89 <filteritem type="filepath" name="rk2206/adapter/hals/communication/BUILD.gn" desc=""/> 90 <filteritem type="filepath" name="rk2206/hdf_driver/i2c/BUILD.gn" desc=""/> 91 <filteritem type="filepath" name="rk2206/adapter/hals/communication/wifi_lite/BUILD.gn" desc=""/> 92 <filteritem type="filepath" name="rk2206/hdf_config/BUILD.gn" desc=""/> 93 <filteritem type="filepath" name="rk2206/sdk_liteos/platform/system/BUILD.gn" desc=""/> 94 <filteritem type="filepath" name="rk2206/hdf_driver/spi/BUILD.gn" desc=""/> 95 <filteritem type="filepath" name="rk2206/sdk_liteos/platform/BUILD.gn" desc=""/> 96 <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 97 <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 98 <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 99 </filefilter> 100 <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies"> 101 <filteritem type="filepath" name="rk2206/hardware/build.py" desc=""/> 102 <filteritem type="filepath" name="rk2206/sdk_liteos/platform/main/BUILD.gn" desc=""/> 103 <filteritem type="filepath" name="rk2206/sdk_liteos/BUILD.gn" desc=""/> 104 <filteritem type="filepath" name="rk2206/sdk_liteos/platform/network/BUILD.gn" desc=""/> 105 <filteritem type="filepath" name="rk2206/sdk_liteos/platform/uart/BUILD.gn" desc=""/> 106 <filteritem type="filepath" name="rk2206/BUILD.gn" desc=""/> 107 <filteritem type="filepath" name="rk2206/hdf_driver/BUILD.gn" desc=""/> 108 <filteritem type="filepath" name="rk2206/Kconfig.liteos_m.defconfig.series" desc=""/> 109 <filteritem type="filepath" name="rk2206/hdf_driver/fs/BUILD.gn" desc=""/> 110 <filteritem type="filepath" name="rk2206/sdk_liteos/liteos_m/BUILD.gn" desc=""/> 111 <filteritem type="filepath" name="rk2206/Kconfig.liteos_m.series" desc=""/> 112 <filteritem type="filepath" name="rk2206/sdk_liteos/platform/startup/BUILD.gn" desc=""/> 113 <filteritem type="filepath" name="rk2206/Kconfig.liteos_m.soc" desc=""/> 114 <filteritem type="filepath" name="rk2206/board.gni" desc=""/> 115 <filteritem type="filepath" name="rk2206/hdf_driver/gpio/BUILD.gn" desc=""/> 116 <filteritem type="filepath" name="rk2206/adapter/BUILD.gn" desc=""/> 117 <filteritem type="filepath" name="rk2206/adapter/hals/BUILD.gn" desc=""/> 118 <filteritem type="filepath" name="rk2206/adapter/hals/communication/BUILD.gn" desc=""/> 119 <filteritem type="filepath" name="rk2206/hdf_driver/i2c/BUILD.gn" desc=""/> 120 <filteritem type="filepath" name="rk2206/adapter/hals/communication/wifi_lite/BUILD.gn" desc=""/> 121 <filteritem type="filepath" name="rk2206/hdf_config/BUILD.gn" desc=""/> 122 <filteritem type="filepath" name="rk2206/sdk_liteos/platform/system/BUILD.gn" desc=""/> 123 <filteritem type="filepath" name="rk2206/hdf_driver/spi/BUILD.gn" desc=""/> 124 <filteritem type="filepath" name="rk2206/sdk_liteos/platform/BUILD.gn" desc=""/> 125 <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 126 <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 127 <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 128 </filefilter> 129 <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies"> 130 <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 131 <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 132 <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 133 </filefilter> 134 <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies"> 135 <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 136 <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 137 </filefilter> 138 <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies"> 139 <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 140 <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 141 <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 142 </filefilter> 143 <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies"> 144 <filteritem type="filepath" name="rk3568/hardware/gpu/lib/*" desc="gpb 32bit libs file"/> 145 <filteritem type="filepath" name="rk3568/hardware/gpu/lib64/*" desc="gpb 64bit libs file"/> 146 <filteritem type="filepath" name="rk3568/hardware/isp/*" desc="isp lib and bin files"/> 147 <filteritem type="filepath" name="rk3568/hardware/mpp/lib/*" desc="mpp 32bit libs file"/> 148 <filteritem type="filepath" name="rk3568/hardware/mpp/lib64/*" desc="mpp 64bit libs file"/> 149 <filteritem type="filepath" name="rk3568/hardware/display/lib/*" desc="display 32bit libs file"/> 150 <filteritem type="filepath" name="rk3568/hardware/display/lib64/*" desc="display 64bit libs file"/> 151 <filteritem type="filepath" name="rk3568/hardware/omx_il/lib/*" desc="omx 32bit libs file"/> 152 <filteritem type="filepath" name="rk3568/hardware/omx_il/lib64/*" desc="omx 64bit libs file"/> 153 <filteritem type="filepath" name="rk3568/hardware/gra/lib/*" desc="gra 32bit libs file"/> 154 <filteritem type="filepath" name="rk3568/hardware/gra/lib64/*" desc="gra 64bit libs file"/> 155 <filteritem type="filepath" name="rk3568/hardware/wifi/*" desc="wifi lib and bin files"/> 156 <filteritem type="filepath" name="rk3568/hardware/camera_adapter/lib/*" desc="libcamera 32bit libs file"/> 157 <filteritem type="filepath" name="rk3399/hardware/mpp/lib/librockchip_mpp.z.so" desc="lib files"/> 158 <filteritem type="filepath" name="rk3399/hardware/mpp/lib64/librockchip_mpp.z.so" desc="lib files"/> 159 <filteritem type="filepath" name="rk3399/hardware/mpp/lib64/librockchip_vpu.z.so" desc="lib files"/> 160 <filteritem type="filepath" name="rk3399/hardware/rga/lib/librga.z.so" desc="lib files"/> 161 <filteritem type="filepath" name="rk3399/hardware/rga/lib64/librga.z.so" desc="lib files"/> 162 <filteritem type="filepath" name="rk2206/tools/package/firmware_merger" desc=""/> 163 <filteritem type="filepath" name="rk2206/tools/package/resource_header_tool" desc=""/> 164 <filteritem type="filepath" name="rk2206/tools/linux/bin/flash.aarch64" desc=""/> 165 <filteritem type="filepath" name="rk2206/tools/linux/bin/flash.aarch64.enc" desc=""/> 166 <filteritem type="filepath" name="rk2206/tools/linux/bin/flash.mac" desc=""/> 167 <filteritem type="filepath" name="rk2206/sdk_liteos/loader/.*" desc=""/> 168 <filteritem type="filepath" name="rk2206/hardware/libhardware.a" desc=""/> 169 <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 170 <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/--> 171 <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/--> 172 </filefilter> 173 174 </filefilterlist> 175 <licensematcherlist> 176 <!--licensematcher name="uvwxyz License" desc="If the scanning result is InvalidLicense, you can define matching rules here. Note that quotation marks must be escaped."> 177 <licensetext name=" 178 uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 179 " desc=""/> 180 <licensetext name=" 181 uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 182 " desc=""/> 183 </licensematcher--> 184 </licensematcherlist> 185 </oatconfig> 186</configuration> 187