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<configuration> 19 <oatconfig> 20 <policylist> 21 <policy name="projectPolicy" desc=""> 22 <policyitem type="license" name="MIT" path="NOTICE" desc="The MIT license is allowed"/> 23 <policyitem type="license" name="EPL-2.0" path="NOTICE" desc="The EPL-2.0 license is allowed"/> 24 </policy> 25 </policylist> 26 <filefilterlist> 27 <filefilter name="defaultPolicyFilter" desc="Files that do not need to be applied specified policy, will be merged with the filter items which has the same filefilter name"> 28 <filteritem type="filename" name="pom.xml"/> 29 <filteritem type="filename" name="settings.xml"/> 30 <filteritem type="filename" name="README.OpenSource"/> 31 <filteritem type="filename" name="README"/> 32 <filteritem type="filename" name="README.md"/> 33 <filteritem type="filename" name="README_zh.md"/> 34 <filteritem type="filename" name="ohnull.p12"/> 35 <filteritem type="filename" name="*.bat" desc="script file"/> 36 <filteritem type="filename" name="*.sh" desc="script file"/> 37 </filefilter> 38 <filefilter name="copyrightPolicyFilter" desc=""> 39 <filteritem type="filename" name="pom.xml"/> 40 <filteritem type="filename" name="settings.xml"/> 41 <filteritem type="filename" name="README.OpenSource"/> 42 <filteritem type="filename" name="README"/> 43 <filteritem type="filename" name="README.md"/> 44 <filteritem type="filename" name="README_zh.md"/> 45 <filteritem type="filename" name="ohnull.p12"/> 46 <filteritem type="filename" name="*.bat" desc="script file"/> 47 <filteritem type="filename" name="*.sh" desc="script file"/> 48 </filefilter> 49 <filefilter name="licenseFileNamePolicyFilter" desc=""> 50 <filteritem type="filename" name="pom.xml"/> 51 <filteritem type="filename" name="settings.xml"/> 52 </filefilter> 53 <filefilter name="readmeFileNamePolicyFilter" desc=""> 54 </filefilter> 55 <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc=""> 56 </filefilter> 57 <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies"> 58 <filteritem type="filename" name="OpenHarmony.p12" desc="Keystore used in OpenHarmony app sign"/> 59 <filteritem type="filename" name="ohnull.p12" desc="Keystore used in OpenHarmony app sign of test case"/> 60 <filteritem type="filename" name="ohtest_nopass.jks" desc="Keystore used in OpenHarmony app sign of test case"/> 61 <filteritem type="filename" name="ohtest_pass.jks" desc="Keystore used in OpenHarmony app sign of test case"/> 62 <filteritem type="filename" name="app1-unsigned.hap" desc="Keystore used in OpenHarmony app sign of test case"/> 63 <filteritem type="filename" name="*.pem" desc="OpenHarmony app sign certificates"/> 64 <filteritem type="filename" name="*.jar" desc="OpenHarmony app sign tool"/> 65 </filefilter> 66 </filefilterlist> 67 </oatconfig> 68</configuration> 69