• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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="Huawei" path=".*" desc="beken use Huawei copyright"/>
26                <policyitem type="copyright" name="BEKEN" path=".*" desc="use beken copyright"/>
27                <policyitem type="copyright" name="Beken" path=".*" desc="use beken copyright"/>
28                <policyitem type="license" name="Apache" path=".*" desc="beken use apache 2.0 license"/>
29                <policyitem type="license" name="BSD-3-Clause" path=".*" desc="beken use BSD-3-Clause license"/>
30                <policyitem type="license" name="MIT" path=".*" desc="beken use MIT license"/>
31            </policy>
32        </policylist>
33        <filefilterlist>
34            <filefilter name="defaultFilter" desc="beken using MIT files, but invalid copyright">
35                <filteritem type="filepath" name="EULA" desc="beken using MIT files, but invalid copyright"/>
36            </filefilter>
37
38			<filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies" >
39                <filteritem type="filename" name="*.a|*.so|*.bin|*.exe|*.7z|*.elf|*.png|*.sh|image_gen_header" desc="Temp files"/>
40            </filefilter>
41
42			<filefilter name="defaultFilter" desc="not invalid copyright">
43                <filteritem type="filepath" name="bk7235x/liteos_m/encrypt" desc="not invalid copyright"/>
44				<filteritem type="filepath" name="Kconfig.liteos_m.boards" desc="not invalid copyright"/>
45				<filteritem type="filepath" name="Kconfig.liteos_m.defconfig.boards" desc="not invalid copyright"/>
46				<filteritem type="filepath" name="shields/Kconfig.liteos_m.shields" desc="not invalid copyright"/>
47				<filteritem type="filepath" name="Kconfig.liteos_m.shields" desc="not invalid copyright"/>
48				<filteritem type="filepath" name="bk7235x/liteos_m/build_sdk.sh" desc="not invalid copyright"/>
49				<filteritem type="filepath" name="bk7235x/liteos_m/get_libs.sh" desc="not invalid copyright"/>
50            </filefilter>
51        </filefilterlist>
52    </oatconfig>
53</configuration>
54