sensors_sensor/OAT.xml
bailu1992 56e719e164 sensor Adds a binary file type policy filter
Signed-off-by: bailu1992 <bailu27@huawei.com>
2024-05-28 21:46:42 +08:00

84 lines
8.0 KiB
XML
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2021 Huawei Device Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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.
-->
<configuration>
<oatconfig>
<licensefile>LICENSE</licensefile>
<policylist>
<policy name="defaultPolicy" desc="" >
<policyitem type="compatibility" name="Apache" path="frameworks/.*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc=""/>
<policyitem type="compatibility" name="Apache" path="interfaces/.*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc=""/>
<policyitem type="compatibility" name="Apache" path="sa_profile/.*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc=""/>
<policyitem type="compatibility" name="Apache" path="services/.*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc=""/>
<policyitem type="compatibility" name="Apache" path="utils/.*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc=""/>
</policy>
</policylist>
<filefilterlist>
<filefilter name="defaultPolicyFilter" desc="Files not to check">
<filteritem type="filepath" name="interfaces/plugin/vibrate/test/vibrate_js_test_hap/entry/src/ohosTest/resources/base/media/icon.png" desc="png文件"/>
<filteritem type="filepath" name="interfaces/plugin/vibrate/test/vibrate_js_test_hap/entry/src/main/resources/base/media/icon.png" desc="png文件"/>
<filteritem type="filepath" name="interfaces/plugin/vibrate/test/vibrate_js_test_hap/entry/src/main/resources/base/media/icon_small.png" desc="png文件"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/ohosTest/js/default/app.js" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/main/js/default/app.js" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/ohosTest/js/default/pages/index/index.js" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/main/js/test/List.test.js" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/ohosTest/js/test/ExampleJsunit.test.js" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/main/js/test/SensorJsunit.test.js" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/ohosTest/js/test/List.test.js" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/main/js/default/pages/index/index.js" desc="js文件不参与打包不影响兼容性"/>
</filefilter>
<filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
<filteritem type="filepath" name="interfaces/plugin/vibrate/test/vibrate_js_test_hap/entry/src/ohosTest/resources/base/media/icon.png" desc="png文件"/>
<filteritem type="filepath" name="interfaces/plugin/vibrate/test/vibrate_js_test_hap/entry/src/main/resources/base/media/icon.png" desc="png文件"/>
<filteritem type="filepath" name="interfaces/plugin/vibrate/test/vibrate_js_test_hap/entry/src/main/resources/base/media/icon_small.png" desc="png文件"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/ohosTest/js/default/app.js" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/main/js/default/app.js" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/ohosTest/js/default/pages/index/index.js" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/main/js/test/List.test.js" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/ohosTest/js/test/ExampleJsunit.test.js" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/main/js/test/SensorJsunit.test.js" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/ohosTest/js/test/List.test.js" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/main/js/default/pages/index/index.js" desc="js文件不参与打包不影响兼容性"/>
</filefilter>
<filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
</filefilter>
<filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
</filefilter>
<filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
</filefilter>
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/main/resources/base/media/icon_small.png" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/ohosTest/resources/base/media/icon.png" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/entry/src/main/resources/base/media/icon.png" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="interfaces/plugin/test/sensor_js_test_hap/gradle/wrapper/gradle-wrapper.jar" desc="js文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="figures/en-us_image_0000001199027515.png" desc="png文件不参与打包不影响兼容性"/>
<filteritem type="filepath" name="figures/zh-cn_image_0000001199027515.png" desc="png文件不参与打包不影响兼容性"/>
</filefilter>
</filefilterlist>
<licensematcherlist>
<licensematcher name="uvwxyz License" desc="If the scanning result is InvalidLicense, you can define matching rules here. Note that quotation marks must be escaped.">
<licensetext name="
uvwxyz license text xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
" desc=""/>
</licensematcher>
</licensematcherlist>
</oatconfig>
</configuration>