xref: /base/location/OAT.xml (revision 5c735df2)
15c735df2Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?>
25c735df2Sopenharmony_ci<!-- Copyright (c) 2022 Huawei Device Co., Ltd.
35c735df2Sopenharmony_ci
45c735df2Sopenharmony_ci     Licensed under the Apache License, Version 2.0 (the "License");
55c735df2Sopenharmony_ci     you may not use this file except in compliance with the License.
65c735df2Sopenharmony_ci     You may obtain a copy of the License at
75c735df2Sopenharmony_ci
85c735df2Sopenharmony_ci          http://www.apache.org/licenses/LICENSE-2.0
95c735df2Sopenharmony_ci
105c735df2Sopenharmony_ci     Unless required by applicable law or agreed to in writing, software
115c735df2Sopenharmony_ci     distributed under the License is distributed on an "AS IS" BASIS,
125c735df2Sopenharmony_ci     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
135c735df2Sopenharmony_ci     See the License for the specific language governing permissions and
145c735df2Sopenharmony_ci     limitations under the License.
155c735df2Sopenharmony_ci
165c735df2Sopenharmony_ci    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.
175c735df2Sopenharmony_ci
185c735df2Sopenharmony_ci-->
195c735df2Sopenharmony_ci
205c735df2Sopenharmony_ci<configuration>
215c735df2Sopenharmony_ci    <oatconfig>
225c735df2Sopenharmony_ci        <licensefile></licensefile>
235c735df2Sopenharmony_ci        <policylist>
245c735df2Sopenharmony_ci            <policy name="projectPolicy" desc="">
255c735df2Sopenharmony_ci            </policy>
265c735df2Sopenharmony_ci        </policylist>
275c735df2Sopenharmony_ci        <filefilterlist>
285c735df2Sopenharmony_ci            <filefilter name="defaultFilter" desc="Files not to check">
295c735df2Sopenharmony_ci            </filefilter>
305c735df2Sopenharmony_ci            <filefilter name="defaultPolicyFilter" desc="Filters for compatibility, license header policies">
315c735df2Sopenharmony_ci                <filteritem type="filename" name="*.cfg" desc="The JSON format does not support comments."/>
325c735df2Sopenharmony_ci                <filteritem type="filename" name="bundle.json" desc="The JSON file does not support comments."/>
335c735df2Sopenharmony_ci            </filefilter>
345c735df2Sopenharmony_ci            <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
355c735df2Sopenharmony_ci                <filteritem type="filename" name="*.cfg" desc="The JSON format does not support comments."/>
365c735df2Sopenharmony_ci                <filteritem type="filename" name="bundle.json" desc="The JSON file does not support comments."/>
375c735df2Sopenharmony_ci            </filefilter>
385c735df2Sopenharmony_ci            <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
395c735df2Sopenharmony_ci            </filefilter>
405c735df2Sopenharmony_ci            <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
415c735df2Sopenharmony_ci            </filefilter>
425c735df2Sopenharmony_ci            <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
435c735df2Sopenharmony_ci            </filefilter>
445c735df2Sopenharmony_ci            <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
455c735df2Sopenharmony_ci                <filteritem type="filename" name="*.png" desc="Image for markdown doc"/>
465c735df2Sopenharmony_ci            </filefilter>
475c735df2Sopenharmony_ci
485c735df2Sopenharmony_ci        </filefilterlist>
495c735df2Sopenharmony_ci        <licensematcherlist>
505c735df2Sopenharmony_ci        </licensematcherlist>
515c735df2Sopenharmony_ci    </oatconfig>
525c735df2Sopenharmony_ci</configuration>