@azure-rest/defender-easm 1.0.0-beta.1 → 1.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/LICENSE +21 -0
  3. package/README.md +5 -9
  4. package/dist/browser/clientDefinitions.d.ts +141 -0
  5. package/dist/browser/clientDefinitions.d.ts.map +1 -0
  6. package/dist/browser/clientDefinitions.js +4 -0
  7. package/dist/browser/clientDefinitions.js.map +1 -0
  8. package/dist/browser/easmClient.d.ts +16 -0
  9. package/dist/browser/easmClient.d.ts.map +1 -0
  10. package/dist/browser/easmClient.js +45 -0
  11. package/dist/browser/easmClient.js.map +1 -0
  12. package/dist/browser/index.d.ts +11 -0
  13. package/dist/browser/index.d.ts.map +1 -0
  14. package/dist/browser/index.js +13 -0
  15. package/dist/browser/index.js.map +1 -0
  16. package/dist/browser/isUnexpected.d.ts +28 -0
  17. package/dist/browser/isUnexpected.d.ts.map +1 -0
  18. package/{dist-esm/src → dist/browser}/isUnexpected.js +5 -6
  19. package/dist/browser/isUnexpected.js.map +1 -0
  20. package/dist/browser/logger.d.ts +2 -0
  21. package/dist/browser/logger.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/logger.js +1 -1
  23. package/{dist-esm/src → dist/browser}/logger.js.map +1 -1
  24. package/dist/browser/models.d.ts +144 -0
  25. package/dist/browser/models.d.ts.map +1 -0
  26. package/dist/browser/models.js +4 -0
  27. package/dist/browser/models.js.map +1 -0
  28. package/dist/browser/outputModels.d.ts +1046 -0
  29. package/dist/browser/outputModels.d.ts.map +1 -0
  30. package/dist/browser/outputModels.js +4 -0
  31. package/dist/browser/outputModels.js.map +1 -0
  32. package/dist/browser/package.json +3 -0
  33. package/dist/browser/paginateHelper.d.ts +68 -0
  34. package/dist/browser/paginateHelper.d.ts.map +1 -0
  35. package/{dist-esm/src → dist/browser}/paginateHelper.js +70 -3
  36. package/dist/browser/paginateHelper.js.map +1 -0
  37. package/dist/browser/parameters.d.ts +141 -0
  38. package/dist/browser/parameters.d.ts.map +1 -0
  39. package/dist/browser/parameters.js +4 -0
  40. package/dist/browser/parameters.js.map +1 -0
  41. package/dist/browser/responses.d.ts +365 -0
  42. package/dist/browser/responses.d.ts.map +1 -0
  43. package/dist/browser/responses.js +4 -0
  44. package/dist/browser/responses.js.map +1 -0
  45. package/dist/commonjs/clientDefinitions.d.ts +141 -0
  46. package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
  47. package/dist/commonjs/clientDefinitions.js +5 -0
  48. package/dist/commonjs/clientDefinitions.js.map +1 -0
  49. package/dist/commonjs/easmClient.d.ts +16 -0
  50. package/dist/commonjs/easmClient.d.ts.map +1 -0
  51. package/dist/commonjs/easmClient.js +48 -0
  52. package/dist/commonjs/easmClient.js.map +1 -0
  53. package/dist/commonjs/index.d.ts +11 -0
  54. package/dist/commonjs/index.d.ts.map +1 -0
  55. package/dist/commonjs/index.js +16 -0
  56. package/dist/commonjs/index.js.map +1 -0
  57. package/dist/commonjs/isUnexpected.d.ts +28 -0
  58. package/dist/commonjs/isUnexpected.d.ts.map +1 -0
  59. package/dist/commonjs/isUnexpected.js +97 -0
  60. package/dist/commonjs/isUnexpected.js.map +1 -0
  61. package/dist/commonjs/logger.d.ts +2 -0
  62. package/dist/commonjs/logger.d.ts.map +1 -0
  63. package/dist/commonjs/logger.js +8 -0
  64. package/dist/commonjs/logger.js.map +1 -0
  65. package/dist/commonjs/models.d.ts +144 -0
  66. package/dist/commonjs/models.d.ts.map +1 -0
  67. package/dist/commonjs/models.js +5 -0
  68. package/dist/commonjs/models.js.map +1 -0
  69. package/dist/commonjs/outputModels.d.ts +1046 -0
  70. package/dist/commonjs/outputModels.d.ts.map +1 -0
  71. package/dist/commonjs/outputModels.js +5 -0
  72. package/dist/commonjs/outputModels.js.map +1 -0
  73. package/dist/commonjs/package.json +3 -0
  74. package/dist/commonjs/paginateHelper.d.ts +68 -0
  75. package/dist/commonjs/paginateHelper.d.ts.map +1 -0
  76. package/dist/commonjs/paginateHelper.js +140 -0
  77. package/dist/commonjs/paginateHelper.js.map +1 -0
  78. package/dist/commonjs/parameters.d.ts +141 -0
  79. package/dist/commonjs/parameters.d.ts.map +1 -0
  80. package/dist/commonjs/parameters.js +5 -0
  81. package/dist/commonjs/parameters.js.map +1 -0
  82. package/dist/commonjs/responses.d.ts +365 -0
  83. package/dist/commonjs/responses.d.ts.map +1 -0
  84. package/dist/commonjs/responses.js +5 -0
  85. package/dist/commonjs/responses.js.map +1 -0
  86. package/dist/commonjs/tsdoc-metadata.json +11 -0
  87. package/dist/esm/clientDefinitions.d.ts +141 -0
  88. package/dist/esm/clientDefinitions.d.ts.map +1 -0
  89. package/dist/esm/clientDefinitions.js +4 -0
  90. package/dist/esm/clientDefinitions.js.map +1 -0
  91. package/dist/esm/easmClient.d.ts +16 -0
  92. package/dist/esm/easmClient.d.ts.map +1 -0
  93. package/dist/esm/easmClient.js +45 -0
  94. package/dist/esm/easmClient.js.map +1 -0
  95. package/dist/esm/index.d.ts +11 -0
  96. package/dist/esm/index.d.ts.map +1 -0
  97. package/dist/esm/index.js +13 -0
  98. package/dist/esm/index.js.map +1 -0
  99. package/dist/esm/isUnexpected.d.ts +28 -0
  100. package/dist/esm/isUnexpected.d.ts.map +1 -0
  101. package/dist/esm/isUnexpected.js +94 -0
  102. package/dist/esm/isUnexpected.js.map +1 -0
  103. package/dist/esm/logger.d.ts +2 -0
  104. package/dist/esm/logger.d.ts.map +1 -0
  105. package/dist/esm/logger.js +5 -0
  106. package/dist/esm/logger.js.map +1 -0
  107. package/dist/esm/models.d.ts +144 -0
  108. package/dist/esm/models.d.ts.map +1 -0
  109. package/dist/esm/models.js +4 -0
  110. package/dist/esm/models.js.map +1 -0
  111. package/dist/esm/outputModels.d.ts +1046 -0
  112. package/dist/esm/outputModels.d.ts.map +1 -0
  113. package/dist/esm/outputModels.js +4 -0
  114. package/dist/esm/outputModels.js.map +1 -0
  115. package/dist/esm/package.json +3 -0
  116. package/dist/esm/paginateHelper.d.ts +68 -0
  117. package/dist/esm/paginateHelper.d.ts.map +1 -0
  118. package/dist/esm/paginateHelper.js +137 -0
  119. package/dist/esm/paginateHelper.js.map +1 -0
  120. package/dist/esm/parameters.d.ts +141 -0
  121. package/dist/esm/parameters.d.ts.map +1 -0
  122. package/dist/esm/parameters.js +4 -0
  123. package/dist/esm/parameters.js.map +1 -0
  124. package/dist/esm/responses.d.ts +365 -0
  125. package/dist/esm/responses.d.ts.map +1 -0
  126. package/dist/esm/responses.js +4 -0
  127. package/dist/esm/responses.js.map +1 -0
  128. package/dist/react-native/clientDefinitions.d.ts +141 -0
  129. package/dist/react-native/clientDefinitions.d.ts.map +1 -0
  130. package/dist/react-native/clientDefinitions.js +4 -0
  131. package/dist/react-native/clientDefinitions.js.map +1 -0
  132. package/dist/react-native/easmClient.d.ts +16 -0
  133. package/dist/react-native/easmClient.d.ts.map +1 -0
  134. package/dist/react-native/easmClient.js +45 -0
  135. package/dist/react-native/easmClient.js.map +1 -0
  136. package/dist/react-native/index.d.ts +11 -0
  137. package/dist/react-native/index.d.ts.map +1 -0
  138. package/dist/react-native/index.js +13 -0
  139. package/dist/react-native/index.js.map +1 -0
  140. package/dist/react-native/isUnexpected.d.ts +28 -0
  141. package/dist/react-native/isUnexpected.d.ts.map +1 -0
  142. package/dist/react-native/isUnexpected.js +94 -0
  143. package/dist/react-native/isUnexpected.js.map +1 -0
  144. package/dist/react-native/logger.d.ts +2 -0
  145. package/dist/react-native/logger.d.ts.map +1 -0
  146. package/dist/react-native/logger.js +5 -0
  147. package/dist/react-native/logger.js.map +1 -0
  148. package/dist/react-native/models.d.ts +144 -0
  149. package/dist/react-native/models.d.ts.map +1 -0
  150. package/dist/react-native/models.js +4 -0
  151. package/dist/react-native/models.js.map +1 -0
  152. package/dist/react-native/outputModels.d.ts +1046 -0
  153. package/dist/react-native/outputModels.d.ts.map +1 -0
  154. package/dist/react-native/outputModels.js +4 -0
  155. package/dist/react-native/outputModels.js.map +1 -0
  156. package/dist/react-native/package.json +3 -0
  157. package/dist/react-native/paginateHelper.d.ts +68 -0
  158. package/dist/react-native/paginateHelper.d.ts.map +1 -0
  159. package/dist/react-native/paginateHelper.js +137 -0
  160. package/dist/react-native/paginateHelper.js.map +1 -0
  161. package/dist/react-native/parameters.d.ts +141 -0
  162. package/dist/react-native/parameters.d.ts.map +1 -0
  163. package/dist/react-native/parameters.js +4 -0
  164. package/dist/react-native/parameters.js.map +1 -0
  165. package/dist/react-native/responses.d.ts +365 -0
  166. package/dist/react-native/responses.d.ts.map +1 -0
  167. package/dist/react-native/responses.js +4 -0
  168. package/dist/react-native/responses.js.map +1 -0
  169. package/package.json +100 -97
  170. package/review/{defender-easm.api.md → defender-easm-node.api.md} +151 -61
  171. package/dist/index.js +0 -213
  172. package/dist/index.js.map +0 -1
  173. package/dist-esm/src/clientDefinitions.js +0 -4
  174. package/dist-esm/src/clientDefinitions.js.map +0 -1
  175. package/dist-esm/src/easm.js +0 -33
  176. package/dist-esm/src/easm.js.map +0 -1
  177. package/dist-esm/src/index.js +0 -13
  178. package/dist-esm/src/index.js.map +0 -1
  179. package/dist-esm/src/isUnexpected.js.map +0 -1
  180. package/dist-esm/src/models.js +0 -4
  181. package/dist-esm/src/models.js.map +0 -1
  182. package/dist-esm/src/outputModels.js +0 -4
  183. package/dist-esm/src/outputModels.js.map +0 -1
  184. package/dist-esm/src/paginateHelper.js.map +0 -1
  185. package/dist-esm/src/parameters.js +0 -4
  186. package/dist-esm/src/parameters.js.map +0 -1
  187. package/dist-esm/src/responses.js +0 -4
  188. package/dist-esm/src/responses.js.map +0 -1
  189. package/types/defender-easm.d.ts +0 -2105
@@ -1,2105 +0,0 @@
1
- import { Client } from '@azure-rest/core-client';
2
- import { ClientOptions } from '@azure-rest/core-client';
3
- import { ErrorResponse } from '@azure-rest/core-client';
4
- import { HttpResponse } from '@azure-rest/core-client';
5
- import { Paged } from '@azure/core-paging';
6
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
7
- import { PathUncheckedResponse } from '@azure-rest/core-client';
8
- import { RawHttpHeaders } from '@azure/core-rest-pipeline';
9
- import { RequestParameters } from '@azure-rest/core-client';
10
- import { StreamableMethod } from '@azure-rest/core-client';
11
- import { TokenCredential } from '@azure/core-auth';
12
-
13
- export declare interface AlexaInfoOutput {
14
- alexaRank?: number;
15
- category?: string;
16
- firstSeen?: string;
17
- lastSeen?: string;
18
- count?: number;
19
- recent?: boolean;
20
- }
21
-
22
- export declare interface AsAssetOutput extends InventoryAssetOutput {
23
- asn?: number;
24
- asNames?: Array<ObservedStringOutput>;
25
- orgNames?: Array<ObservedStringOutput>;
26
- orgIds?: Array<ObservedStringOutput>;
27
- countries?: Array<ObservedStringOutput>;
28
- registries?: Array<ObservedStringOutput>;
29
- sources?: Array<SourceOutput>;
30
- firstSeen?: string;
31
- lastSeen?: string;
32
- count?: number;
33
- registrarCreatedAt?: Array<ObservedLongOutput>;
34
- registrarUpdatedAt?: Array<ObservedLongOutput>;
35
- registrantContacts?: Array<ObservedStringOutput>;
36
- adminContacts?: Array<ObservedStringOutput>;
37
- technicalContacts?: Array<ObservedStringOutput>;
38
- registrarNames?: Array<ObservedStringOutput>;
39
- registrantNames?: Array<ObservedStringOutput>;
40
- adminNames?: Array<ObservedStringOutput>;
41
- technicalNames?: Array<ObservedStringOutput>;
42
- adminOrgs?: Array<ObservedStringOutput>;
43
- technicalOrgs?: Array<ObservedStringOutput>;
44
- registrantPhones?: Array<ObservedStringOutput>;
45
- adminPhones?: Array<ObservedStringOutput>;
46
- technicalPhones?: Array<ObservedStringOutput>;
47
- detailedFromWhoisAt?: string;
48
- }
49
-
50
- export declare interface AsAssetResourceOutput extends AssetResourceOutputParent {
51
- /** The kind of AssetResource */
52
- kind: "as";
53
- /** asset */
54
- asset: AsAssetOutput;
55
- }
56
-
57
- /** The page of assets that match the provided metric. */
58
- export declare interface AssetPageResultOutput {
59
- /** The total number of items available in the full result set. */
60
- totalElements?: number;
61
- /** The cursor mark to be used on the next request. Not set if using paging. */
62
- mark?: string;
63
- /** The link to access the next page of results. Not set if at the end of the result set. */
64
- nextLink?: string;
65
- /** The items in the current page of results. */
66
- value?: Array<AssetResourceOutput>;
67
- }
68
-
69
- /** The items in the current page of results. */
70
- export declare type AssetResourceOutput = AsAssetResourceOutput | ContactAssetResourceOutput | DomainAssetResourceOutput | HostAssetResourceOutput | IpAddressAssetResourceOutput | IpBlockAssetResourceOutput | PageAssetResourceOutput | SslCertAssetResourceOutput;
71
-
72
- /** The items in the current page of results. */
73
- export declare interface AssetResourceOutputParent {
74
- /** The system generated unique id for the resource. */
75
- readonly id: string;
76
- /** The caller provided unique name for the resource. */
77
- name?: string;
78
- /** The name that can be used for display purposes. */
79
- displayName?: string;
80
- /** Global UUID for the asset. */
81
- uuid?: string;
82
- /** The date this asset was first added to this workspace. */
83
- createdDate?: string;
84
- /** The date this asset was last updated for this workspace. */
85
- updatedDate?: string;
86
- /** Possible values: candidate, confirmed, dismissed, candidateInvestigate, associatedPartner, associatedThirdparty, archived */
87
- state?: string;
88
- /** An optional customer provided identifier for this asset. */
89
- externalId?: string;
90
- /** Customer labels assigned to this asset. */
91
- labels?: string[];
92
- /** An indicator of whether this asset represents a wildcard rollup of assets on this domain. */
93
- wildcard?: boolean;
94
- /** The name of the DiscoGroup that brought added this asset to the workspace. */
95
- discoGroupName?: string;
96
- /** The history of how this asset was pulled into the workspace through the discovery process. */
97
- auditTrail?: Array<AuditTrailItemOutput>;
98
- reason?: string;
99
- kind: string;
100
- }
101
-
102
- export declare interface AssetSecurityPolicyOutput {
103
- policyName?: string;
104
- isAffected?: boolean;
105
- description?: string;
106
- firstSeen?: string;
107
- lastSeen?: string;
108
- count?: number;
109
- recent?: boolean;
110
- sources?: Array<SourceOutput>;
111
- }
112
-
113
- /** The collection of asset summaries. */
114
- export declare interface AssetSummaryResultOutput {
115
- /** The name of the summary response. Depending on the request time this will either be the asset filter, risk category, or risk metric. */
116
- displayName?: string;
117
- /** The description of the summary response. Filters don't have a description. */
118
- description?: string;
119
- /** The last time risk categories or risk metrics were captured. Set to the current time for asset filter requests, which always pull the live asset data. */
120
- updatedAt?: string;
121
- /** If the request is for a metric category, this will contain the requested unique category name. */
122
- metricCategory?: string;
123
- /** If the request is for a metric, this will contain the requested unique metric name. */
124
- metric?: string;
125
- /** If the request is for an asset filter, this will contain the corresponding filter. */
126
- filter?: string;
127
- /** An optional label used to filter requests results. */
128
- labelName?: string;
129
- /** The count of assets matching the request parameters. */
130
- count?: number;
131
- /** The link to the corresponding asset details. */
132
- link?: string;
133
- /** The corresponding child entities. For metric categories this will contain metrics. For filters with groupBy and segmentBy this will contain facets. */
134
- children?: Array<AssetSummaryResultOutput>;
135
- }
136
-
137
- /** A request body used to update an asset. */
138
- export declare interface AssetUpdateData {
139
- /**
140
- * The state to update the asset to.
141
- *
142
- * Possible values: candidate, confirmed, dismissed, candidateInvestigate, associatedPartner, associatedThirdparty
143
- */
144
- state?: string;
145
- /** A string which can be used to identify the asset in external systems. */
146
- externalId?: string;
147
- /** Any Labels to update the asset with. */
148
- labels?: Record<string, boolean>;
149
- /**
150
- * A list of asset types to cascade the updates to.
151
- *
152
- * Possible values: as, contact, domain, host, ipAddress, ipBlock, page, sslCert
153
- */
154
- transfers?: string;
155
- }
156
-
157
- export declare interface AttributeOutput {
158
- attributeType?: string;
159
- attributeValue?: string;
160
- sources?: Array<SourceOutput>;
161
- firstSeen?: string;
162
- lastSeen?: string;
163
- count?: number;
164
- recent?: boolean;
165
- }
166
-
167
- /** The history of how this asset was pulled into the workspace through the discovery process. */
168
- export declare interface AuditTrailItemOutput {
169
- /** The system generated unique id for the resource. */
170
- id?: string;
171
- /** The caller provided unique name for the resource. */
172
- name?: string;
173
- /** The name that can be used for display purposes. */
174
- displayName?: string;
175
- /**
176
- * The kind of asset.
177
- *
178
- * Possible values: as, contact, domain, host, ipAddress, ipBlock, page, sslCert
179
- */
180
- kind?: string;
181
- /** An explanation of why this audit trail node was discovered from the previous node. */
182
- reason?: string;
183
- }
184
-
185
- export declare interface AzureDataExplorerDataConnectionData extends DataConnectionDataParent {
186
- kind: "azureDataExplorer";
187
- properties: AzureDataExplorerDataConnectionProperties;
188
- }
189
-
190
- export declare interface AzureDataExplorerDataConnectionOutput extends DataConnectionOutputParent {
191
- /** The kind of DataConnection */
192
- kind: "azureDataExplorer";
193
- /** properties */
194
- properties: AzureDataExplorerDataConnectionPropertiesOutput;
195
- }
196
-
197
- /** AzureDataExplorerDataConnectionProperties */
198
- export declare interface AzureDataExplorerDataConnectionProperties extends DataConnectionProperties {
199
- /** The azure data explorer cluster name */
200
- clusterName?: string;
201
- /** The azure data explorer region */
202
- region?: string;
203
- /** The azure data explorer database name */
204
- databaseName?: string;
205
- }
206
-
207
- export declare interface AzureDataExplorerDataConnectionPropertiesOutput extends DataConnectionPropertiesOutput {
208
- /** The azure data explorer cluster name */
209
- clusterName?: string;
210
- /** The azure data explorer region */
211
- region?: string;
212
- /** The azure data explorer database name */
213
- databaseName?: string;
214
- }
215
-
216
- export declare interface BannerOutput {
217
- port?: number;
218
- banner?: string;
219
- firstSeen?: string;
220
- lastSeen?: string;
221
- count?: number;
222
- scanType?: string;
223
- bannerMetadata?: string;
224
- recent?: boolean;
225
- sha256?: string;
226
- sources?: Array<SourceOutput>;
227
- }
228
-
229
- export declare interface CancelTask {
230
- /** Cancel a task by taskId. */
231
- post(options?: CancelTaskParameters): StreamableMethod<CancelTask200Response | CancelTaskDefaultResponse>;
232
- }
233
-
234
- /** The request has succeeded. */
235
- export declare interface CancelTask200Response extends HttpResponse {
236
- status: "200";
237
- body: TaskOutput;
238
- }
239
-
240
- export declare interface CancelTaskDefaultHeaders {
241
- /** String error code indicating what went wrong. */
242
- "x-ms-error-code"?: string;
243
- }
244
-
245
- export declare interface CancelTaskDefaultResponse extends HttpResponse {
246
- status: string;
247
- body: ErrorResponse;
248
- headers: RawHttpHeaders & CancelTaskDefaultHeaders;
249
- }
250
-
251
- export declare type CancelTaskParameters = RequestParameters;
252
-
253
- export declare interface ContactAssetOutput extends InventoryAssetOutput {
254
- email?: string;
255
- names?: Array<ObservedStringOutput>;
256
- organizations?: Array<ObservedStringOutput>;
257
- sources?: Array<SourceOutput>;
258
- firstSeen?: string;
259
- lastSeen?: string;
260
- count?: number;
261
- }
262
-
263
- export declare interface ContactAssetResourceOutput extends AssetResourceOutputParent {
264
- /** The kind of AssetResource */
265
- kind: "contact";
266
- /** asset */
267
- asset: ContactAssetOutput;
268
- }
269
-
270
- export declare interface CookieOutput {
271
- cookieName?: string;
272
- cookieDomain?: string;
273
- firstSeen?: string;
274
- lastSeen?: string;
275
- count?: number;
276
- recent?: boolean;
277
- cookieExpiryDate?: string;
278
- }
279
-
280
- /**
281
- * Initialize a new instance of `EasmClient`
282
- * @param endpoint - The endpoint hosting the requested resource. For example, https://{region}.easm.defender.microsoft.com
283
- * @param subscriptionId - The ID of the target subscription.
284
- * @param resourceGroupName - The name of the Resource Group.
285
- * @param workspaceName - The name of the Workspace.
286
- * @param credentials - uniquely identify client credential
287
- * @param options - the parameter for all optional parameters
288
- */
289
- declare function createClient(endpoint: string, subscriptionId: string, resourceGroupName: string, workspaceName: string, credentials: TokenCredential, options?: ClientOptions): EasmClient;
290
- export default createClient;
291
-
292
- /** The request has succeeded. */
293
- export declare interface CreateOrReplaceDataConnection200Response extends HttpResponse {
294
- status: "200";
295
- body: DataConnectionOutput;
296
- }
297
-
298
- export declare interface CreateOrReplaceDataConnectionBodyParam {
299
- body?: DataConnectionData;
300
- }
301
-
302
- export declare interface CreateOrReplaceDataConnectionDefaultHeaders {
303
- /** String error code indicating what went wrong. */
304
- "x-ms-error-code"?: string;
305
- }
306
-
307
- export declare interface CreateOrReplaceDataConnectionDefaultResponse extends HttpResponse {
308
- status: string;
309
- body: ErrorResponse;
310
- headers: RawHttpHeaders & CreateOrReplaceDataConnectionDefaultHeaders;
311
- }
312
-
313
- export declare type CreateOrReplaceDataConnectionParameters = CreateOrReplaceDataConnectionBodyParam & RequestParameters;
314
-
315
- /** The request has succeeded. */
316
- export declare interface CreateOrReplaceDiscoGroup200Response extends HttpResponse {
317
- status: "200";
318
- body: DiscoGroupOutput;
319
- }
320
-
321
- export declare interface CreateOrReplaceDiscoGroupBodyParam {
322
- body?: DiscoGroupData;
323
- }
324
-
325
- export declare interface CreateOrReplaceDiscoGroupDefaultHeaders {
326
- /** String error code indicating what went wrong. */
327
- "x-ms-error-code"?: string;
328
- }
329
-
330
- export declare interface CreateOrReplaceDiscoGroupDefaultResponse extends HttpResponse {
331
- status: string;
332
- body: ErrorResponse;
333
- headers: RawHttpHeaders & CreateOrReplaceDiscoGroupDefaultHeaders;
334
- }
335
-
336
- export declare type CreateOrReplaceDiscoGroupParameters = CreateOrReplaceDiscoGroupBodyParam & RequestParameters;
337
-
338
- /** The request has succeeded. */
339
- export declare interface CreateOrReplaceSavedFilter200Response extends HttpResponse {
340
- status: "200";
341
- body: SavedFilterOutput;
342
- }
343
-
344
- export declare interface CreateOrReplaceSavedFilterBodyParam {
345
- body?: SavedFilterData;
346
- }
347
-
348
- export declare interface CreateOrReplaceSavedFilterDefaultHeaders {
349
- /** String error code indicating what went wrong. */
350
- "x-ms-error-code"?: string;
351
- }
352
-
353
- export declare interface CreateOrReplaceSavedFilterDefaultResponse extends HttpResponse {
354
- status: string;
355
- body: ErrorResponse;
356
- headers: RawHttpHeaders & CreateOrReplaceSavedFilterDefaultHeaders;
357
- }
358
-
359
- export declare type CreateOrReplaceSavedFilterParameters = CreateOrReplaceSavedFilterBodyParam & RequestParameters;
360
-
361
- export declare interface CveOutput {
362
- name?: string;
363
- cweId?: string;
364
- cvssScore?: number;
365
- cvss3Summary?: Cvss3SummaryOutput;
366
- }
367
-
368
- export declare interface Cvss3SummaryOutput {
369
- version?: string;
370
- vectorString?: string;
371
- attackVector?: string;
372
- attackComplexity?: string;
373
- privilegesRequired?: string;
374
- userInteraction?: string;
375
- scope?: string;
376
- confidentialityImpact?: string;
377
- integrityImpact?: string;
378
- availabilityImpact?: string;
379
- baseScore?: number;
380
- baseSeverity?: string;
381
- exploitCodeMaturity?: string;
382
- remediationLevel?: string;
383
- reportConfidence?: string;
384
- exploitabilityScore?: number;
385
- impactScore?: number;
386
- }
387
-
388
- export declare type DataConnectionData = LogAnalyticsDataConnectionData | AzureDataExplorerDataConnectionData;
389
-
390
- export declare interface DataConnectionDataParent {
391
- /** The name of data connection */
392
- name?: string;
393
- /**
394
- * The type of data the data connection will transfer.
395
- *
396
- * Possible values: assets, attackSurfaceInsights
397
- */
398
- content?: string;
399
- /**
400
- * The rate at which the data connection will receive updates.
401
- *
402
- * Possible values: daily, weekly, monthly
403
- */
404
- frequency?: string;
405
- /** The day to update the data connection on. (1-7 for weekly, 1-31 for monthly) */
406
- frequencyOffset?: number;
407
- kind: string;
408
- }
409
-
410
- export declare type DataConnectionOutput = LogAnalyticsDataConnectionOutput | AzureDataExplorerDataConnectionOutput;
411
-
412
- export declare interface DataConnectionOutputParent {
413
- /** The system generated unique id for the resource. */
414
- id?: string;
415
- /** The caller provided unique name for the resource. */
416
- readonly name: string;
417
- /** The name that can be used for display purposes. */
418
- displayName?: string;
419
- /**
420
- * The type of data the data connection will transfer
421
- *
422
- * Possible values: assets, attackSurfaceInsights
423
- */
424
- content?: string;
425
- /** The date the data connection was created. */
426
- readonly createdDate?: string;
427
- /**
428
- * The rate at which the data connection will receive updates.
429
- *
430
- * Possible values: daily, weekly, monthly
431
- */
432
- frequency?: string;
433
- /** The day to update the data connection on. */
434
- frequencyOffset?: number;
435
- /** The date the data connection was last updated. */
436
- readonly updatedDate?: string;
437
- /** The date the data connection was last updated by user. */
438
- readonly userUpdatedAt?: string;
439
- /** An indicator of whether the data connection is active. */
440
- active?: boolean;
441
- /** A message that specifies details about data connection if inactive. */
442
- readonly inactiveMessage?: string;
443
- kind: string;
444
- }
445
-
446
- /** DataConnectionProperties */
447
- export declare interface DataConnectionProperties {
448
- }
449
-
450
- /** The properties required to establish connection to a particular service */
451
- export declare interface DataConnectionPropertiesOutput {
452
- }
453
-
454
- /** There is no content to send for this request, but the headers may be useful. */
455
- export declare interface DeleteDataConnection204Response extends HttpResponse {
456
- status: "204";
457
- }
458
-
459
- export declare interface DeleteDataConnectionDefaultHeaders {
460
- /** String error code indicating what went wrong. */
461
- "x-ms-error-code"?: string;
462
- }
463
-
464
- export declare interface DeleteDataConnectionDefaultResponse extends HttpResponse {
465
- status: string;
466
- body: ErrorResponse;
467
- headers: RawHttpHeaders & DeleteDataConnectionDefaultHeaders;
468
- }
469
-
470
- export declare type DeleteDataConnectionParameters = RequestParameters;
471
-
472
- /** There is no content to send for this request, but the headers may be useful. */
473
- export declare interface DeleteSavedFilter204Response extends HttpResponse {
474
- status: "204";
475
- }
476
-
477
- export declare interface DeleteSavedFilterDefaultHeaders {
478
- /** String error code indicating what went wrong. */
479
- "x-ms-error-code"?: string;
480
- }
481
-
482
- export declare interface DeleteSavedFilterDefaultResponse extends HttpResponse {
483
- status: string;
484
- body: ErrorResponse;
485
- headers: RawHttpHeaders & DeleteSavedFilterDefaultHeaders;
486
- }
487
-
488
- export declare type DeleteSavedFilterParameters = RequestParameters;
489
-
490
- export declare interface DependentResourceOutput {
491
- md5?: string;
492
- responseBodySize?: number;
493
- firstSeen?: string;
494
- lastSeen?: string;
495
- count?: number;
496
- firstSeenCrawlGuid?: string;
497
- firstSeenPageGuid?: string;
498
- firstSeenResourceGuid?: string;
499
- lastSeenCrawlGuid?: string;
500
- lastSeenPageGuid?: string;
501
- lastSeenResourceGuid?: string;
502
- responseBodyMinhash?: number[];
503
- contentType?: string;
504
- sha256?: string;
505
- sha384?: string;
506
- sha512?: string;
507
- url?: string;
508
- cached?: boolean;
509
- sriChecks?: Array<SubResourceIntegrityCheckOutput>;
510
- host?: string;
511
- lastObservedViolation?: string;
512
- lastObservedValidation?: string;
513
- lastObservedActualSriHash?: string;
514
- lastObservedExpectedSriHash?: string;
515
- }
516
-
517
- /** A request body used to create a discovery group. */
518
- export declare interface DiscoGroupData {
519
- /** The name for a disco group. */
520
- name?: string;
521
- /** The description for a disco group. */
522
- description?: string;
523
- /** The tier for the disco group which will affect the algorithm used for the disco runs in this group. */
524
- tier?: string;
525
- /** The frequency at which the disco group is supposed to be rerun in milliseconds. */
526
- frequencyMilliseconds?: number;
527
- /** The list of seeds used for the disco group runs. */
528
- seeds?: Array<DiscoSource>;
529
- /** The list of names used for the disco group runs. */
530
- names?: string[];
531
- /** The list of excludes used for the disco group runs, aka assets to exclude from the discovery algorithm. */
532
- excludes?: Array<DiscoSource>;
533
- /** The unique identifier for the disco template used for the disco group creation. */
534
- templateId?: string;
535
- }
536
-
537
- export declare interface DiscoGroupOutput {
538
- /** The system generated unique id for the resource. */
539
- id?: string;
540
- /** The caller provided unique name for the resource. */
541
- readonly name: string;
542
- /** The name that can be used for display purposes. */
543
- displayName?: string;
544
- /** The description for a disco group. */
545
- description?: string;
546
- /** The tier for the disco group which will affect the algorithm used for the disco runs in this group. */
547
- tier?: string;
548
- /** The frequency at which the disco group is supposed to be rerun in milliseconds. */
549
- frequencyMilliseconds?: number;
550
- /** The list of seeds used for the disco group runs. */
551
- seeds?: Array<DiscoSourceOutput>;
552
- /** The list of names used for the disco group runs. */
553
- names?: string[];
554
- /** The list of excludes used for the disco group runs, aka assets to exclude from the discovery algorithm. */
555
- excludes?: Array<DiscoSourceOutput>;
556
- /** The latest run of this disco group with some limited information, null if the group has never been run. */
557
- latestRun?: DiscoRunResultOutput;
558
- /** The date for the disco group was created. */
559
- createdDate?: string;
560
- /** The unique identifier for the disco template used for the disco group creation. */
561
- templateId?: string;
562
- }
563
-
564
- export declare interface DiscoRunPageResultOutput {
565
- /** The total number of items available in the full result set. */
566
- totalElements?: number;
567
- /** The link to access the next page of results. Not set if at the end of the result set. */
568
- nextLink?: string;
569
- /** The items in the current page of results. */
570
- value?: Array<DiscoRunResultOutput>;
571
- }
572
-
573
- /** The latest run of this disco group with some limited information, null if the group has never been run. */
574
- export declare interface DiscoRunResultOutput {
575
- /** The date for when the disco run was created in the system. */
576
- submittedDate?: string;
577
- /** The date for when the disco run was actually started by the system. */
578
- startedDate?: string;
579
- /** The date for when the disco run was completed by the system. */
580
- completedDate?: string;
581
- /** The tier which will affect the algorithm used for the disco run. */
582
- tier?: string;
583
- /**
584
- * The State of the disco run.
585
- *
586
- * Possible values: pending, running, completed, failed
587
- */
588
- state?: string;
589
- /** The total count of assets that were found this disco run. */
590
- totalAssetsFoundCount?: number;
591
- /** The list of seeds used for the disco run. */
592
- seeds?: Array<DiscoSourceOutput>;
593
- /** The list of excludes used for the disco run, aka assets to exclude from the discovery algorithm. */
594
- excludes?: Array<DiscoSourceOutput>;
595
- /** The list of names used for the disco run. */
596
- names?: string[];
597
- }
598
-
599
- /** Source entity used to drive discovery. */
600
- export declare interface DiscoSource {
601
- /**
602
- * The kind of disco source.
603
- *
604
- * Possible values: as, attribute, contact, domain, host, ipBlock
605
- */
606
- kind?: string;
607
- /** The name for the disco source. */
608
- name?: string;
609
- }
610
-
611
- /** Source entity used to drive discovery. */
612
- export declare interface DiscoSourceOutput {
613
- /**
614
- * The kind of disco source.
615
- *
616
- * Possible values: as, attribute, contact, domain, host, ipBlock
617
- */
618
- kind?: string;
619
- /** The name for the disco source. */
620
- name?: string;
621
- }
622
-
623
- /** The items in the current page of results. */
624
- export declare interface DiscoTemplateOutput {
625
- /** The system generated unique id for the resource. */
626
- readonly id: string;
627
- /** The caller provided unique name for the resource. */
628
- name?: string;
629
- /** The name that can be used for display purposes. */
630
- displayName?: string;
631
- /** The name of the industry. */
632
- industry?: string;
633
- /** The name of the region. */
634
- region?: string;
635
- /** The country code. */
636
- countryCode?: string;
637
- /** The state code. */
638
- stateCode?: string;
639
- /** The name of the city. */
640
- city?: string;
641
- /** The list of disco template seeds. */
642
- seeds?: Array<DiscoSourceOutput>;
643
- /** The list of disco template names. */
644
- names?: string[];
645
- }
646
-
647
- export declare interface DomainAssetOutput extends InventoryAssetOutput {
648
- domain?: string;
649
- whoisId?: number;
650
- registrarIanaIds?: Array<ObservedIntegerOutput>;
651
- registrantContacts?: Array<ObservedStringOutput>;
652
- registrantOrgs?: Array<ObservedStringOutput>;
653
- adminContacts?: Array<ObservedStringOutput>;
654
- technicalContacts?: Array<ObservedStringOutput>;
655
- alexaInfos?: Array<AlexaInfoOutput>;
656
- nameServers?: Array<ObservedStringOutput>;
657
- mailServers?: Array<ObservedStringOutput>;
658
- whoisServers?: Array<ObservedStringOutput>;
659
- domainStatuses?: Array<ObservedStringOutput>;
660
- registrarCreatedAt?: Array<ObservedLongOutput>;
661
- registrarUpdatedAt?: Array<ObservedLongOutput>;
662
- registrarExpiresAt?: Array<ObservedLongOutput>;
663
- soaRecords?: Array<SoaRecordOutput>;
664
- detailedFromWhoisAt?: string;
665
- registrarNames?: Array<ObservedStringOutput>;
666
- sources?: Array<SourceOutput>;
667
- firstSeen?: string;
668
- lastSeen?: string;
669
- count?: number;
670
- parkedDomain?: Array<ObservedBooleanOutput>;
671
- registrantNames?: Array<ObservedStringOutput>;
672
- adminNames?: Array<ObservedStringOutput>;
673
- technicalNames?: Array<ObservedStringOutput>;
674
- adminOrgs?: Array<ObservedStringOutput>;
675
- technicalOrgs?: Array<ObservedStringOutput>;
676
- registrantPhones?: Array<ObservedStringOutput>;
677
- adminPhones?: Array<ObservedStringOutput>;
678
- technicalPhones?: Array<ObservedStringOutput>;
679
- }
680
-
681
- export declare interface DomainAssetResourceOutput extends AssetResourceOutputParent {
682
- /** The kind of AssetResource */
683
- kind: "domain";
684
- /** asset */
685
- asset: DomainAssetOutput;
686
- }
687
-
688
- export declare type EasmClient = Client & {
689
- path: Routes;
690
- };
691
-
692
- /** This is the top-level error object whose code matches the x-ms-error-code response header. */
693
- export declare interface ErrorDetailOutput {
694
- /** This is one of a server-defined set of error codes. */
695
- code: string;
696
- /** This is a human-readable representation of the error. */
697
- message: string;
698
- /** This is the error target. */
699
- target?: string;
700
- /** This is an array of details about specific errors that led to this reported error. */
701
- details?: Array<ErrorDetailOutput>;
702
- /** This is an object containing more specific information than the current object about the error. */
703
- innererror?: InnerErrorOutput;
704
- }
705
-
706
- /**
707
- * Helper type to extract the type of an array
708
- */
709
- export declare type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
710
-
711
- export declare interface GetAssetResource {
712
- /** Retrieve an asset by assetId. */
713
- get(options?: GetAssetResourceParameters): StreamableMethod<GetAssetResource200Response | GetAssetResourceDefaultResponse>;
714
- }
715
-
716
- /** The request has succeeded. */
717
- export declare interface GetAssetResource200Response extends HttpResponse {
718
- status: "200";
719
- body: AssetResourceOutput;
720
- }
721
-
722
- export declare interface GetAssetResourceDefaultHeaders {
723
- /** String error code indicating what went wrong. */
724
- "x-ms-error-code"?: string;
725
- }
726
-
727
- export declare interface GetAssetResourceDefaultResponse extends HttpResponse {
728
- status: string;
729
- body: ErrorResponse;
730
- headers: RawHttpHeaders & GetAssetResourceDefaultHeaders;
731
- }
732
-
733
- export declare type GetAssetResourceParameters = RequestParameters;
734
-
735
- export declare interface GetBillable {
736
- /** Get billable assets summary for the workspace. */
737
- post(options?: GetBillableParameters): StreamableMethod<GetBillable200Response | GetBillableDefaultResponse>;
738
- }
739
-
740
- /** The request has succeeded. */
741
- export declare interface GetBillable200Response extends HttpResponse {
742
- status: "200";
743
- body: ReportBillableAssetSummaryResultOutput;
744
- }
745
-
746
- export declare interface GetBillableDefaultHeaders {
747
- /** String error code indicating what went wrong. */
748
- "x-ms-error-code"?: string;
749
- }
750
-
751
- export declare interface GetBillableDefaultResponse extends HttpResponse {
752
- status: string;
753
- body: ErrorResponse;
754
- headers: RawHttpHeaders & GetBillableDefaultHeaders;
755
- }
756
-
757
- export declare type GetBillableParameters = RequestParameters;
758
-
759
- export declare interface GetDataConnection {
760
- /** Retrieve a data connection with a given dataConnectionName. */
761
- get(options?: GetDataConnectionParameters): StreamableMethod<GetDataConnection200Response | GetDataConnectionDefaultResponse>;
762
- /** Create or replace a data connection with a given dataConnectionName. */
763
- put(options?: CreateOrReplaceDataConnectionParameters): StreamableMethod<CreateOrReplaceDataConnection200Response | CreateOrReplaceDataConnectionDefaultResponse>;
764
- /** Delete a data connection with a given dataConnectionName. */
765
- delete(options?: DeleteDataConnectionParameters): StreamableMethod<DeleteDataConnection204Response | DeleteDataConnectionDefaultResponse>;
766
- }
767
-
768
- /** The request has succeeded. */
769
- export declare interface GetDataConnection200Response extends HttpResponse {
770
- status: "200";
771
- body: DataConnectionOutput;
772
- }
773
-
774
- export declare interface GetDataConnectionDefaultHeaders {
775
- /** String error code indicating what went wrong. */
776
- "x-ms-error-code"?: string;
777
- }
778
-
779
- export declare interface GetDataConnectionDefaultResponse extends HttpResponse {
780
- status: string;
781
- body: ErrorResponse;
782
- headers: RawHttpHeaders & GetDataConnectionDefaultHeaders;
783
- }
784
-
785
- export declare type GetDataConnectionParameters = RequestParameters;
786
-
787
- export declare interface GetDiscoGroup {
788
- /** Retrieve a discovery group with a given groupName. */
789
- get(options?: GetDiscoGroupParameters): StreamableMethod<GetDiscoGroup200Response | GetDiscoGroupDefaultResponse>;
790
- /** Create a discovery group with a given groupName. */
791
- put(options?: CreateOrReplaceDiscoGroupParameters): StreamableMethod<CreateOrReplaceDiscoGroup200Response | CreateOrReplaceDiscoGroupDefaultResponse>;
792
- }
793
-
794
- /** The request has succeeded. */
795
- export declare interface GetDiscoGroup200Response extends HttpResponse {
796
- status: "200";
797
- body: DiscoGroupOutput;
798
- }
799
-
800
- export declare interface GetDiscoGroupDefaultHeaders {
801
- /** String error code indicating what went wrong. */
802
- "x-ms-error-code"?: string;
803
- }
804
-
805
- export declare interface GetDiscoGroupDefaultResponse extends HttpResponse {
806
- status: string;
807
- body: ErrorResponse;
808
- headers: RawHttpHeaders & GetDiscoGroupDefaultHeaders;
809
- }
810
-
811
- export declare type GetDiscoGroupParameters = RequestParameters;
812
-
813
- export declare interface GetDiscoTemplate {
814
- /** Retrieve a disco template with a given templateId. */
815
- get(options?: GetDiscoTemplateParameters): StreamableMethod<GetDiscoTemplate200Response | GetDiscoTemplateDefaultResponse>;
816
- }
817
-
818
- /** The request has succeeded. */
819
- export declare interface GetDiscoTemplate200Response extends HttpResponse {
820
- status: "200";
821
- body: DiscoTemplateOutput;
822
- }
823
-
824
- export declare interface GetDiscoTemplateDefaultHeaders {
825
- /** String error code indicating what went wrong. */
826
- "x-ms-error-code"?: string;
827
- }
828
-
829
- export declare interface GetDiscoTemplateDefaultResponse extends HttpResponse {
830
- status: string;
831
- body: ErrorResponse;
832
- headers: RawHttpHeaders & GetDiscoTemplateDefaultHeaders;
833
- }
834
-
835
- export declare type GetDiscoTemplateParameters = RequestParameters;
836
-
837
- /**
838
- * The type of a custom function that defines how to get a page and a link to the next one if any.
839
- */
840
- export declare type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
841
- page: TPage;
842
- nextPageLink?: string;
843
- }>;
844
-
845
- export declare interface GetSavedFilter {
846
- /** Retrieve a saved filter by filterName. */
847
- get(options?: GetSavedFilterParameters): StreamableMethod<GetSavedFilter200Response | GetSavedFilterDefaultResponse>;
848
- /** Create or replace a saved filter with a given filterName. */
849
- put(options?: CreateOrReplaceSavedFilterParameters): StreamableMethod<CreateOrReplaceSavedFilter200Response | CreateOrReplaceSavedFilterDefaultResponse>;
850
- /** Delete a saved filter with a given filterName. */
851
- delete(options?: DeleteSavedFilterParameters): StreamableMethod<DeleteSavedFilter204Response | DeleteSavedFilterDefaultResponse>;
852
- }
853
-
854
- /** The request has succeeded. */
855
- export declare interface GetSavedFilter200Response extends HttpResponse {
856
- status: "200";
857
- body: SavedFilterOutput;
858
- }
859
-
860
- export declare interface GetSavedFilterDefaultHeaders {
861
- /** String error code indicating what went wrong. */
862
- "x-ms-error-code"?: string;
863
- }
864
-
865
- export declare interface GetSavedFilterDefaultResponse extends HttpResponse {
866
- status: string;
867
- body: ErrorResponse;
868
- headers: RawHttpHeaders & GetSavedFilterDefaultHeaders;
869
- }
870
-
871
- export declare type GetSavedFilterParameters = RequestParameters;
872
-
873
- export declare interface GetSnapshot {
874
- /** Get the most recent snapshot of asset summary values for the snapshot request. */
875
- post(options?: GetSnapshotParameters): StreamableMethod<GetSnapshot200Response | GetSnapshotDefaultResponse>;
876
- }
877
-
878
- /** The request has succeeded. */
879
- export declare interface GetSnapshot200Response extends HttpResponse {
880
- status: "200";
881
- body: ReportAssetSnapshotResultOutput;
882
- }
883
-
884
- export declare interface GetSnapshotBodyParam {
885
- body?: ReportAssetSnapshotRequest;
886
- }
887
-
888
- export declare interface GetSnapshotDefaultHeaders {
889
- /** String error code indicating what went wrong. */
890
- "x-ms-error-code"?: string;
891
- }
892
-
893
- export declare interface GetSnapshotDefaultResponse extends HttpResponse {
894
- status: string;
895
- body: ErrorResponse;
896
- headers: RawHttpHeaders & GetSnapshotDefaultHeaders;
897
- }
898
-
899
- export declare type GetSnapshotParameters = GetSnapshotBodyParam & RequestParameters;
900
-
901
- export declare interface GetSummary {
902
- /** Get asset summary details for the summary request. */
903
- post(options?: GetSummaryParameters): StreamableMethod<GetSummary200Response | GetSummaryDefaultResponse>;
904
- }
905
-
906
- /** The request has succeeded. */
907
- export declare interface GetSummary200Response extends HttpResponse {
908
- status: "200";
909
- body: ReportAssetSummaryResultOutput;
910
- }
911
-
912
- export declare interface GetSummaryBodyParam {
913
- body?: ReportAssetSummaryRequest;
914
- }
915
-
916
- export declare interface GetSummaryDefaultHeaders {
917
- /** String error code indicating what went wrong. */
918
- "x-ms-error-code"?: string;
919
- }
920
-
921
- export declare interface GetSummaryDefaultResponse extends HttpResponse {
922
- status: string;
923
- body: ErrorResponse;
924
- headers: RawHttpHeaders & GetSummaryDefaultHeaders;
925
- }
926
-
927
- export declare type GetSummaryParameters = GetSummaryBodyParam & RequestParameters;
928
-
929
- export declare interface GetTask {
930
- /** Retrieve a task by taskId. */
931
- get(options?: GetTaskParameters): StreamableMethod<GetTask200Response | GetTaskDefaultResponse>;
932
- }
933
-
934
- /** The request has succeeded. */
935
- export declare interface GetTask200Response extends HttpResponse {
936
- status: "200";
937
- body: TaskOutput;
938
- }
939
-
940
- export declare interface GetTaskDefaultHeaders {
941
- /** String error code indicating what went wrong. */
942
- "x-ms-error-code"?: string;
943
- }
944
-
945
- export declare interface GetTaskDefaultResponse extends HttpResponse {
946
- status: string;
947
- body: ErrorResponse;
948
- headers: RawHttpHeaders & GetTaskDefaultHeaders;
949
- }
950
-
951
- export declare type GetTaskParameters = RequestParameters;
952
-
953
- export declare interface GuidPairOutput {
954
- pageGuid?: string;
955
- crawlStateGuid?: string;
956
- loadDate?: string;
957
- recent?: boolean;
958
- }
959
-
960
- export declare interface HostAssetOutput extends InventoryAssetOutput {
961
- host?: string;
962
- domain?: string;
963
- ipAddresses?: Array<ObservedStringOutput>;
964
- webComponents?: Array<WebComponentOutput>;
965
- headers?: Array<ObservedHeaderOutput>;
966
- attributes?: Array<AttributeOutput>;
967
- cookies?: Array<CookieOutput>;
968
- sslCerts?: Array<SslCertAssetOutput>;
969
- parentHosts?: Array<ObservedStringOutput>;
970
- childHosts?: Array<ObservedStringOutput>;
971
- hostCore?: HostCoreOutput;
972
- services?: Array<ServiceOutput>;
973
- cnames?: Array<ObservedStringOutput>;
974
- sources?: Array<SourceOutput>;
975
- firstSeen?: string;
976
- lastSeen?: string;
977
- count?: number;
978
- resourceUrls?: Array<ResourceUrlOutput>;
979
- scanMetadata?: Array<ScanMetadataOutput>;
980
- asns?: Array<ObservedLongOutput>;
981
- ipBlocks?: Array<IpBlockOutput>;
982
- responseBodies?: Array<ObservedStringOutput>;
983
- domainAsset?: DomainAssetOutput;
984
- nsRecord?: Array<ObservedBooleanOutput>;
985
- mxRecord?: Array<ObservedBooleanOutput>;
986
- webserver?: Array<ObservedBooleanOutput>;
987
- location?: Array<ObservedLocationOutput>;
988
- nxdomain?: Array<ObservedBooleanOutput>;
989
- sslServerConfig?: Array<SslServerConfigOutput>;
990
- isWildcard?: Array<ObservedBooleanOutput>;
991
- banners?: Array<BannerOutput>;
992
- ipv4?: Array<ObservedBooleanOutput>;
993
- ipv6?: Array<ObservedBooleanOutput>;
994
- }
995
-
996
- export declare interface HostAssetResourceOutput extends AssetResourceOutputParent {
997
- /** The kind of AssetResource */
998
- kind: "host";
999
- /** asset */
1000
- asset: HostAssetOutput;
1001
- }
1002
-
1003
- export declare interface HostCoreOutput {
1004
- host?: string;
1005
- domain?: string;
1006
- firstSeen?: string;
1007
- lastSeen?: string;
1008
- count?: number;
1009
- blacklistCauseFirstSeen?: string;
1010
- blacklistCauseLastSeen?: string;
1011
- blacklistCauseCount?: number;
1012
- blacklistResourceFirstSeen?: string;
1013
- blacklistResourceLastSeen?: string;
1014
- blacklistResourceCount?: number;
1015
- blacklistSequenceFirstSeen?: string;
1016
- blacklistSequenceLastSeen?: string;
1017
- blacklistSequenceCount?: number;
1018
- phishCauseCount?: number;
1019
- malwareCauseCount?: number;
1020
- spamCauseCount?: number;
1021
- scamCauseCount?: number;
1022
- phishResourceCount?: number;
1023
- malwareResourceCount?: number;
1024
- spamResourceCount?: number;
1025
- scamResourceCount?: number;
1026
- phishSequenceCount?: number;
1027
- malwareSequenceCount?: number;
1028
- spamSequenceCount?: number;
1029
- scamSequenceCount?: number;
1030
- alexaRank?: number;
1031
- hostReputationScore?: number;
1032
- hostPhishReputationScore?: number;
1033
- hostMalwareReputationScore?: number;
1034
- hostSpamReputationScore?: number;
1035
- hostScamReputationScore?: number;
1036
- domainReputationScore?: number;
1037
- domainPhishReputationScore?: number;
1038
- domainMalwareReputationScore?: number;
1039
- domainSpamReputationScore?: number;
1040
- domainScamReputationScore?: number;
1041
- uuid?: string;
1042
- }
1043
-
1044
- /** This is an object containing more specific information than the current object about the error. */
1045
- export declare interface InnerErrorOutput {
1046
- /** This is a more specific error code than was provided by the containing error. */
1047
- code?: string;
1048
- /** This is an additional field representing the value that caused the error to help with debugging. */
1049
- value?: any;
1050
- }
1051
-
1052
- export declare interface InventoryAssetOutput {
1053
- }
1054
-
1055
- export declare interface IpAddressAssetOutput extends InventoryAssetOutput {
1056
- ipAddress?: string;
1057
- asns?: Array<ObservedLongOutput>;
1058
- reputations?: Array<ReputationOutput>;
1059
- webComponents?: Array<WebComponentOutput>;
1060
- netRanges?: Array<ObservedStringOutput>;
1061
- headers?: Array<ObservedHeaderOutput>;
1062
- attributes?: Array<AttributeOutput>;
1063
- cookies?: Array<CookieOutput>;
1064
- sslCerts?: Array<SslCertAssetOutput>;
1065
- services?: Array<ServiceOutput>;
1066
- ipBlocks?: Array<IpBlockOutput>;
1067
- sources?: Array<SourceOutput>;
1068
- firstSeen?: string;
1069
- lastSeen?: string;
1070
- count?: number;
1071
- banners?: Array<BannerOutput>;
1072
- scanMetadata?: Array<ScanMetadataOutput>;
1073
- nsRecord?: Array<ObservedBooleanOutput>;
1074
- mxRecord?: Array<ObservedBooleanOutput>;
1075
- location?: Array<ObservedLocationOutput>;
1076
- hosts?: Array<ObservedStringOutput>;
1077
- nxdomain?: Array<ObservedBooleanOutput>;
1078
- sslServerConfig?: Array<SslServerConfigOutput>;
1079
- ipv4?: boolean;
1080
- ipv6?: boolean;
1081
- }
1082
-
1083
- export declare interface IpAddressAssetResourceOutput extends AssetResourceOutputParent {
1084
- /** The kind of AssetResource */
1085
- kind: "ipAddress";
1086
- /** asset */
1087
- asset: IpAddressAssetOutput;
1088
- }
1089
-
1090
- export declare interface IpBlockAssetOutput extends InventoryAssetOutput {
1091
- ipBlock?: string;
1092
- asns?: Array<ObservedLongOutput>;
1093
- bgpPrefixes?: Array<ObservedStringOutput>;
1094
- netNames?: Array<ObservedStringOutput>;
1095
- registrantContacts?: Array<ObservedStringOutput>;
1096
- registrantOrgs?: Array<ObservedStringOutput>;
1097
- adminContacts?: Array<ObservedStringOutput>;
1098
- technicalContacts?: Array<ObservedStringOutput>;
1099
- registrarCreatedAt?: Array<ObservedLongOutput>;
1100
- registrarUpdatedAt?: Array<ObservedLongOutput>;
1101
- netRanges?: Array<ObservedStringOutput>;
1102
- startIp?: string;
1103
- endIp?: string;
1104
- reputations?: Array<ReputationOutput>;
1105
- detailedFromWhoisAt?: string;
1106
- sources?: Array<SourceOutput>;
1107
- firstSeen?: string;
1108
- lastSeen?: string;
1109
- count?: number;
1110
- location?: Array<ObservedLocationOutput>;
1111
- registrarExpiresAt?: Array<ObservedLongOutput>;
1112
- registrantNames?: Array<ObservedStringOutput>;
1113
- adminNames?: Array<ObservedStringOutput>;
1114
- technicalNames?: Array<ObservedStringOutput>;
1115
- adminOrgs?: Array<ObservedStringOutput>;
1116
- technicalOrgs?: Array<ObservedStringOutput>;
1117
- registrantPhones?: Array<ObservedStringOutput>;
1118
- adminPhones?: Array<ObservedStringOutput>;
1119
- technicalPhones?: Array<ObservedStringOutput>;
1120
- ipv4?: boolean;
1121
- ipv6?: boolean;
1122
- }
1123
-
1124
- export declare interface IpBlockAssetResourceOutput extends AssetResourceOutputParent {
1125
- /** The kind of AssetResource */
1126
- kind: "ipBlock";
1127
- /** asset */
1128
- asset: IpBlockAssetOutput;
1129
- }
1130
-
1131
- export declare interface IpBlockOutput {
1132
- ipBlock?: string;
1133
- sources?: Array<SourceOutput>;
1134
- firstSeen?: string;
1135
- lastSeen?: string;
1136
- count?: number;
1137
- recent?: boolean;
1138
- }
1139
-
1140
- export declare function isUnexpected(response: ListAssetResource200Response | ListAssetResourceDefaultResponse): response is ListAssetResourceDefaultResponse;
1141
-
1142
- export declare function isUnexpected(response: UpdateAssets200Response | UpdateAssetsDefaultResponse): response is UpdateAssetsDefaultResponse;
1143
-
1144
- export declare function isUnexpected(response: GetAssetResource200Response | GetAssetResourceDefaultResponse): response is GetAssetResourceDefaultResponse;
1145
-
1146
- export declare function isUnexpected(response: ListDataConnection200Response | ListDataConnectionDefaultResponse): response is ListDataConnectionDefaultResponse;
1147
-
1148
- export declare function isUnexpected(response: ValidateDataConnection200Response | ValidateDataConnectionDefaultResponse): response is ValidateDataConnectionDefaultResponse;
1149
-
1150
- export declare function isUnexpected(response: GetDataConnection200Response | GetDataConnectionDefaultResponse): response is GetDataConnectionDefaultResponse;
1151
-
1152
- export declare function isUnexpected(response: CreateOrReplaceDataConnection200Response | CreateOrReplaceDataConnectionDefaultResponse): response is CreateOrReplaceDataConnectionDefaultResponse;
1153
-
1154
- export declare function isUnexpected(response: DeleteDataConnection204Response | DeleteDataConnectionDefaultResponse): response is DeleteDataConnectionDefaultResponse;
1155
-
1156
- export declare function isUnexpected(response: ListDiscoGroup200Response | ListDiscoGroupDefaultResponse): response is ListDiscoGroupDefaultResponse;
1157
-
1158
- export declare function isUnexpected(response: ValidateDiscoGroup200Response | ValidateDiscoGroupDefaultResponse): response is ValidateDiscoGroupDefaultResponse;
1159
-
1160
- export declare function isUnexpected(response: GetDiscoGroup200Response | GetDiscoGroupDefaultResponse): response is GetDiscoGroupDefaultResponse;
1161
-
1162
- export declare function isUnexpected(response: CreateOrReplaceDiscoGroup200Response | CreateOrReplaceDiscoGroupDefaultResponse): response is CreateOrReplaceDiscoGroupDefaultResponse;
1163
-
1164
- export declare function isUnexpected(response: RunDiscoGroup204Response | RunDiscoGroupDefaultResponse): response is RunDiscoGroupDefaultResponse;
1165
-
1166
- export declare function isUnexpected(response: ListRuns200Response | ListRunsDefaultResponse): response is ListRunsDefaultResponse;
1167
-
1168
- export declare function isUnexpected(response: ListDiscoTemplate200Response | ListDiscoTemplateDefaultResponse): response is ListDiscoTemplateDefaultResponse;
1169
-
1170
- export declare function isUnexpected(response: GetDiscoTemplate200Response | GetDiscoTemplateDefaultResponse): response is GetDiscoTemplateDefaultResponse;
1171
-
1172
- export declare function isUnexpected(response: GetBillable200Response | GetBillableDefaultResponse): response is GetBillableDefaultResponse;
1173
-
1174
- export declare function isUnexpected(response: GetSnapshot200Response | GetSnapshotDefaultResponse): response is GetSnapshotDefaultResponse;
1175
-
1176
- export declare function isUnexpected(response: GetSummary200Response | GetSummaryDefaultResponse): response is GetSummaryDefaultResponse;
1177
-
1178
- export declare function isUnexpected(response: ListSavedFilter200Response | ListSavedFilterDefaultResponse): response is ListSavedFilterDefaultResponse;
1179
-
1180
- export declare function isUnexpected(response: GetSavedFilter200Response | GetSavedFilterDefaultResponse): response is GetSavedFilterDefaultResponse;
1181
-
1182
- export declare function isUnexpected(response: CreateOrReplaceSavedFilter200Response | CreateOrReplaceSavedFilterDefaultResponse): response is CreateOrReplaceSavedFilterDefaultResponse;
1183
-
1184
- export declare function isUnexpected(response: DeleteSavedFilter204Response | DeleteSavedFilterDefaultResponse): response is DeleteSavedFilterDefaultResponse;
1185
-
1186
- export declare function isUnexpected(response: ListTask200Response | ListTaskDefaultResponse): response is ListTaskDefaultResponse;
1187
-
1188
- export declare function isUnexpected(response: GetTask200Response | GetTaskDefaultResponse): response is GetTaskDefaultResponse;
1189
-
1190
- export declare function isUnexpected(response: CancelTask200Response | CancelTaskDefaultResponse): response is CancelTaskDefaultResponse;
1191
-
1192
- export declare interface ListAssetResource {
1193
- /** Retrieve a list of assets for the provided search parameters. */
1194
- get(options?: ListAssetResourceParameters): StreamableMethod<ListAssetResource200Response | ListAssetResourceDefaultResponse>;
1195
- /** Update labels on assets matching the provided filter. */
1196
- post(options: UpdateAssetsParameters): StreamableMethod<UpdateAssets200Response | UpdateAssetsDefaultResponse>;
1197
- }
1198
-
1199
- /** The request has succeeded. */
1200
- export declare interface ListAssetResource200Response extends HttpResponse {
1201
- status: "200";
1202
- body: PagedAssetResourceOutput;
1203
- }
1204
-
1205
- export declare interface ListAssetResourceDefaultHeaders {
1206
- /** String error code indicating what went wrong. */
1207
- "x-ms-error-code"?: string;
1208
- }
1209
-
1210
- export declare interface ListAssetResourceDefaultResponse extends HttpResponse {
1211
- status: string;
1212
- body: ErrorResponse;
1213
- headers: RawHttpHeaders & ListAssetResourceDefaultHeaders;
1214
- }
1215
-
1216
- export declare type ListAssetResourceParameters = ListAssetResourceQueryParam & RequestParameters;
1217
-
1218
- export declare interface ListAssetResourceQueryParam {
1219
- queryParameters?: ListAssetResourceQueryParamProperties;
1220
- }
1221
-
1222
- export declare interface ListAssetResourceQueryParamProperties {
1223
- /** Filter the result list using the given expression. */
1224
- filter?: string;
1225
- /** A list of expressions that specify the order of the returned resources. */
1226
- orderby?: string;
1227
- /** The number of result items to skip. */
1228
- skip?: number;
1229
- /** The maximum number of result items per page. */
1230
- maxpagesize?: number;
1231
- /** Specify this value instead of 'skip' to use cursor-based searching. Initial value is '*' and subsequent values are returned in the response. */
1232
- mark?: string;
1233
- }
1234
-
1235
- export declare interface ListDataConnection {
1236
- /** Retrieve a list of data connections. */
1237
- get(options?: ListDataConnectionParameters): StreamableMethod<ListDataConnection200Response | ListDataConnectionDefaultResponse>;
1238
- }
1239
-
1240
- /** The request has succeeded. */
1241
- export declare interface ListDataConnection200Response extends HttpResponse {
1242
- status: "200";
1243
- body: PagedDataConnectionOutput;
1244
- }
1245
-
1246
- export declare interface ListDataConnectionDefaultHeaders {
1247
- /** String error code indicating what went wrong. */
1248
- "x-ms-error-code"?: string;
1249
- }
1250
-
1251
- export declare interface ListDataConnectionDefaultResponse extends HttpResponse {
1252
- status: string;
1253
- body: ErrorResponse;
1254
- headers: RawHttpHeaders & ListDataConnectionDefaultHeaders;
1255
- }
1256
-
1257
- export declare type ListDataConnectionParameters = ListDataConnectionQueryParam & RequestParameters;
1258
-
1259
- export declare interface ListDataConnectionQueryParam {
1260
- queryParameters?: ListDataConnectionQueryParamProperties;
1261
- }
1262
-
1263
- export declare interface ListDataConnectionQueryParamProperties {
1264
- /** The number of result items to skip. */
1265
- skip?: number;
1266
- /** The maximum number of result items per page. */
1267
- maxpagesize?: number;
1268
- }
1269
-
1270
- export declare interface ListDiscoGroup {
1271
- /** Retrieve a list of discovery group for the provided search parameters. */
1272
- get(options?: ListDiscoGroupParameters): StreamableMethod<ListDiscoGroup200Response | ListDiscoGroupDefaultResponse>;
1273
- }
1274
-
1275
- /** The request has succeeded. */
1276
- export declare interface ListDiscoGroup200Response extends HttpResponse {
1277
- status: "200";
1278
- body: PagedDiscoGroupOutput;
1279
- }
1280
-
1281
- export declare interface ListDiscoGroupDefaultHeaders {
1282
- /** String error code indicating what went wrong. */
1283
- "x-ms-error-code"?: string;
1284
- }
1285
-
1286
- export declare interface ListDiscoGroupDefaultResponse extends HttpResponse {
1287
- status: string;
1288
- body: ErrorResponse;
1289
- headers: RawHttpHeaders & ListDiscoGroupDefaultHeaders;
1290
- }
1291
-
1292
- export declare type ListDiscoGroupParameters = ListDiscoGroupQueryParam & RequestParameters;
1293
-
1294
- export declare interface ListDiscoGroupQueryParam {
1295
- queryParameters?: ListDiscoGroupQueryParamProperties;
1296
- }
1297
-
1298
- export declare interface ListDiscoGroupQueryParamProperties {
1299
- /** Filter the result list using the given expression. */
1300
- filter?: string;
1301
- /** The number of result items to skip. */
1302
- skip?: number;
1303
- /** The maximum number of result items per page. */
1304
- maxpagesize?: number;
1305
- }
1306
-
1307
- export declare interface ListDiscoTemplate {
1308
- /** Retrieve a list of disco templates for the provided search parameters. */
1309
- get(options?: ListDiscoTemplateParameters): StreamableMethod<ListDiscoTemplate200Response | ListDiscoTemplateDefaultResponse>;
1310
- }
1311
-
1312
- /** The request has succeeded. */
1313
- export declare interface ListDiscoTemplate200Response extends HttpResponse {
1314
- status: "200";
1315
- body: PagedDiscoTemplateOutput;
1316
- }
1317
-
1318
- export declare interface ListDiscoTemplateDefaultHeaders {
1319
- /** String error code indicating what went wrong. */
1320
- "x-ms-error-code"?: string;
1321
- }
1322
-
1323
- export declare interface ListDiscoTemplateDefaultResponse extends HttpResponse {
1324
- status: string;
1325
- body: ErrorResponse;
1326
- headers: RawHttpHeaders & ListDiscoTemplateDefaultHeaders;
1327
- }
1328
-
1329
- export declare type ListDiscoTemplateParameters = ListDiscoTemplateQueryParam & RequestParameters;
1330
-
1331
- export declare interface ListDiscoTemplateQueryParam {
1332
- queryParameters?: ListDiscoTemplateQueryParamProperties;
1333
- }
1334
-
1335
- export declare interface ListDiscoTemplateQueryParamProperties {
1336
- /** Filter the result list using the given expression. */
1337
- filter?: string;
1338
- /** The number of result items to skip. */
1339
- skip?: number;
1340
- /** The maximum number of result items per page. */
1341
- maxpagesize?: number;
1342
- }
1343
-
1344
- export declare interface ListRuns {
1345
- /** Retrieve a collection of discovery run results for a discovery group with a given groupName. */
1346
- get(options?: ListRunsParameters): StreamableMethod<ListRuns200Response | ListRunsDefaultResponse>;
1347
- }
1348
-
1349
- /** The request has succeeded. */
1350
- export declare interface ListRuns200Response extends HttpResponse {
1351
- status: "200";
1352
- body: DiscoRunPageResultOutput;
1353
- }
1354
-
1355
- export declare interface ListRunsDefaultHeaders {
1356
- /** String error code indicating what went wrong. */
1357
- "x-ms-error-code"?: string;
1358
- }
1359
-
1360
- export declare interface ListRunsDefaultResponse extends HttpResponse {
1361
- status: string;
1362
- body: ErrorResponse;
1363
- headers: RawHttpHeaders & ListRunsDefaultHeaders;
1364
- }
1365
-
1366
- export declare type ListRunsParameters = ListRunsQueryParam & RequestParameters;
1367
-
1368
- export declare interface ListRunsQueryParam {
1369
- queryParameters?: ListRunsQueryParamProperties;
1370
- }
1371
-
1372
- export declare interface ListRunsQueryParamProperties {
1373
- /** Filter the result list using the given expression. */
1374
- filter?: string;
1375
- /** The number of result items to skip. */
1376
- skip?: number;
1377
- /** The maximum number of result items per page. */
1378
- maxpagesize?: number;
1379
- }
1380
-
1381
- export declare interface ListSavedFilter {
1382
- /** Retrieve a list of saved filters for the provided search parameters. */
1383
- get(options?: ListSavedFilterParameters): StreamableMethod<ListSavedFilter200Response | ListSavedFilterDefaultResponse>;
1384
- }
1385
-
1386
- /** The request has succeeded. */
1387
- export declare interface ListSavedFilter200Response extends HttpResponse {
1388
- status: "200";
1389
- body: PagedSavedFilterOutput;
1390
- }
1391
-
1392
- export declare interface ListSavedFilterDefaultHeaders {
1393
- /** String error code indicating what went wrong. */
1394
- "x-ms-error-code"?: string;
1395
- }
1396
-
1397
- export declare interface ListSavedFilterDefaultResponse extends HttpResponse {
1398
- status: string;
1399
- body: ErrorResponse;
1400
- headers: RawHttpHeaders & ListSavedFilterDefaultHeaders;
1401
- }
1402
-
1403
- export declare type ListSavedFilterParameters = ListSavedFilterQueryParam & RequestParameters;
1404
-
1405
- export declare interface ListSavedFilterQueryParam {
1406
- queryParameters?: ListSavedFilterQueryParamProperties;
1407
- }
1408
-
1409
- export declare interface ListSavedFilterQueryParamProperties {
1410
- /** Filter the result list using the given expression. */
1411
- filter?: string;
1412
- /** The number of result items to skip. */
1413
- skip?: number;
1414
- /** The maximum number of result items per page. */
1415
- maxpagesize?: number;
1416
- }
1417
-
1418
- export declare interface ListTask {
1419
- /** Retrieve a list of tasks for the provided search parameters. */
1420
- get(options?: ListTaskParameters): StreamableMethod<ListTask200Response | ListTaskDefaultResponse>;
1421
- }
1422
-
1423
- /** The request has succeeded. */
1424
- export declare interface ListTask200Response extends HttpResponse {
1425
- status: "200";
1426
- body: PagedTaskOutput;
1427
- }
1428
-
1429
- export declare interface ListTaskDefaultHeaders {
1430
- /** String error code indicating what went wrong. */
1431
- "x-ms-error-code"?: string;
1432
- }
1433
-
1434
- export declare interface ListTaskDefaultResponse extends HttpResponse {
1435
- status: string;
1436
- body: ErrorResponse;
1437
- headers: RawHttpHeaders & ListTaskDefaultHeaders;
1438
- }
1439
-
1440
- export declare type ListTaskParameters = ListTaskQueryParam & RequestParameters;
1441
-
1442
- export declare interface ListTaskQueryParam {
1443
- queryParameters?: ListTaskQueryParamProperties;
1444
- }
1445
-
1446
- export declare interface ListTaskQueryParamProperties {
1447
- /** Filter the result list using the given expression. */
1448
- filter?: string;
1449
- /** A list of expressions that specify the order of the returned resources. */
1450
- orderby?: string;
1451
- /** The number of result items to skip. */
1452
- skip?: number;
1453
- /** The maximum number of result items per page. */
1454
- maxpagesize?: number;
1455
- }
1456
-
1457
- export declare interface LocationOutput {
1458
- countryCode?: string;
1459
- countryName?: string;
1460
- region?: string;
1461
- regionName?: string;
1462
- city?: string;
1463
- areaCode?: number;
1464
- postalCode?: string;
1465
- latitude?: number;
1466
- longitude?: number;
1467
- dmaCode?: number;
1468
- metroCodeId?: number;
1469
- }
1470
-
1471
- export declare interface LogAnalyticsDataConnectionData extends DataConnectionDataParent {
1472
- kind: "logAnalytics";
1473
- properties: LogAnalyticsDataConnectionProperties;
1474
- }
1475
-
1476
- export declare interface LogAnalyticsDataConnectionOutput extends DataConnectionOutputParent {
1477
- /** The kind of DataConnection */
1478
- kind: "logAnalytics";
1479
- /** properties */
1480
- properties: LogAnalyticsDataConnectionPropertiesOutput;
1481
- }
1482
-
1483
- /** LogAnalyticsDataConnectionProperties */
1484
- export declare interface LogAnalyticsDataConnectionProperties extends DataConnectionProperties {
1485
- /** log analytics api key */
1486
- apiKey?: string;
1487
- /** log analytics workspace id */
1488
- workspaceId?: string;
1489
- }
1490
-
1491
- export declare interface LogAnalyticsDataConnectionPropertiesOutput extends DataConnectionPropertiesOutput {
1492
- /** log analytics api key */
1493
- apiKey?: string;
1494
- /** log analytics workspace id */
1495
- workspaceId?: string;
1496
- }
1497
-
1498
- export declare interface ObservedBooleanOutput extends ObservedValueOutput {
1499
- value?: boolean;
1500
- sources?: Array<SourceOutput>;
1501
- }
1502
-
1503
- export declare interface ObservedHeaderOutput extends ObservedValueOutput {
1504
- headerName?: string;
1505
- headerValue?: string;
1506
- }
1507
-
1508
- export declare interface ObservedIntegerOutput extends ObservedValueOutput {
1509
- value?: number;
1510
- sources?: Array<SourceOutput>;
1511
- }
1512
-
1513
- export declare interface ObservedIntegersOutput extends ObservedValueOutput {
1514
- values?: number[];
1515
- sources?: Array<SourceOutput>;
1516
- }
1517
-
1518
- export declare interface ObservedLocationOutput extends ObservedValueOutput {
1519
- value?: LocationOutput;
1520
- sources?: Array<SourceOutput>;
1521
- }
1522
-
1523
- export declare interface ObservedLongOutput extends ObservedValueOutput {
1524
- value?: number;
1525
- sources?: Array<SourceOutput>;
1526
- }
1527
-
1528
- export declare interface ObservedPortStateOutput extends ObservedValueOutput {
1529
- /** Possible values: open, closed, filtered */
1530
- value?: string;
1531
- port?: number;
1532
- }
1533
-
1534
- export declare interface ObservedStringOutput extends ObservedValueOutput {
1535
- value?: string;
1536
- sources?: Array<SourceOutput>;
1537
- }
1538
-
1539
- /** Template model for observed values */
1540
- export declare interface ObservedValueOutput {
1541
- firstSeen?: string;
1542
- lastSeen?: string;
1543
- count?: number;
1544
- recent?: boolean;
1545
- }
1546
-
1547
- export declare interface PageAssetOutput extends InventoryAssetOutput {
1548
- url?: string;
1549
- httpMethod?: string;
1550
- service?: string;
1551
- ipAddresses?: Array<ObservedStringOutput>;
1552
- successful?: Array<ObservedBooleanOutput>;
1553
- httpResponseCodes?: Array<ObservedIntegerOutput>;
1554
- httpResponseMessages?: Array<ObservedStringOutput>;
1555
- responseTimes?: Array<ObservedLongOutput>;
1556
- frames?: Array<ObservedBooleanOutput>;
1557
- windows?: Array<ObservedBooleanOutput>;
1558
- nonHtmlFrames?: Array<ObservedBooleanOutput>;
1559
- undirectedContent?: Array<ObservedBooleanOutput>;
1560
- contentTypes?: Array<ObservedStringOutput>;
1561
- contentLengths?: Array<ObservedLongOutput>;
1562
- windowNames?: Array<ObservedStringOutput>;
1563
- charsets?: Array<ObservedStringOutput>;
1564
- titles?: Array<ObservedStringOutput>;
1565
- languages?: Array<ObservedStringOutput>;
1566
- responseHeaders?: Array<ObservedHeaderOutput>;
1567
- cookies?: Array<CookieOutput>;
1568
- webComponents?: Array<WebComponentOutput>;
1569
- attributes?: Array<AttributeOutput>;
1570
- assetSecurityPolicies?: Array<AssetSecurityPolicyOutput>;
1571
- responseBodyMinhashSignatures?: Array<ObservedIntegersOutput>;
1572
- fullDomMinhashSignatures?: Array<ObservedIntegersOutput>;
1573
- responseBodyHashSignatures?: Array<ObservedStringOutput>;
1574
- errors?: Array<ObservedStringOutput>;
1575
- sslCerts?: Array<SslCertAssetOutput>;
1576
- sources?: Array<SourceOutput>;
1577
- firstSeen?: string;
1578
- lastSeen?: string;
1579
- count?: number;
1580
- cause?: PageCauseOutput;
1581
- referrer?: string;
1582
- redirectUrls?: Array<ObservedStringOutput>;
1583
- /** Possible values: httpHeader, metaRefresh, javascript, final */
1584
- redirectType?: string;
1585
- finalUrls?: Array<ObservedStringOutput>;
1586
- finalResponseCodes?: Array<ObservedIntegerOutput>;
1587
- parkedPage?: Array<ObservedBooleanOutput>;
1588
- resourceUrls?: Array<ResourceUrlOutput>;
1589
- guids?: Array<GuidPairOutput>;
1590
- finalIpAddresses?: Array<ObservedStringOutput>;
1591
- asns?: Array<ObservedLongOutput>;
1592
- ipBlocks?: Array<IpBlockOutput>;
1593
- finalAsns?: Array<ObservedLongOutput>;
1594
- finalIpBlocks?: Array<IpBlockOutput>;
1595
- responseBodies?: Array<ObservedStringOutput>;
1596
- domainAsset?: DomainAssetOutput;
1597
- rootUrl?: ObservedBooleanOutput;
1598
- isRootUrl?: boolean;
1599
- location?: Array<ObservedLocationOutput>;
1600
- services?: Array<ServiceOutput>;
1601
- siteStatus?: string;
1602
- cnames?: Array<ObservedStringOutput>;
1603
- cdns?: Array<ObservedStringOutput>;
1604
- host?: string;
1605
- domain?: string;
1606
- sslServerConfig?: Array<SslServerConfigOutput>;
1607
- gdprAssetSecurityPolicies?: Array<AssetSecurityPolicyOutput>;
1608
- ipv4?: Array<ObservedBooleanOutput>;
1609
- ipv6?: Array<ObservedBooleanOutput>;
1610
- }
1611
-
1612
- export declare interface PageAssetResourceOutput extends AssetResourceOutputParent {
1613
- /** The kind of AssetResource */
1614
- kind: "page";
1615
- /** asset */
1616
- asset: PageAssetOutput;
1617
- }
1618
-
1619
- export declare interface PageCauseOutput {
1620
- cause?: string;
1621
- causeElementXPath?: string;
1622
- location?: string;
1623
- possibleMatches?: number;
1624
- loopDetected?: boolean;
1625
- version?: number;
1626
- domChangeIndex?: number;
1627
- }
1628
-
1629
- /** Paged collection of AssetResource items */
1630
- export declare type PagedAssetResourceOutput = Paged<AssetResourceOutput>;
1631
-
1632
- /** Paged collection of DataConnection items */
1633
- export declare type PagedDataConnectionOutput = Paged<DataConnectionOutput>;
1634
-
1635
- /** Paged collection of DiscoGroup items */
1636
- export declare type PagedDiscoGroupOutput = Paged<DiscoGroupOutput>;
1637
-
1638
- /** Paged collection of DiscoTemplate items */
1639
- export declare type PagedDiscoTemplateOutput = Paged<DiscoTemplateOutput>;
1640
-
1641
- /** Paged collection of SavedFilter items */
1642
- export declare type PagedSavedFilterOutput = Paged<SavedFilterOutput>;
1643
-
1644
- /** Paged collection of Task items */
1645
- export declare type PagedTaskOutput = Paged<TaskOutput>;
1646
-
1647
- /**
1648
- * Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension
1649
- * @param client - Client to use for sending the next page requests
1650
- * @param initialResponse - Initial response containing the nextLink and current page of elements
1651
- * @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results
1652
- * @returns - PagedAsyncIterableIterator to iterate the elements
1653
- */
1654
- export declare function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
1655
-
1656
- /**
1657
- * Helper type to infer the Type of the paged elements from the response type
1658
- * This type is generated based on the swagger information for x-ms-pageable
1659
- * specifically on the itemName property which indicates the property of the response
1660
- * where the page items are found. The default value is `value`.
1661
- * This type will allow us to provide strongly typed Iterator based on the response we get as second parameter
1662
- */
1663
- export declare type PaginateReturn<TResult> = TResult extends {
1664
- body: {
1665
- value?: infer TPage;
1666
- };
1667
- } ? GetArrayType<TPage> : Array<unknown>;
1668
-
1669
- /**
1670
- * Options for the paging helper
1671
- */
1672
- export declare interface PagingOptions<TResponse> {
1673
- /**
1674
- * Custom function to extract pagination details for crating the PagedAsyncIterableIterator
1675
- */
1676
- customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
1677
- }
1678
-
1679
- export declare interface PortOutput {
1680
- port?: number;
1681
- firstSeen?: string;
1682
- lastSeen?: string;
1683
- count?: number;
1684
- }
1685
-
1686
- /** A request body used to retrieve an asset report snapshot. */
1687
- export declare interface ReportAssetSnapshotRequest {
1688
- /** The metric to retrieve a snapshot for. */
1689
- metric?: string;
1690
- /** The name of the label to retrieve a snapshot for. */
1691
- labelName?: string;
1692
- /** The number of assets per page. */
1693
- size?: number;
1694
- /** The page to retrieve. */
1695
- page?: number;
1696
- }
1697
-
1698
- /** A snapshot of assets captured daily for the provided metric. Asset details only contain primary properties. Detailed asset data can be retrieved from the asset endpoints. */
1699
- export declare interface ReportAssetSnapshotResultOutput {
1700
- /** The name of the metric. */
1701
- displayName?: string;
1702
- /** The unique metric name. */
1703
- metric?: string;
1704
- /** The customer label that was filtered on, if one was provided. */
1705
- labelName?: string;
1706
- /** The last time this asset data was updated on this metric. */
1707
- updatedAt?: string;
1708
- /** A description of what the metric represents. */
1709
- description?: string;
1710
- /** The page of assets that match the provided metric. */
1711
- assets?: AssetPageResultOutput;
1712
- }
1713
-
1714
- /** A request body used to retrieve summary asset information. One and only one collection of summary identifiers must be provided: filters, metrics, or metricCategories. */
1715
- export declare interface ReportAssetSummaryRequest {
1716
- /** Categories to retrieve risk reporting data for. */
1717
- metricCategories?: string[];
1718
- /** Metrics to retrieve risk reporting data for. */
1719
- metrics?: string[];
1720
- /** Query filters to apply to the asset summary. */
1721
- filters?: string[];
1722
- /** A parameter to group the assets by (first level facet field), only used when the chosen summary identifier is filters. */
1723
- groupBy?: string;
1724
- /** A parameter to segment the assets by (second level facet field), only used when the chosen summary identifier is filters. */
1725
- segmentBy?: string;
1726
- /** Currently unused. */
1727
- labelName?: string;
1728
- }
1729
-
1730
- export declare interface ReportAssetSummaryResultOutput {
1731
- /** The collection of asset summaries. */
1732
- assetSummaries?: Array<AssetSummaryResultOutput>;
1733
- }
1734
-
1735
- /** The breakdown of billable asset counts for each asset type. */
1736
- export declare interface ReportBillableAssetBreakdownOutput {
1737
- /**
1738
- * The kind of billable asset.
1739
- *
1740
- * Possible values: domain, host, ipAddress
1741
- */
1742
- kind?: string;
1743
- /** The number of assets of this type. */
1744
- count?: number;
1745
- }
1746
-
1747
- export declare interface ReportBillableAssetSnapshotResultOutput {
1748
- /** The date these assets were billed on. */
1749
- date?: string;
1750
- /** The total number of billable assets for this date. */
1751
- total?: number;
1752
- /** The breakdown of billable asset counts for each asset type. */
1753
- assetBreakdown?: Array<ReportBillableAssetBreakdownOutput>;
1754
- }
1755
-
1756
- export declare interface ReportBillableAssetSummaryResultOutput {
1757
- assetSummaries?: Array<ReportBillableAssetSnapshotResultOutput>;
1758
- }
1759
-
1760
- export declare interface ReputationOutput {
1761
- listName?: string;
1762
- threatType?: string;
1763
- trusted?: boolean;
1764
- cidr?: string;
1765
- firstSeen?: string;
1766
- lastSeen?: string;
1767
- listUpdatedAt?: string;
1768
- recent?: boolean;
1769
- }
1770
-
1771
- export declare interface ResourceUrlOutput {
1772
- url?: string;
1773
- resources?: Array<DependentResourceOutput>;
1774
- firstSeen?: string;
1775
- lastSeen?: string;
1776
- count?: number;
1777
- recent?: boolean;
1778
- }
1779
-
1780
- export declare interface Routes {
1781
- /** Resource for '/assets' has methods for the following verbs: get, post */
1782
- (path: "/assets"): ListAssetResource;
1783
- /** Resource for '/assets/\{assetId\}' has methods for the following verbs: get */
1784
- (path: "/assets/{assetId}", assetId: string): GetAssetResource;
1785
- /** Resource for '/dataConnections' has methods for the following verbs: get */
1786
- (path: "/dataConnections"): ListDataConnection;
1787
- /** Resource for '/dataConnections:validate' has methods for the following verbs: post */
1788
- (path: "/dataConnections:validate"): ValidateDataConnection;
1789
- /** Resource for '/dataConnections/\{dataConnectionName\}' has methods for the following verbs: get, put, delete */
1790
- (path: "/dataConnections/{dataConnectionName}", dataConnectionName: string): GetDataConnection;
1791
- /** Resource for '/discoGroups' has methods for the following verbs: get */
1792
- (path: "/discoGroups"): ListDiscoGroup;
1793
- /** Resource for '/discoGroups:validate' has methods for the following verbs: post */
1794
- (path: "/discoGroups:validate"): ValidateDiscoGroup;
1795
- /** Resource for '/discoGroups/\{groupName\}' has methods for the following verbs: get, put */
1796
- (path: "/discoGroups/{groupName}", groupName: string): GetDiscoGroup;
1797
- /** Resource for '/discoGroups/\{groupName\}:run' has methods for the following verbs: post */
1798
- (path: "/discoGroups/{groupName}:run", groupName: string): RunDiscoGroup;
1799
- /** Resource for '/discoGroups/\{groupName\}/runs' has methods for the following verbs: get */
1800
- (path: "/discoGroups/{groupName}/runs", groupName: string): ListRuns;
1801
- /** Resource for '/discoTemplates' has methods for the following verbs: get */
1802
- (path: "/discoTemplates"): ListDiscoTemplate;
1803
- /** Resource for '/discoTemplates/\{templateId\}' has methods for the following verbs: get */
1804
- (path: "/discoTemplates/{templateId}", templateId: string): GetDiscoTemplate;
1805
- /** Resource for '/reports/assets:getBillable' has methods for the following verbs: post */
1806
- (path: "/reports/assets:getBillable"): GetBillable;
1807
- /** Resource for '/reports/assets:getSnapshot' has methods for the following verbs: post */
1808
- (path: "/reports/assets:getSnapshot"): GetSnapshot;
1809
- /** Resource for '/reports/assets:getSummary' has methods for the following verbs: post */
1810
- (path: "/reports/assets:getSummary"): GetSummary;
1811
- /** Resource for '/savedFilters' has methods for the following verbs: get */
1812
- (path: "/savedFilters"): ListSavedFilter;
1813
- /** Resource for '/savedFilters/\{filterName\}' has methods for the following verbs: get, put, delete */
1814
- (path: "/savedFilters/{filterName}", filterName: string): GetSavedFilter;
1815
- /** Resource for '/tasks' has methods for the following verbs: get */
1816
- (path: "/tasks"): ListTask;
1817
- /** Resource for '/tasks/\{taskId\}' has methods for the following verbs: get */
1818
- (path: "/tasks/{taskId}", taskId: string): GetTask;
1819
- /** Resource for '/tasks/\{taskId\}:cancel' has methods for the following verbs: post */
1820
- (path: "/tasks/{taskId}:cancel", taskId: string): CancelTask;
1821
- }
1822
-
1823
- export declare interface RunDiscoGroup {
1824
- /** Run a discovery group with a given groupName. */
1825
- post(options?: RunDiscoGroupParameters): StreamableMethod<RunDiscoGroup204Response | RunDiscoGroupDefaultResponse>;
1826
- }
1827
-
1828
- /** There is no content to send for this request, but the headers may be useful. */
1829
- export declare interface RunDiscoGroup204Response extends HttpResponse {
1830
- status: "204";
1831
- }
1832
-
1833
- export declare interface RunDiscoGroupDefaultHeaders {
1834
- /** String error code indicating what went wrong. */
1835
- "x-ms-error-code"?: string;
1836
- }
1837
-
1838
- export declare interface RunDiscoGroupDefaultResponse extends HttpResponse {
1839
- status: string;
1840
- body: ErrorResponse;
1841
- headers: RawHttpHeaders & RunDiscoGroupDefaultHeaders;
1842
- }
1843
-
1844
- export declare type RunDiscoGroupParameters = RequestParameters;
1845
-
1846
- /** A request body used to create a saved filter. */
1847
- export declare interface SavedFilterData {
1848
- /** An expression on the resource type that selects the resources to be returned. */
1849
- filter: string;
1850
- /** A human readable description of the saved filter. */
1851
- description: string;
1852
- }
1853
-
1854
- export declare interface SavedFilterOutput {
1855
- /** The system generated unique id for the resource. */
1856
- id?: string;
1857
- /** The caller provided unique name for the resource. */
1858
- readonly name: string;
1859
- /** The name that can be used for display purposes. */
1860
- displayName?: string;
1861
- filter?: string;
1862
- description?: string;
1863
- }
1864
-
1865
- export declare interface ScanMetadataOutput {
1866
- port?: number;
1867
- bannerMetadata?: string;
1868
- startScan?: string;
1869
- endScan?: string;
1870
- }
1871
-
1872
- export declare interface ServiceOutput {
1873
- scheme?: string;
1874
- port?: number;
1875
- webComponents?: Array<WebComponentOutput>;
1876
- sslCerts?: Array<SslCertAssetOutput>;
1877
- exceptions?: Array<ObservedStringOutput>;
1878
- sources?: Array<SourceOutput>;
1879
- firstSeen?: string;
1880
- lastSeen?: string;
1881
- count?: number;
1882
- recent?: boolean;
1883
- portStates?: Array<ObservedPortStateOutput>;
1884
- }
1885
-
1886
- export declare interface SoaRecordOutput {
1887
- nameServer?: string;
1888
- email?: string;
1889
- firstSeen?: string;
1890
- lastSeen?: string;
1891
- count?: number;
1892
- serialNumber?: number;
1893
- recent?: boolean;
1894
- }
1895
-
1896
- export declare interface SourceOutput {
1897
- source?: string;
1898
- firstSeen?: string;
1899
- lastSeen?: string;
1900
- count?: number;
1901
- reason?: string;
1902
- }
1903
-
1904
- export declare interface SslCertAssetOutput extends InventoryAssetOutput {
1905
- sha1?: string;
1906
- subjectCommonNames?: string[];
1907
- organizations?: string[];
1908
- organizationalUnits?: string[];
1909
- issuerCommonNames?: string[];
1910
- sigAlgName?: string;
1911
- invalidAfter?: string;
1912
- serialNumber?: string;
1913
- subjectAlternativeNames?: string[];
1914
- issuerAlternativeNames?: string[];
1915
- sources?: Array<SourceOutput>;
1916
- firstSeen?: string;
1917
- lastSeen?: string;
1918
- count?: number;
1919
- invalidBefore?: string;
1920
- keySize?: number;
1921
- keyAlgorithm?: string;
1922
- subjectLocality?: string[];
1923
- subjectState?: string[];
1924
- subjectCountry?: string[];
1925
- issuerLocality?: string[];
1926
- issuerState?: string[];
1927
- issuerCountry?: string[];
1928
- subjectOrganizations?: string[];
1929
- subjectOrganizationalUnits?: string[];
1930
- issuerOrganizations?: string[];
1931
- issuerOrganizationalUnits?: string[];
1932
- version?: number;
1933
- certificateAuthority?: boolean;
1934
- selfSigned?: boolean;
1935
- sigAlgOid?: string;
1936
- recent?: boolean;
1937
- /** Possible values: domainValidation, organizationValidation, extendedValidation */
1938
- validationType?: string;
1939
- }
1940
-
1941
- export declare interface SslCertAssetResourceOutput extends AssetResourceOutputParent {
1942
- /** The kind of AssetResource */
1943
- kind: "sslCert";
1944
- /** asset */
1945
- asset: SslCertAssetOutput;
1946
- }
1947
-
1948
- export declare interface SslServerConfigOutput {
1949
- tlsVersions?: string[];
1950
- cipherSuites?: string[];
1951
- firstSeen?: string;
1952
- lastSeen?: string;
1953
- count?: number;
1954
- sources?: Array<SourceOutput>;
1955
- }
1956
-
1957
- export declare interface SubResourceIntegrityCheckOutput {
1958
- violation?: boolean;
1959
- firstSeen?: string;
1960
- lastSeen?: string;
1961
- count?: number;
1962
- causePageUrl?: string;
1963
- crawlGuid?: string;
1964
- pageGuid?: string;
1965
- resourceGuid?: string;
1966
- expectedHash?: string;
1967
- }
1968
-
1969
- export declare interface TaskOutput {
1970
- /** The unique identifier of the task. */
1971
- readonly id: string;
1972
- /** The time the task started. */
1973
- startedAt?: string;
1974
- /** The time the task completed. */
1975
- completedAt?: string;
1976
- /** The last time the status of the task was updated. */
1977
- lastPolledAt?: string;
1978
- /**
1979
- * The state the task is in.
1980
- *
1981
- * Possible values: pending, running, paused, complete, incomplete, failed, warning
1982
- */
1983
- state?: string;
1984
- /**
1985
- * The phase the task is in.
1986
- *
1987
- * Possible values: running, polling, complete
1988
- */
1989
- phase?: string;
1990
- /** The reason the task was moved into its current state, if the task wasn't completed. */
1991
- reason?: string;
1992
- /** Attributes unique to the task. This differs by task type. */
1993
- metadata?: Record<string, any>;
1994
- }
1995
-
1996
- /** The request has succeeded. */
1997
- export declare interface UpdateAssets200Response extends HttpResponse {
1998
- status: "200";
1999
- body: TaskOutput;
2000
- }
2001
-
2002
- export declare interface UpdateAssetsBodyParam {
2003
- body?: AssetUpdateData;
2004
- }
2005
-
2006
- export declare interface UpdateAssetsDefaultHeaders {
2007
- /** String error code indicating what went wrong. */
2008
- "x-ms-error-code"?: string;
2009
- }
2010
-
2011
- export declare interface UpdateAssetsDefaultResponse extends HttpResponse {
2012
- status: string;
2013
- body: ErrorResponse;
2014
- headers: RawHttpHeaders & UpdateAssetsDefaultHeaders;
2015
- }
2016
-
2017
- export declare type UpdateAssetsParameters = UpdateAssetsQueryParam & UpdateAssetsBodyParam & RequestParameters;
2018
-
2019
- export declare interface UpdateAssetsQueryParam {
2020
- queryParameters: UpdateAssetsQueryParamProperties;
2021
- }
2022
-
2023
- export declare interface UpdateAssetsQueryParamProperties {
2024
- /** An expression on the resource type that selects the resources to be returned. */
2025
- filter: string;
2026
- }
2027
-
2028
- export declare interface ValidateDataConnection {
2029
- /** Validate a data connection with a given dataConnectionName. */
2030
- post(options?: ValidateDataConnectionParameters): StreamableMethod<ValidateDataConnection200Response | ValidateDataConnectionDefaultResponse>;
2031
- }
2032
-
2033
- /** The request has succeeded. */
2034
- export declare interface ValidateDataConnection200Response extends HttpResponse {
2035
- status: "200";
2036
- body: ValidateResultOutput;
2037
- }
2038
-
2039
- export declare interface ValidateDataConnectionBodyParam {
2040
- body?: DataConnectionData;
2041
- }
2042
-
2043
- export declare interface ValidateDataConnectionDefaultHeaders {
2044
- /** String error code indicating what went wrong. */
2045
- "x-ms-error-code"?: string;
2046
- }
2047
-
2048
- export declare interface ValidateDataConnectionDefaultResponse extends HttpResponse {
2049
- status: string;
2050
- body: ErrorResponse;
2051
- headers: RawHttpHeaders & ValidateDataConnectionDefaultHeaders;
2052
- }
2053
-
2054
- export declare type ValidateDataConnectionParameters = ValidateDataConnectionBodyParam & RequestParameters;
2055
-
2056
- export declare interface ValidateDiscoGroup {
2057
- /** Validate a discovery group with a given groupName. */
2058
- post(options?: ValidateDiscoGroupParameters): StreamableMethod<ValidateDiscoGroup200Response | ValidateDiscoGroupDefaultResponse>;
2059
- }
2060
-
2061
- /** The request has succeeded. */
2062
- export declare interface ValidateDiscoGroup200Response extends HttpResponse {
2063
- status: "200";
2064
- body: ValidateResultOutput;
2065
- }
2066
-
2067
- export declare interface ValidateDiscoGroupBodyParam {
2068
- body?: DiscoGroupData;
2069
- }
2070
-
2071
- export declare interface ValidateDiscoGroupDefaultHeaders {
2072
- /** String error code indicating what went wrong. */
2073
- "x-ms-error-code"?: string;
2074
- }
2075
-
2076
- export declare interface ValidateDiscoGroupDefaultResponse extends HttpResponse {
2077
- status: string;
2078
- body: ErrorResponse;
2079
- headers: RawHttpHeaders & ValidateDiscoGroupDefaultHeaders;
2080
- }
2081
-
2082
- export declare type ValidateDiscoGroupParameters = ValidateDiscoGroupBodyParam & RequestParameters;
2083
-
2084
- export declare interface ValidateResultOutput {
2085
- /** This is the top-level error object whose code matches the x-ms-error-code response header. */
2086
- error?: ErrorDetailOutput;
2087
- }
2088
-
2089
- export declare interface WebComponentOutput {
2090
- name?: string;
2091
- type?: string;
2092
- version?: string;
2093
- ruleId?: string[];
2094
- firstSeen?: string;
2095
- lastSeen?: string;
2096
- count?: number;
2097
- cve?: Array<CveOutput>;
2098
- endOfLife?: number;
2099
- recent?: boolean;
2100
- ports?: Array<PortOutput>;
2101
- sources?: Array<SourceOutput>;
2102
- service?: string;
2103
- }
2104
-
2105
- export { }