forked from jenkins-infra/update-center2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spotbugs-excludes.xml
34 lines (34 loc) · 1.21 KB
/
spotbugs-excludes.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<FindBugsFilter>
<Match>
<!-- No multithreading: ignore unsafe static calls -->
<Bug pattern="STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE" />
</Match>
<Match>
<!-- All @JsonField fields are considered unwritten -->
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
</Match>
<Match>
<!-- CRLF injection risk from logging is not relevant here -->
<Bug pattern="CRLF_INJECTION_LOGS" />
</Match>
<Match>
<!-- Internal representation exposure is not a risk in this utility -->
<Bug pattern="EI_EXPOSE_REP" />
</Match>
<Match>
<!-- Internal representation exposure is not a risk in this utility -->
<Bug pattern="EI_EXPOSE_REP2" />
</Match>
<Match>
<!-- Internal representation exposure is not a risk in this utility -->
<Bug pattern="MS_EXPOSE_REP" />
</Match>
<Match>
<!-- SHA1 digest is required for checksums -->
<Bug pattern="WEAK_MESSAGE_DIGEST_SHA1" />
</Match>
<Match>
<!-- Reading user specified files is part of the role of this utility -->
<Bug pattern="PATH_TRAVERSAL_IN" />
</Match>
</FindBugsFilter>