forked from nsai1/dai-ds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
findBugsExclusions.xml
159 lines (156 loc) · 7.16 KB
/
findBugsExclusions.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter
xmlns="https://github.com/spotbugs/filter/3.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd">
<!-- API Documentation at: https://spotbugs.readthedocs.io/en/stable/filter.html#introduction-to-filter-files -->
<Match> <!-- As designed not an issue; this is not intended to be an internet exposed or
publicly running application -->
<Or>
<Class name="com.intel.config_io.ConfigIOBase" />
<Class name="com.intel.perflogging.PerfLogger" />
<Class name="com.intel.runtime_utils.PropertyLoader" />
<Class name="com.intel.xdg.XdgConfigFile" />
<Class name="com.intel.dai.populate.DefaultOnlineTierDataLoader" />
<Class name="com.intel.networking.sink.for_benchmarking.NetworkDataSinkBenchmark" />
<Class name="com.intel.dai.inventory.api.HWInvTranslatorCLI" />
<Class name="com.intel.dai.inventory.api.HWInvDbClientCLI" />
<Class name="com.intel.dai.inventory.api.CommonCliUtil" />
<Class name="com.intel.dai.foreign_bus.CommonFunctions" />
<Class name="com.intel.dai.dsimpl.voltdb.HWInvUtilImpl" />
<Class name="com.intel.dai.ui.QueryAPI" />
<Class name="com.intel.dai.dsimpl.jdbc.DataLoaderApiJdbc" />
<Class name="com.intel.dai.AdapterDaiMgr" />
<Class name="com.intel.dai.Adapter" />
<Class name="com.intel.dai.DbConfig" />
<Class name="com.intel.dai.NearlineTableUpdater" />
<Class name="com.intel.dai.inventory.api.HWInvDiscovery" />
</Or>
<Bug code="SECPTI,SECPTO,SECSQLIJDBC,SECCI" />
</Match>
<Match> <!-- False positive -->
<Class name="com.intel.networking.restclient.apache.ApacheRESTClient" />
<Bug code="RCN" />
</Match>
<Match> <!-- False positive -->
<Class name="com.intel.dai.ras.AdapterRasForeignBus" />
<Method name="fillInRasEventsWithMissingJobId" />
<Bug code="DLS" />
</Match>
<Match> <!-- As designed not an issue -->
<Class name="com.intel.runtime_utils.RuntimeCommand" />
<Method name="execute" />
<Bug code="SECCI" />
</Match>
<Match> <!-- False positive -->
<Class name="com.intel.runtime_utils.PropertyLoader" />
<Method name="loadProperties" />
<Bug code="RCN" />
</Match>
<Match> <!-- False positive -->
<Class name="com.intel.runtime_utils.RuntimeCommand" />
<Method name="execute" />
<Bug code="RCN" />
</Match>
<Match> <!-- As designed not an issue -->
<Class name="com.intel.dai.populate.DefaultOnlineTierDataLoader$PropertyMapComparator" />
<Bug code="Se" />
</Match>
<Match> <!-- As designed not an issue -->
<Class name="com.intel.dai.populate.DefaultOnlineTierDataLoader$MyCallbackForHouseKeepingNoRtrnValue" />
<Method name="clientCallback" />
<Bug code="DLS" />
</Match>
<Match> <!-- False positive; there is an explicit conditional throwing of Exception -->
<Class name="com.intel.dai.populate.DefaultOnlineTierDataLoader" />
<Method name="doPopulate" />
<Bug code="REC" />
</Match>
<Match> <!-- As designed not an issue -->
<Class name="com.intel.dai.AdapterDaiMgr" />
<Method name="mainProcessingFlow" />
<Bug code="REC" />
</Match>
<Match> <!-- As designed not an issue; intentional process exit. -->
<Class name="com.intel.dai.ui.AdapterUI" />
<Method name="initialize" />
<Bug code="Dm" />
</Match>
<Match> <!-- False positive; According to documentation a null return value is not possible
for CallableStatement or ResultsSet-->
<Or>
<Class name="com.intel.dai.ui.CannedAPI" />
<Class name="com.intel.dai.ui.QueryAPI" />
</Or>
<Bug code="RCN" />
</Match>
<Match> <!-- As designed not an issue -->
<Package name="com.intel.dai.eventsim" />
<Bug code="SECPR" />
</Match>
<Match> <!-- As designed not an issue -->
<Or>
<Class name="com.intel.dai.foreign_bus.CommonFunctions$DimmInfo" />
<Class name="com.intel.dai.foreign_bus.CommonFunctions$NodeOrCpuInfo" />
</Or>
<Bug code="UrF" />
</Match>
<Match> <!-- As designed not an issue -->
<Class name="com.intel.dai.inventory.api.HWInvDiscoveryCLI" />
<Method name="createRestClient" />
<Bug code="NP" />
</Match>
<Match> <!-- As designed not an issue -->
<Or>
<Class name="com.intel.dai.dsapi.HWInvLoc" />
<Class name="com.intel.dai.inventory.api.ForeignHWInvChangeNotification" />
</Or>
<Bug code="Nm" />
</Match>
<Match> <!-- As designed not an issue -->
<Package name="com.intel.dai.dsimpl.voltdb" />
<Bug code="EI2" />
</Match>
<Match> <!-- As designed not an issue -->
<Class name="com.intel.dai.AdapterInformation" />
<Or>
<Method name="getServers"/>
<Method name="setServers"/>
</Or>
<Bug code="EI,EI2" />
</Match>
<Match> <!-- As designed not an issue -->
<Or>
<Class name="com.intel.dai.Adapter$2" />
<Class name="com.intel.dai.Adapter" />
</Or>
<Or>
<Method name="abend" />
<Method name="addRasMetaDataIntoDataStore" />
<Method name="handle" />
</Or>
<Bug code="Dm" />
</Match>
<Match> <!-- These are as designed, fields are written to by the Gson serializer via introspection. -->
<Or>
<Class name="com.intel.dai.inventory.api.ForeignFRU" />
<Class name="com.intel.dai.inventory.api.ForeignHWInvByLoc" />
<Class name="com.intel.dai.inventory.api.ForeignHWInvByLocCabinet" />
<Class name="com.intel.dai.inventory.api.ForeignHWInvByLocChassis" />
<Class name="com.intel.dai.inventory.api.ForeignHWInvByLocComputeModule" />
<Class name="com.intel.dai.inventory.api.ForeignHWInvByLocNodeEnclosure" />
<Class name="com.intel.dai.inventory.api.ProviderClassMap" />
<Class name="com.intel.dai.inventory.api.ProviderConfigurations" />
<Class name="com.intel.dai.inventory.api.ForeignHWInvByLocCabinetPDU" />
<Class name="com.intel.dai.inventory.api.TokenAuthProvider" />
</Or>
<Bug code="UwF" />
</Match>
<!--*************************************************************************************************************
TODO: These issues below need to be addressed!!!
**************************************************************************************************************-->
<Match> <!-- TODO: This is technically an issue, it may need to be resolved in the future -->
<Class name="com.intel.networking.restclient.PermissiveX509TrustManager" />
<Bug code="SECWTM" />
</Match>
</FindBugsFilter>