-
Notifications
You must be signed in to change notification settings - Fork 824
/
interfaces.go
329 lines (263 loc) · 27.8 KB
/
interfaces.go
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
package securityinsightapi
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
"context"
"github.com/Azure/azure-sdk-for-go/services/preview/securityinsight/mgmt/2021-09-01-preview/securityinsight"
"github.com/Azure/go-autorest/autorest"
)
// AlertRulesClientAPI contains the set of methods on the AlertRulesClient type.
type AlertRulesClientAPI interface {
CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, ruleID string, alertRule securityinsight.BasicAlertRule) (result securityinsight.AlertRuleModel, err error)
Delete(ctx context.Context, resourceGroupName string, workspaceName string, ruleID string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, ruleID string) (result securityinsight.AlertRuleModel, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.AlertRulesListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.AlertRulesListIterator, err error)
}
var _ AlertRulesClientAPI = (*securityinsight.AlertRulesClient)(nil)
// ActionsClientAPI contains the set of methods on the ActionsClient type.
type ActionsClientAPI interface {
CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, ruleID string, actionID string, action securityinsight.ActionRequest) (result securityinsight.ActionResponse, err error)
Delete(ctx context.Context, resourceGroupName string, workspaceName string, ruleID string, actionID string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, ruleID string, actionID string) (result securityinsight.ActionResponse, err error)
ListByAlertRule(ctx context.Context, resourceGroupName string, workspaceName string, ruleID string) (result securityinsight.ActionsListPage, err error)
ListByAlertRuleComplete(ctx context.Context, resourceGroupName string, workspaceName string, ruleID string) (result securityinsight.ActionsListIterator, err error)
}
var _ ActionsClientAPI = (*securityinsight.ActionsClient)(nil)
// AlertRuleTemplatesClientAPI contains the set of methods on the AlertRuleTemplatesClient type.
type AlertRuleTemplatesClientAPI interface {
Get(ctx context.Context, resourceGroupName string, workspaceName string, alertRuleTemplateID string) (result securityinsight.AlertRuleTemplateModel, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.AlertRuleTemplatesListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.AlertRuleTemplatesListIterator, err error)
}
var _ AlertRuleTemplatesClientAPI = (*securityinsight.AlertRuleTemplatesClient)(nil)
// AutomationRulesClientAPI contains the set of methods on the AutomationRulesClient type.
type AutomationRulesClientAPI interface {
CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, automationRuleID string, automationRule securityinsight.AutomationRule) (result securityinsight.AutomationRule, err error)
Delete(ctx context.Context, resourceGroupName string, workspaceName string, automationRuleID string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, automationRuleID string) (result securityinsight.AutomationRule, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.AutomationRulesListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.AutomationRulesListIterator, err error)
}
var _ AutomationRulesClientAPI = (*securityinsight.AutomationRulesClient)(nil)
// BookmarksClientAPI contains the set of methods on the BookmarksClient type.
type BookmarksClientAPI interface {
CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, bookmarkID string, bookmark securityinsight.Bookmark) (result securityinsight.Bookmark, err error)
Delete(ctx context.Context, resourceGroupName string, workspaceName string, bookmarkID string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, bookmarkID string) (result securityinsight.Bookmark, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.BookmarkListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.BookmarkListIterator, err error)
}
var _ BookmarksClientAPI = (*securityinsight.BookmarksClient)(nil)
// BookmarkRelationsClientAPI contains the set of methods on the BookmarkRelationsClient type.
type BookmarkRelationsClientAPI interface {
CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, bookmarkID string, relationName string, relation securityinsight.Relation) (result securityinsight.Relation, err error)
Delete(ctx context.Context, resourceGroupName string, workspaceName string, bookmarkID string, relationName string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, bookmarkID string, relationName string) (result securityinsight.Relation, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string, bookmarkID string, filter string, orderby string, top *int32, skipToken string) (result securityinsight.RelationListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string, bookmarkID string, filter string, orderby string, top *int32, skipToken string) (result securityinsight.RelationListIterator, err error)
}
var _ BookmarkRelationsClientAPI = (*securityinsight.BookmarkRelationsClient)(nil)
// BookmarkClientAPI contains the set of methods on the BookmarkClient type.
type BookmarkClientAPI interface {
Expand(ctx context.Context, resourceGroupName string, workspaceName string, bookmarkID string, parameters securityinsight.BookmarkExpandParameters) (result securityinsight.BookmarkExpandResponse, err error)
}
var _ BookmarkClientAPI = (*securityinsight.BookmarkClient)(nil)
// IPGeodataClientAPI contains the set of methods on the IPGeodataClient type.
type IPGeodataClientAPI interface {
Get(ctx context.Context, resourceGroupName string, IPAddress string) (result securityinsight.EnrichmentIPGeodata, err error)
}
var _ IPGeodataClientAPI = (*securityinsight.IPGeodataClient)(nil)
// DomainWhoisClientAPI contains the set of methods on the DomainWhoisClient type.
type DomainWhoisClientAPI interface {
Get(ctx context.Context, resourceGroupName string, domain string) (result securityinsight.EnrichmentDomainWhois, err error)
}
var _ DomainWhoisClientAPI = (*securityinsight.DomainWhoisClient)(nil)
// EntityQueriesClientAPI contains the set of methods on the EntityQueriesClient type.
type EntityQueriesClientAPI interface {
CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, entityQueryID string, entityQuery securityinsight.BasicCustomEntityQuery) (result securityinsight.EntityQueryModel, err error)
Delete(ctx context.Context, resourceGroupName string, workspaceName string, entityQueryID string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, entityQueryID string) (result securityinsight.EntityQueryModel, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string, kind string) (result securityinsight.EntityQueryListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string, kind string) (result securityinsight.EntityQueryListIterator, err error)
}
var _ EntityQueriesClientAPI = (*securityinsight.EntityQueriesClient)(nil)
// EntitiesClientAPI contains the set of methods on the EntitiesClient type.
type EntitiesClientAPI interface {
Expand(ctx context.Context, resourceGroupName string, workspaceName string, entityID string, parameters securityinsight.EntityExpandParameters) (result securityinsight.EntityExpandResponse, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, entityID string) (result securityinsight.EntityModel, err error)
GetInsights(ctx context.Context, resourceGroupName string, workspaceName string, entityID string, parameters securityinsight.EntityGetInsightsParameters) (result securityinsight.EntityGetInsightsResponse, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.EntityListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.EntityListIterator, err error)
Queries(ctx context.Context, resourceGroupName string, workspaceName string, entityID string) (result securityinsight.GetQueriesResponse, err error)
}
var _ EntitiesClientAPI = (*securityinsight.EntitiesClient)(nil)
// EntitiesGetTimelineClientAPI contains the set of methods on the EntitiesGetTimelineClient type.
type EntitiesGetTimelineClientAPI interface {
List(ctx context.Context, resourceGroupName string, workspaceName string, entityID string, parameters securityinsight.EntityTimelineParameters) (result securityinsight.EntityTimelineResponse, err error)
}
var _ EntitiesGetTimelineClientAPI = (*securityinsight.EntitiesGetTimelineClient)(nil)
// EntitiesRelationsClientAPI contains the set of methods on the EntitiesRelationsClient type.
type EntitiesRelationsClientAPI interface {
List(ctx context.Context, resourceGroupName string, workspaceName string, entityID string, filter string, orderby string, top *int32, skipToken string) (result securityinsight.RelationListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string, entityID string, filter string, orderby string, top *int32, skipToken string) (result securityinsight.RelationListIterator, err error)
}
var _ EntitiesRelationsClientAPI = (*securityinsight.EntitiesRelationsClient)(nil)
// EntityRelationsClientAPI contains the set of methods on the EntityRelationsClient type.
type EntityRelationsClientAPI interface {
GetRelation(ctx context.Context, resourceGroupName string, workspaceName string, entityID string, relationName string) (result securityinsight.Relation, err error)
}
var _ EntityRelationsClientAPI = (*securityinsight.EntityRelationsClient)(nil)
// IncidentsClientAPI contains the set of methods on the IncidentsClient type.
type IncidentsClientAPI interface {
CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, incident securityinsight.Incident) (result securityinsight.Incident, err error)
CreateTeam(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, teamProperties securityinsight.TeamProperties) (result securityinsight.TeamInformation, err error)
Delete(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string) (result securityinsight.Incident, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string, filter string, orderby string, top *int32, skipToken string) (result securityinsight.IncidentListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string, filter string, orderby string, top *int32, skipToken string) (result securityinsight.IncidentListIterator, err error)
ListAlerts(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string) (result securityinsight.IncidentAlertList, err error)
ListBookmarks(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string) (result securityinsight.IncidentBookmarkList, err error)
ListEntities(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string) (result securityinsight.IncidentEntitiesResponse, err error)
}
var _ IncidentsClientAPI = (*securityinsight.IncidentsClient)(nil)
// IncidentCommentsClientAPI contains the set of methods on the IncidentCommentsClient type.
type IncidentCommentsClientAPI interface {
CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, incidentCommentID string, incidentComment securityinsight.IncidentComment) (result securityinsight.IncidentComment, err error)
Delete(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, incidentCommentID string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, incidentCommentID string) (result securityinsight.IncidentComment, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, filter string, orderby string, top *int32, skipToken string) (result securityinsight.IncidentCommentListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, filter string, orderby string, top *int32, skipToken string) (result securityinsight.IncidentCommentListIterator, err error)
}
var _ IncidentCommentsClientAPI = (*securityinsight.IncidentCommentsClient)(nil)
// IncidentRelationsClientAPI contains the set of methods on the IncidentRelationsClient type.
type IncidentRelationsClientAPI interface {
CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, relationName string, relation securityinsight.Relation) (result securityinsight.Relation, err error)
Delete(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, relationName string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, relationName string) (result securityinsight.Relation, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, filter string, orderby string, top *int32, skipToken string) (result securityinsight.RelationListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, filter string, orderby string, top *int32, skipToken string) (result securityinsight.RelationListIterator, err error)
}
var _ IncidentRelationsClientAPI = (*securityinsight.IncidentRelationsClient)(nil)
// MetadataClientAPI contains the set of methods on the MetadataClient type.
type MetadataClientAPI interface {
Create(ctx context.Context, resourceGroupName string, workspaceName string, metadataName string, metadata securityinsight.MetadataModel) (result securityinsight.MetadataModel, err error)
Delete(ctx context.Context, resourceGroupName string, workspaceName string, metadataName string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, metadataName string) (result securityinsight.MetadataModel, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string, filter string, orderby string, top *int32, skip *int32) (result securityinsight.MetadataListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string, filter string, orderby string, top *int32, skip *int32) (result securityinsight.MetadataListIterator, err error)
Update(ctx context.Context, resourceGroupName string, workspaceName string, metadataName string, metadataPatch securityinsight.MetadataPatch) (result securityinsight.MetadataModel, err error)
}
var _ MetadataClientAPI = (*securityinsight.MetadataClient)(nil)
// SentinelOnboardingStatesClientAPI contains the set of methods on the SentinelOnboardingStatesClient type.
type SentinelOnboardingStatesClientAPI interface {
Create(ctx context.Context, resourceGroupName string, workspaceName string, sentinelOnboardingStateName string, sentinelOnboardingStateParameter *securityinsight.SentinelOnboardingState) (result securityinsight.SentinelOnboardingState, err error)
Delete(ctx context.Context, resourceGroupName string, workspaceName string, sentinelOnboardingStateName string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, sentinelOnboardingStateName string) (result securityinsight.SentinelOnboardingState, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.SentinelOnboardingStatesList, err error)
}
var _ SentinelOnboardingStatesClientAPI = (*securityinsight.SentinelOnboardingStatesClient)(nil)
// ProductSettingsClientAPI contains the set of methods on the ProductSettingsClient type.
type ProductSettingsClientAPI interface {
Delete(ctx context.Context, resourceGroupName string, workspaceName string, settingsName string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, settingsName string) (result securityinsight.SettingsModel, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.SettingList, err error)
Update(ctx context.Context, resourceGroupName string, workspaceName string, settingsName string, settings securityinsight.BasicSettings) (result securityinsight.SettingsModel, err error)
}
var _ ProductSettingsClientAPI = (*securityinsight.ProductSettingsClient)(nil)
// SourceControlClientAPI contains the set of methods on the SourceControlClient type.
type SourceControlClientAPI interface {
ListRepositories(ctx context.Context, resourceGroupName string, workspaceName string, repoType securityinsight.RepoType) (result securityinsight.RepoListPage, err error)
ListRepositoriesComplete(ctx context.Context, resourceGroupName string, workspaceName string, repoType securityinsight.RepoType) (result securityinsight.RepoListIterator, err error)
}
var _ SourceControlClientAPI = (*securityinsight.SourceControlClient)(nil)
// SourceControlsClientAPI contains the set of methods on the SourceControlsClient type.
type SourceControlsClientAPI interface {
Create(ctx context.Context, resourceGroupName string, workspaceName string, sourceControlID string, sourceControl securityinsight.SourceControl) (result securityinsight.SourceControl, err error)
Delete(ctx context.Context, resourceGroupName string, workspaceName string, sourceControlID string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, sourceControlID string) (result securityinsight.SourceControl, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.SourceControlListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.SourceControlListIterator, err error)
}
var _ SourceControlsClientAPI = (*securityinsight.SourceControlsClient)(nil)
// WatchlistsClientAPI contains the set of methods on the WatchlistsClient type.
type WatchlistsClientAPI interface {
CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, watchlistAlias string, watchlist securityinsight.Watchlist) (result securityinsight.Watchlist, err error)
Delete(ctx context.Context, resourceGroupName string, workspaceName string, watchlistAlias string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, watchlistAlias string) (result securityinsight.Watchlist, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.WatchlistListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.WatchlistListIterator, err error)
}
var _ WatchlistsClientAPI = (*securityinsight.WatchlistsClient)(nil)
// WatchlistItemsClientAPI contains the set of methods on the WatchlistItemsClient type.
type WatchlistItemsClientAPI interface {
CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, watchlistAlias string, watchlistItemID string, watchlistItem securityinsight.WatchlistItem) (result securityinsight.WatchlistItem, err error)
Delete(ctx context.Context, resourceGroupName string, workspaceName string, watchlistAlias string, watchlistItemID string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, watchlistAlias string, watchlistItemID string) (result securityinsight.WatchlistItem, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string, watchlistAlias string) (result securityinsight.WatchlistItemListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string, watchlistAlias string) (result securityinsight.WatchlistItemListIterator, err error)
}
var _ WatchlistItemsClientAPI = (*securityinsight.WatchlistItemsClient)(nil)
// DataConnectorsClientAPI contains the set of methods on the DataConnectorsClient type.
type DataConnectorsClientAPI interface {
Connect(ctx context.Context, resourceGroupName string, workspaceName string, dataConnectorID string, connectBody securityinsight.DataConnectorConnectBody) (result autorest.Response, err error)
CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, dataConnectorID string, dataConnector securityinsight.BasicDataConnector) (result securityinsight.DataConnectorModel, err error)
Delete(ctx context.Context, resourceGroupName string, workspaceName string, dataConnectorID string) (result autorest.Response, err error)
Disconnect(ctx context.Context, resourceGroupName string, workspaceName string, dataConnectorID string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, dataConnectorID string) (result securityinsight.DataConnectorModel, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.DataConnectorListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.DataConnectorListIterator, err error)
}
var _ DataConnectorsClientAPI = (*securityinsight.DataConnectorsClient)(nil)
// DataConnectorsCheckRequirementsClientAPI contains the set of methods on the DataConnectorsCheckRequirementsClient type.
type DataConnectorsCheckRequirementsClientAPI interface {
Post(ctx context.Context, resourceGroupName string, workspaceName string, dataConnectorsCheckRequirements securityinsight.BasicDataConnectorsCheckRequirements) (result securityinsight.DataConnectorRequirementsState, err error)
}
var _ DataConnectorsCheckRequirementsClientAPI = (*securityinsight.DataConnectorsCheckRequirementsClient)(nil)
// ThreatIntelligenceIndicatorClientAPI contains the set of methods on the ThreatIntelligenceIndicatorClient type.
type ThreatIntelligenceIndicatorClientAPI interface {
AppendTags(ctx context.Context, resourceGroupName string, workspaceName string, name string, threatIntelligenceAppendTags securityinsight.ThreatIntelligenceAppendTags) (result autorest.Response, err error)
Create(ctx context.Context, resourceGroupName string, workspaceName string, name string, threatIntelligenceProperties securityinsight.ThreatIntelligenceIndicatorModelForRequestBody) (result securityinsight.ThreatIntelligenceInformationModel, err error)
CreateIndicator(ctx context.Context, resourceGroupName string, workspaceName string, threatIntelligenceProperties securityinsight.ThreatIntelligenceIndicatorModelForRequestBody) (result securityinsight.ThreatIntelligenceInformationModel, err error)
Delete(ctx context.Context, resourceGroupName string, workspaceName string, name string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, name string) (result securityinsight.ThreatIntelligenceInformationModel, err error)
QueryIndicators(ctx context.Context, resourceGroupName string, workspaceName string, threatIntelligenceFilteringCriteria securityinsight.ThreatIntelligenceFilteringCriteria) (result securityinsight.ThreatIntelligenceInformationListPage, err error)
QueryIndicatorsComplete(ctx context.Context, resourceGroupName string, workspaceName string, threatIntelligenceFilteringCriteria securityinsight.ThreatIntelligenceFilteringCriteria) (result securityinsight.ThreatIntelligenceInformationListIterator, err error)
ReplaceTags(ctx context.Context, resourceGroupName string, workspaceName string, name string, threatIntelligenceReplaceTags securityinsight.ThreatIntelligenceIndicatorModelForRequestBody) (result securityinsight.ThreatIntelligenceInformationModel, err error)
}
var _ ThreatIntelligenceIndicatorClientAPI = (*securityinsight.ThreatIntelligenceIndicatorClient)(nil)
// ThreatIntelligenceIndicatorsClientAPI contains the set of methods on the ThreatIntelligenceIndicatorsClient type.
type ThreatIntelligenceIndicatorsClientAPI interface {
List(ctx context.Context, resourceGroupName string, workspaceName string, filter string, orderby string, top *int32, skipToken string) (result securityinsight.ThreatIntelligenceInformationListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string, filter string, orderby string, top *int32, skipToken string) (result securityinsight.ThreatIntelligenceInformationListIterator, err error)
}
var _ ThreatIntelligenceIndicatorsClientAPI = (*securityinsight.ThreatIntelligenceIndicatorsClient)(nil)
// ThreatIntelligenceIndicatorMetricsClientAPI contains the set of methods on the ThreatIntelligenceIndicatorMetricsClient type.
type ThreatIntelligenceIndicatorMetricsClientAPI interface {
List(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.ThreatIntelligenceMetricsList, err error)
}
var _ ThreatIntelligenceIndicatorMetricsClientAPI = (*securityinsight.ThreatIntelligenceIndicatorMetricsClient)(nil)
// OperationsClientAPI contains the set of methods on the OperationsClient type.
type OperationsClientAPI interface {
List(ctx context.Context) (result securityinsight.OperationsListPage, err error)
ListComplete(ctx context.Context) (result securityinsight.OperationsListIterator, err error)
}
var _ OperationsClientAPI = (*securityinsight.OperationsClient)(nil)
// OfficeConsentsClientAPI contains the set of methods on the OfficeConsentsClient type.
type OfficeConsentsClientAPI interface {
Delete(ctx context.Context, resourceGroupName string, workspaceName string, consentID string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, workspaceName string, consentID string) (result securityinsight.OfficeConsent, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.OfficeConsentListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result securityinsight.OfficeConsentListIterator, err error)
}
var _ OfficeConsentsClientAPI = (*securityinsight.OfficeConsentsClient)(nil)
// EntityQueryTemplatesClientAPI contains the set of methods on the EntityQueryTemplatesClient type.
type EntityQueryTemplatesClientAPI interface {
Get(ctx context.Context, resourceGroupName string, workspaceName string, entityQueryTemplateID string) (result securityinsight.EntityQueryTemplateModel, err error)
List(ctx context.Context, resourceGroupName string, workspaceName string, kind string) (result securityinsight.EntityQueryTemplateListPage, err error)
ListComplete(ctx context.Context, resourceGroupName string, workspaceName string, kind string) (result securityinsight.EntityQueryTemplateListIterator, err error)
}
var _ EntityQueryTemplatesClientAPI = (*securityinsight.EntityQueryTemplatesClient)(nil)