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></licensefile> 23 <policylist> 24 <policy name="projectPolicy" desc=""> 25 <policyitem type="copyright" name="Copyright 1989, 1991 The Regents of the University of California." path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/> 26 <policyitem type="copyright" name="Copyright 1985, 1987, 1988 The Regents of the University of California." path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/> 27 <policyitem type="copyright" name="Copyright 1989 The Regents of the University of California." path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/> 28 <policyitem type="license" name="BSD-3-Clause" path="date.c" desc="兼容license"/> 29 <policyitem type="license" name="BSD-3-Clause" path="strftime.c" desc="兼容license"/> 30 <policyitem type="license" name="BSD-3-Clause" path="LICENSE" desc="兼容license"/> 31 </policy> 32 </policylist> 33 <filefilterlist> 34 <filefilter name="defaultFilter" desc="Files not to check"> 35 </filefilter> 36 <filefilter name="binaryFileTypePolicyFilter" desc="binary file filter policy"> 37 <filteritem type="filepath" name="openEuler/tzdata/tzdata-openEuler-22.03-LTS-SP1-release.zip" desc="openEuler raw file"/> 38 </filefilter> 39 <filefilter name="defaultPolicyFilter" desc="Filters for compatibility, license header policies"> 40 <filteritem type="filepath" name="date.1" desc="no license header"/> 41 <filteritem type="filepath" name=".*.3" desc="no license header"/> 42 <filteritem type="filepath" name=".*.5" desc="no license header"/> 43 <filteritem type="filepath" name=".*.8" desc="no license header"/> 44 <filteritem type="filepath" name=".*.awk" desc="no license header"/> 45 <filteritem type="filepath" name=".*.tab" desc="no license header"/> 46 47 <filteritem type="filepath" name="CONTRIBUTING" desc="no license header"/> 48 <filteritem type="filepath" name="difftime.c" desc="no license header"/> 49 <filteritem type="filepath" name="etcetera" desc="no license header"/> 50 <filteritem type="filepath" name="europe" desc="no license header"/> 51 <filteritem type="filepath" name="tzfile.h" desc="no license header"/> 52 <filteritem type="filepath" name="factory" desc="no license header"/> 53 <filteritem type="filepath" name="africa" desc="no license header"/> 54 <filteritem type="filepath" name="tzselect.ksh" desc="no license header"/> 55 <filteritem type="filepath" name="antarctica" desc="no license header"/> 56 <filteritem type="filepath" name="leap-seconds.list" desc="no license header"/> 57 <filteritem type="filepath" name="version" desc="no license header"/> 58 <filteritem type="filepath" name="asctime.c" desc="no license header"/> 59 <filteritem type="filepath" name="leapseconds" desc="no license header"/> 60 <filteritem type="filepath" name="workman.sh" desc="no license header"/> 61 <filteritem type="filepath" name="asia" desc="no license header"/> 62 <filteritem type="filepath" name="australasia" desc="no license header"/> 63 <filteritem type="filepath" name="localtime.c" desc="no license header"/> 64 <filteritem type="filepath" name="zdump.c" desc="no license header"/> 65 <filteritem type="filepath" name="backward" desc="no license header"/> 66 <filteritem type="filepath" name="backzone" desc="no license header"/> 67 <filteritem type="filepath" name="zic.c" desc="no license header"/> 68 <filteritem type="filepath" name="calendars" desc="no license header"/> 69 <filteritem type="filepath" name="northamerica" desc="no license header"/> 70 <filteritem type="filepath" name="private.h" desc="no license header"/> 71 <filteritem type="filepath" name="southamerica" desc="no license header"/> 72 <filteritem type="filepath" name="zoneinfo2tdf.pl" desc="no license header"/> 73 74 </filefilter> 75 <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies"> 76 <filteritem type="filepath" name="date.1" desc="Describe the reason for filtering scan results"/> 77 <filteritem type="filepath" name=".*.3" desc="Describe the reason for filtering scan results"/> 78 <filteritem type="filepath" name=".*.5" desc="Describe the reason for filtering scan results"/> 79 <filteritem type="filepath" name=".*.8" desc="Describe the reason for filtering scan results"/> 80 <filteritem type="filepath" name=".*.awk" desc="Describe the reason for filtering scan results"/> 81 <filteritem type="filepath" name=".*.tab" desc="Describe the reason for filtering scan results"/> 82 83 <filteritem type="filepath" name="CONTRIBUTING" desc="Describe the reason for filtering scan results"/> 84 <filteritem type="filepath" name="difftime.c" desc="Describe the reason for filtering scan results"/> 85 <filteritem type="filepath" name="etcetera" desc="Describe the reason for filtering scan results"/> 86 <filteritem type="filepath" name="europe" desc="Describe the reason for filtering scan results"/> 87 <filteritem type="filepath" name="tzfile.h" desc="Describe the reason for filtering scan results"/> 88 <filteritem type="filepath" name="factory" desc="Describe the reason for filtering scan results"/> 89 <filteritem type="filepath" name="africa" desc="Describe the reason for filtering scan results"/> 90 <filteritem type="filepath" name="tzselect.ksh" desc="Describe the reason for filtering scan results"/> 91 <filteritem type="filepath" name="antarctica" desc="Describe the reason for filtering scan results"/> 92 <filteritem type="filepath" name="leap-seconds.list" desc="Describe the reason for filtering scan results"/> 93 <filteritem type="filepath" name="version" desc="Describe the reason for filtering scan results"/> 94 <filteritem type="filepath" name="asctime.c" desc="Describe the reason for filtering scan results"/> 95 <filteritem type="filepath" name="leapseconds" desc="Describe the reason for filtering scan results"/> 96 <filteritem type="filepath" name="workman.sh" desc="Describe the reason for filtering scan results"/> 97 <filteritem type="filepath" name="asia" desc="Describe the reason for filtering scan results"/> 98 <filteritem type="filepath" name="australasia" desc="Describe the reason for filtering scan results"/> 99 <filteritem type="filepath" name="localtime.c" desc="Describe the reason for filtering scan results"/> 100 <filteritem type="filepath" name="zdump.c" desc="Describe the reason for filtering scan results"/> 101 <filteritem type="filepath" name="backward" desc="Describe the reason for filtering scan results"/> 102 <filteritem type="filepath" name="backzone" desc="Describe the reason for filtering scan results"/> 103 <filteritem type="filepath" name="zic.c" desc="Describe the reason for filtering scan results"/> 104 <filteritem type="filepath" name="calendars" desc="Describe the reason for filtering scan results"/> 105 <filteritem type="filepath" name="northamerica" desc="Describe the reason for filtering scan results"/> 106 <filteritem type="filepath" name="private.h" desc="Describe the reason for filtering scan results"/> 107 <filteritem type="filepath" name="southamerica" desc="Describe the reason for filtering scan results"/> 108 <filteritem type="filepath" name="zoneinfo2tdf.pl" desc="Describe the reason for filtering scan results"/> 109 110 </filefilter> 111 </filefilterlist> 112 <licensematcherlist> 113 <licensematcher name="BSD-3-Clause" desc="If the scanning result is InvalidLicense, you can define matching rules here. Note that quotation marks must be escaped."> 114 <licensetext name=" 115 Unless specified below, all files in the tz code and data (including 116 this LICENSE file) are in the public domain. 117 118 If the files date.c, newstrftime.3, and strftime.c are present, they 119 contain material derived from BSD and use the BSD 3-clause license. 120 " desc=""/> 121 </licensematcher> 122 </licensematcherlist> 123 </oatconfig> 124</configuration> 125