oat告警屏蔽配置

Signed-off-by: peizhe <zhaipeizhe@huawei.com>
This commit is contained in:
peizhe 2023-05-16 15:29:23 +08:00
parent f49b538af0
commit c15f338840

View File

@ -58,9 +58,13 @@ Note:If the text contains special characters|please escape them according to the
<licensefile>LICENSE-ZLIB.md|LICENSE-APACHE.md|LICENSE-MIT.md</licensefile>
<policylist>
<policy name="projectPolicy" desc="">
<policyitem type="compatibility" name="InvalidLicense" path="Cargo.toml" desc="toml文件已声明license"/>
<policyitem type="compatibility" name="zlib-acknowledgement" path=".*" rule="may" group="defaultPolicyFilter" desc="原生上游文件使用ZLIB license文件"/>
<policyitem type="compatibility" name="zlib-acknowledgement" path="LICENSE-ZLIB.md" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="原生上游文件使用ZLIB license文件"/>
</policy>
</policylist>
<filefilterlist>
<filefilter name="defaultPolicyFilter" desc="Filters for compatibilitylicense header policies">
<filteritem type="filename" name="Cargo.toml" desc="toml treats as readme file"/>
</filefilter>
</filefilterlist>
</oatconfig>
</configuration>