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

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/LICENSE +21 -0
  2. package/README.md +5 -9
  3. package/dist/browser/clientDefinitions.d.ts +141 -0
  4. package/dist/browser/clientDefinitions.d.ts.map +1 -0
  5. package/dist/browser/clientDefinitions.js +4 -0
  6. package/dist/browser/clientDefinitions.js.map +1 -0
  7. package/dist/browser/easmClient.d.ts +16 -0
  8. package/dist/browser/easmClient.d.ts.map +1 -0
  9. package/dist/browser/easmClient.js +43 -0
  10. package/dist/browser/easmClient.js.map +1 -0
  11. package/dist/browser/index.d.ts +11 -0
  12. package/dist/browser/index.d.ts.map +1 -0
  13. package/dist/browser/index.js +13 -0
  14. package/dist/browser/index.js.map +1 -0
  15. package/dist/browser/isUnexpected.d.ts +28 -0
  16. package/dist/browser/isUnexpected.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/isUnexpected.js +1 -1
  18. package/dist/browser/isUnexpected.js.map +1 -0
  19. package/dist/browser/logger.d.ts +2 -0
  20. package/dist/browser/logger.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/logger.js +1 -1
  22. package/{dist-esm/src → dist/browser}/logger.js.map +1 -1
  23. package/dist/browser/models.d.ts +144 -0
  24. package/dist/browser/models.d.ts.map +1 -0
  25. package/dist/browser/models.js +4 -0
  26. package/dist/browser/models.js.map +1 -0
  27. package/dist/browser/outputModels.d.ts +1046 -0
  28. package/dist/browser/outputModels.d.ts.map +1 -0
  29. package/dist/browser/outputModels.js +4 -0
  30. package/dist/browser/outputModels.js.map +1 -0
  31. package/dist/browser/package.json +3 -0
  32. package/dist/browser/paginateHelper.d.ts +68 -0
  33. package/dist/browser/paginateHelper.d.ts.map +1 -0
  34. package/dist/browser/paginateHelper.js +167 -0
  35. package/dist/browser/paginateHelper.js.map +1 -0
  36. package/dist/browser/parameters.d.ts +141 -0
  37. package/dist/browser/parameters.d.ts.map +1 -0
  38. package/dist/browser/parameters.js +4 -0
  39. package/dist/browser/parameters.js.map +1 -0
  40. package/dist/browser/responses.d.ts +365 -0
  41. package/dist/browser/responses.d.ts.map +1 -0
  42. package/dist/browser/responses.js +4 -0
  43. package/dist/browser/responses.js.map +1 -0
  44. package/dist/commonjs/clientDefinitions.d.ts +141 -0
  45. package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
  46. package/dist/commonjs/clientDefinitions.js +5 -0
  47. package/dist/commonjs/clientDefinitions.js.map +1 -0
  48. package/dist/commonjs/easmClient.d.ts +16 -0
  49. package/dist/commonjs/easmClient.d.ts.map +1 -0
  50. package/dist/commonjs/easmClient.js +46 -0
  51. package/dist/commonjs/easmClient.js.map +1 -0
  52. package/dist/commonjs/index.d.ts +11 -0
  53. package/dist/commonjs/index.d.ts.map +1 -0
  54. package/dist/commonjs/index.js +16 -0
  55. package/dist/commonjs/index.js.map +1 -0
  56. package/dist/commonjs/isUnexpected.d.ts +28 -0
  57. package/dist/commonjs/isUnexpected.d.ts.map +1 -0
  58. package/dist/commonjs/isUnexpected.js +98 -0
  59. package/dist/commonjs/isUnexpected.js.map +1 -0
  60. package/dist/commonjs/logger.d.ts +2 -0
  61. package/dist/commonjs/logger.d.ts.map +1 -0
  62. package/dist/commonjs/logger.js +8 -0
  63. package/dist/commonjs/logger.js.map +1 -0
  64. package/dist/commonjs/models.d.ts +144 -0
  65. package/dist/commonjs/models.d.ts.map +1 -0
  66. package/dist/commonjs/models.js +5 -0
  67. package/dist/commonjs/models.js.map +1 -0
  68. package/dist/commonjs/outputModels.d.ts +1046 -0
  69. package/dist/commonjs/outputModels.d.ts.map +1 -0
  70. package/dist/commonjs/outputModels.js +5 -0
  71. package/dist/commonjs/outputModels.js.map +1 -0
  72. package/dist/commonjs/package.json +3 -0
  73. package/dist/commonjs/paginateHelper.d.ts +68 -0
  74. package/dist/commonjs/paginateHelper.d.ts.map +1 -0
  75. package/dist/commonjs/paginateHelper.js +170 -0
  76. package/dist/commonjs/paginateHelper.js.map +1 -0
  77. package/dist/commonjs/parameters.d.ts +141 -0
  78. package/dist/commonjs/parameters.d.ts.map +1 -0
  79. package/dist/commonjs/parameters.js +5 -0
  80. package/dist/commonjs/parameters.js.map +1 -0
  81. package/dist/commonjs/responses.d.ts +365 -0
  82. package/dist/commonjs/responses.d.ts.map +1 -0
  83. package/dist/commonjs/responses.js +5 -0
  84. package/dist/commonjs/responses.js.map +1 -0
  85. package/dist/commonjs/tsdoc-metadata.json +11 -0
  86. package/dist/esm/clientDefinitions.d.ts +141 -0
  87. package/dist/esm/clientDefinitions.d.ts.map +1 -0
  88. package/dist/esm/clientDefinitions.js +4 -0
  89. package/dist/esm/clientDefinitions.js.map +1 -0
  90. package/dist/esm/easmClient.d.ts +16 -0
  91. package/dist/esm/easmClient.d.ts.map +1 -0
  92. package/dist/esm/easmClient.js +43 -0
  93. package/dist/esm/easmClient.js.map +1 -0
  94. package/dist/esm/index.d.ts +11 -0
  95. package/dist/esm/index.d.ts.map +1 -0
  96. package/dist/esm/index.js +13 -0
  97. package/dist/esm/index.js.map +1 -0
  98. package/dist/esm/isUnexpected.d.ts +28 -0
  99. package/dist/esm/isUnexpected.d.ts.map +1 -0
  100. package/dist/esm/isUnexpected.js +95 -0
  101. package/dist/esm/isUnexpected.js.map +1 -0
  102. package/dist/esm/logger.d.ts +2 -0
  103. package/dist/esm/logger.d.ts.map +1 -0
  104. package/dist/esm/logger.js +5 -0
  105. package/dist/esm/logger.js.map +1 -0
  106. package/dist/esm/models.d.ts +144 -0
  107. package/dist/esm/models.d.ts.map +1 -0
  108. package/dist/esm/models.js +4 -0
  109. package/dist/esm/models.js.map +1 -0
  110. package/dist/esm/outputModels.d.ts +1046 -0
  111. package/dist/esm/outputModels.d.ts.map +1 -0
  112. package/dist/esm/outputModels.js +4 -0
  113. package/dist/esm/outputModels.js.map +1 -0
  114. package/dist/esm/package.json +3 -0
  115. package/dist/esm/paginateHelper.d.ts +68 -0
  116. package/dist/esm/paginateHelper.d.ts.map +1 -0
  117. package/dist/esm/paginateHelper.js +167 -0
  118. package/dist/esm/paginateHelper.js.map +1 -0
  119. package/dist/esm/parameters.d.ts +141 -0
  120. package/dist/esm/parameters.d.ts.map +1 -0
  121. package/dist/esm/parameters.js +4 -0
  122. package/dist/esm/parameters.js.map +1 -0
  123. package/dist/esm/responses.d.ts +365 -0
  124. package/dist/esm/responses.d.ts.map +1 -0
  125. package/dist/esm/responses.js +4 -0
  126. package/dist/esm/responses.js.map +1 -0
  127. package/dist/react-native/clientDefinitions.d.ts +141 -0
  128. package/dist/react-native/clientDefinitions.d.ts.map +1 -0
  129. package/dist/react-native/clientDefinitions.js +4 -0
  130. package/dist/react-native/clientDefinitions.js.map +1 -0
  131. package/dist/react-native/easmClient.d.ts +16 -0
  132. package/dist/react-native/easmClient.d.ts.map +1 -0
  133. package/dist/react-native/easmClient.js +43 -0
  134. package/dist/react-native/easmClient.js.map +1 -0
  135. package/dist/react-native/index.d.ts +11 -0
  136. package/dist/react-native/index.d.ts.map +1 -0
  137. package/dist/react-native/index.js +13 -0
  138. package/dist/react-native/index.js.map +1 -0
  139. package/dist/react-native/isUnexpected.d.ts +28 -0
  140. package/dist/react-native/isUnexpected.d.ts.map +1 -0
  141. package/dist/react-native/isUnexpected.js +95 -0
  142. package/dist/react-native/isUnexpected.js.map +1 -0
  143. package/dist/react-native/logger.d.ts +2 -0
  144. package/dist/react-native/logger.d.ts.map +1 -0
  145. package/dist/react-native/logger.js +5 -0
  146. package/dist/react-native/logger.js.map +1 -0
  147. package/dist/react-native/models.d.ts +144 -0
  148. package/dist/react-native/models.d.ts.map +1 -0
  149. package/dist/react-native/models.js +4 -0
  150. package/dist/react-native/models.js.map +1 -0
  151. package/dist/react-native/outputModels.d.ts +1046 -0
  152. package/dist/react-native/outputModels.d.ts.map +1 -0
  153. package/dist/react-native/outputModels.js +4 -0
  154. package/dist/react-native/outputModels.js.map +1 -0
  155. package/dist/react-native/package.json +3 -0
  156. package/dist/react-native/paginateHelper.d.ts +68 -0
  157. package/dist/react-native/paginateHelper.d.ts.map +1 -0
  158. package/dist/react-native/paginateHelper.js +167 -0
  159. package/dist/react-native/paginateHelper.js.map +1 -0
  160. package/dist/react-native/parameters.d.ts +141 -0
  161. package/dist/react-native/parameters.d.ts.map +1 -0
  162. package/dist/react-native/parameters.js +4 -0
  163. package/dist/react-native/parameters.js.map +1 -0
  164. package/dist/react-native/responses.d.ts +365 -0
  165. package/dist/react-native/responses.d.ts.map +1 -0
  166. package/dist/react-native/responses.js +4 -0
  167. package/dist/react-native/responses.js.map +1 -0
  168. package/package.json +106 -97
  169. package/dist/index.js +0 -213
  170. package/dist/index.js.map +0 -1
  171. package/dist-esm/src/clientDefinitions.js +0 -4
  172. package/dist-esm/src/clientDefinitions.js.map +0 -1
  173. package/dist-esm/src/easm.js +0 -33
  174. package/dist-esm/src/easm.js.map +0 -1
  175. package/dist-esm/src/index.js +0 -13
  176. package/dist-esm/src/index.js.map +0 -1
  177. package/dist-esm/src/isUnexpected.js.map +0 -1
  178. package/dist-esm/src/models.js +0 -4
  179. package/dist-esm/src/models.js.map +0 -1
  180. package/dist-esm/src/outputModels.js +0 -4
  181. package/dist-esm/src/outputModels.js.map +0 -1
  182. package/dist-esm/src/paginateHelper.js +0 -70
  183. package/dist-esm/src/paginateHelper.js.map +0 -1
  184. package/dist-esm/src/parameters.js +0 -4
  185. package/dist-esm/src/parameters.js.map +0 -1
  186. package/dist-esm/src/responses.js +0 -4
  187. package/dist-esm/src/responses.js.map +0 -1
  188. package/review/defender-easm.api.md +0 -2619
  189. package/types/defender-easm.d.ts +0 -2105
@@ -0,0 +1,1046 @@
1
+ /** Paged collection of AssetResource items */
2
+ export interface PagedAssetResourceOutput {
3
+ /** The AssetResource items on this page */
4
+ value: Array<AssetResourceOutput>;
5
+ /** The link to the next page of items */
6
+ nextLink?: string;
7
+ /** The total number of items available in the full result set. */
8
+ totalElements?: number;
9
+ /** The cursor mark to be used on the next request. Not set if using paging. */
10
+ mark?: string;
11
+ }
12
+ /** The items in the current page of results. */
13
+ export interface AssetResourceOutputParent {
14
+ /** The system generated unique id for the resource. */
15
+ readonly id: string;
16
+ /** The caller provided unique name for the resource. */
17
+ name?: string;
18
+ /** The name that can be used for display purposes. */
19
+ displayName?: string;
20
+ /** Global UUID for the asset. */
21
+ uuid?: string;
22
+ /** The date this asset was first added to this workspace. */
23
+ createdDate?: string;
24
+ /** The date this asset was last updated for this workspace. */
25
+ updatedDate?: string;
26
+ /** Possible values: "archived" */
27
+ state?: AssetStateOutput;
28
+ /** An optional customer provided identifier for this asset. */
29
+ externalId?: string;
30
+ /** Customer labels assigned to this asset. */
31
+ labels?: string[];
32
+ /** An indicator of whether this asset represents a wildcard rollup of assets on this domain. */
33
+ wildcard?: boolean;
34
+ /** The name of the DiscoGroup that brought added this asset to the workspace. */
35
+ discoGroupName?: string;
36
+ /** The history of how this asset was pulled into the workspace through the discovery process. */
37
+ auditTrail?: Array<AuditTrailItemOutput>;
38
+ reason?: string;
39
+ kind: string;
40
+ }
41
+ /** The history of how this asset was pulled into the workspace through the discovery process. */
42
+ export interface AuditTrailItemOutput {
43
+ /** The system generated unique id for the resource. */
44
+ id?: string;
45
+ /** The caller provided unique name for the resource. */
46
+ name?: string;
47
+ /** The name that can be used for display purposes. */
48
+ displayName?: string;
49
+ /**
50
+ * The kind of asset.
51
+ *
52
+ * Possible values: "as", "contact", "domain", "host", "ipAddress", "ipBlock", "page", "sslCert"
53
+ */
54
+ kind?: AuditTrailItemKindOutput;
55
+ /** An explanation of why this audit trail node was discovered from the previous node. */
56
+ reason?: string;
57
+ }
58
+ export interface AsAssetResourceOutput extends AssetResourceOutputParent {
59
+ /** The kind of AssetResource */
60
+ kind: "as";
61
+ /** asset */
62
+ asset: AsAssetOutput;
63
+ }
64
+ export interface AsAssetOutput extends InventoryAssetOutput {
65
+ asn?: number;
66
+ asNames?: Array<ObservedStringOutput>;
67
+ orgNames?: Array<ObservedStringOutput>;
68
+ orgIds?: Array<ObservedStringOutput>;
69
+ countries?: Array<ObservedStringOutput>;
70
+ registries?: Array<ObservedStringOutput>;
71
+ sources?: Array<SourceOutput>;
72
+ firstSeen?: string;
73
+ lastSeen?: string;
74
+ count?: number;
75
+ registrarCreatedAt?: Array<ObservedLongOutput>;
76
+ registrarUpdatedAt?: Array<ObservedLongOutput>;
77
+ registrantContacts?: Array<ObservedStringOutput>;
78
+ adminContacts?: Array<ObservedStringOutput>;
79
+ technicalContacts?: Array<ObservedStringOutput>;
80
+ registrarNames?: Array<ObservedStringOutput>;
81
+ registrantNames?: Array<ObservedStringOutput>;
82
+ adminNames?: Array<ObservedStringOutput>;
83
+ technicalNames?: Array<ObservedStringOutput>;
84
+ adminOrgs?: Array<ObservedStringOutput>;
85
+ technicalOrgs?: Array<ObservedStringOutput>;
86
+ registrantPhones?: Array<ObservedStringOutput>;
87
+ adminPhones?: Array<ObservedStringOutput>;
88
+ technicalPhones?: Array<ObservedStringOutput>;
89
+ detailedFromWhoisAt?: string;
90
+ }
91
+ export interface ObservedStringOutput extends ObservedValueOutput {
92
+ value?: string;
93
+ sources?: Array<SourceOutput>;
94
+ }
95
+ export interface SourceOutput {
96
+ source?: string;
97
+ firstSeen?: string;
98
+ lastSeen?: string;
99
+ count?: number;
100
+ reason?: string;
101
+ }
102
+ /** Template model for observed values */
103
+ export interface ObservedValueOutput {
104
+ firstSeen?: string;
105
+ lastSeen?: string;
106
+ count?: number;
107
+ recent?: boolean;
108
+ }
109
+ export interface ObservedLongOutput extends ObservedValueOutput {
110
+ value?: number;
111
+ sources?: Array<SourceOutput>;
112
+ }
113
+ export interface ObservedIntegerOutput extends ObservedValueOutput {
114
+ value?: number;
115
+ sources?: Array<SourceOutput>;
116
+ }
117
+ export interface ObservedBooleanOutput extends ObservedValueOutput {
118
+ value?: boolean;
119
+ sources?: Array<SourceOutput>;
120
+ }
121
+ export interface ObservedHeaderOutput extends ObservedValueOutput {
122
+ headerName?: string;
123
+ headerValue?: string;
124
+ }
125
+ export interface ObservedPortStateOutput extends ObservedValueOutput {
126
+ /** Possible values: "open", "closed", "filtered" */
127
+ value?: ObservedPortStateValueOutput;
128
+ port?: number;
129
+ }
130
+ export interface ObservedLocationOutput extends ObservedValueOutput {
131
+ value?: LocationOutput;
132
+ sources?: Array<SourceOutput>;
133
+ }
134
+ export interface LocationOutput {
135
+ countryCode?: string;
136
+ countryName?: string;
137
+ region?: string;
138
+ regionName?: string;
139
+ city?: string;
140
+ areaCode?: number;
141
+ postalCode?: string;
142
+ latitude?: number;
143
+ longitude?: number;
144
+ dmaCode?: number;
145
+ metroCodeId?: number;
146
+ }
147
+ export interface ObservedIntegersOutput extends ObservedValueOutput {
148
+ values?: number[];
149
+ sources?: Array<SourceOutput>;
150
+ }
151
+ /** A inventory base model created for swagger documentation purpose */
152
+ export interface InventoryAssetOutput {
153
+ }
154
+ export interface ContactAssetOutput extends InventoryAssetOutput {
155
+ email?: string;
156
+ names?: Array<ObservedStringOutput>;
157
+ organizations?: Array<ObservedStringOutput>;
158
+ sources?: Array<SourceOutput>;
159
+ firstSeen?: string;
160
+ lastSeen?: string;
161
+ count?: number;
162
+ }
163
+ export interface SslCertAssetOutput extends InventoryAssetOutput {
164
+ sha1?: string;
165
+ subjectCommonNames?: string[];
166
+ organizations?: string[];
167
+ organizationalUnits?: string[];
168
+ issuerCommonNames?: string[];
169
+ sigAlgName?: string;
170
+ invalidAfter?: string;
171
+ serialNumber?: string;
172
+ subjectAlternativeNames?: string[];
173
+ issuerAlternativeNames?: string[];
174
+ sources?: Array<SourceOutput>;
175
+ firstSeen?: string;
176
+ lastSeen?: string;
177
+ count?: number;
178
+ invalidBefore?: string;
179
+ keySize?: number;
180
+ keyAlgorithm?: string;
181
+ subjectLocality?: string[];
182
+ subjectState?: string[];
183
+ subjectCountry?: string[];
184
+ issuerLocality?: string[];
185
+ issuerState?: string[];
186
+ issuerCountry?: string[];
187
+ subjectOrganizations?: string[];
188
+ subjectOrganizationalUnits?: string[];
189
+ issuerOrganizations?: string[];
190
+ issuerOrganizationalUnits?: string[];
191
+ version?: number;
192
+ certificateAuthority?: boolean;
193
+ selfSigned?: boolean;
194
+ sigAlgOid?: string;
195
+ recent?: boolean;
196
+ /** Possible values: "domainValidation", "organizationValidation", "extendedValidation" */
197
+ validationType?: SslCertAssetValidationTypeOutput;
198
+ }
199
+ export interface HostAssetOutput extends InventoryAssetOutput {
200
+ host?: string;
201
+ domain?: string;
202
+ ipAddresses?: Array<ObservedStringOutput>;
203
+ webComponents?: Array<WebComponentOutput>;
204
+ headers?: Array<ObservedHeaderOutput>;
205
+ attributes?: Array<AttributeOutput>;
206
+ cookies?: Array<CookieOutput>;
207
+ sslCerts?: Array<SslCertAssetOutput>;
208
+ parentHosts?: Array<ObservedStringOutput>;
209
+ childHosts?: Array<ObservedStringOutput>;
210
+ hostCore?: HostCoreOutput;
211
+ services?: Array<ServiceOutput>;
212
+ cnames?: Array<ObservedStringOutput>;
213
+ sources?: Array<SourceOutput>;
214
+ firstSeen?: string;
215
+ lastSeen?: string;
216
+ count?: number;
217
+ resourceUrls?: Array<ResourceUrlOutput>;
218
+ scanMetadata?: Array<ScanMetadataOutput>;
219
+ asns?: Array<ObservedLongOutput>;
220
+ ipBlocks?: Array<IpBlockOutput>;
221
+ responseBodies?: Array<ObservedStringOutput>;
222
+ domainAsset?: DomainAssetOutput;
223
+ nsRecord?: Array<ObservedBooleanOutput>;
224
+ mxRecord?: Array<ObservedBooleanOutput>;
225
+ webserver?: Array<ObservedBooleanOutput>;
226
+ location?: Array<ObservedLocationOutput>;
227
+ nxdomain?: Array<ObservedBooleanOutput>;
228
+ sslServerConfig?: Array<SslServerConfigOutput>;
229
+ isWildcard?: Array<ObservedBooleanOutput>;
230
+ banners?: Array<BannerOutput>;
231
+ ipv4?: Array<ObservedBooleanOutput>;
232
+ ipv6?: Array<ObservedBooleanOutput>;
233
+ }
234
+ export interface WebComponentOutput {
235
+ name?: string;
236
+ type?: string;
237
+ version?: string;
238
+ ruleId?: string[];
239
+ firstSeen?: string;
240
+ lastSeen?: string;
241
+ count?: number;
242
+ cve?: Array<CveOutput>;
243
+ endOfLife?: number;
244
+ recent?: boolean;
245
+ ports?: Array<PortOutput>;
246
+ sources?: Array<SourceOutput>;
247
+ service?: string;
248
+ }
249
+ export interface CveOutput {
250
+ name?: string;
251
+ cweId?: string;
252
+ cvssScore?: number;
253
+ cvss3Summary?: Cvss3SummaryOutput;
254
+ }
255
+ export interface Cvss3SummaryOutput {
256
+ version?: string;
257
+ vectorString?: string;
258
+ attackVector?: string;
259
+ attackComplexity?: string;
260
+ privilegesRequired?: string;
261
+ userInteraction?: string;
262
+ scope?: string;
263
+ confidentialityImpact?: string;
264
+ integrityImpact?: string;
265
+ availabilityImpact?: string;
266
+ baseScore?: number;
267
+ baseSeverity?: string;
268
+ exploitCodeMaturity?: string;
269
+ remediationLevel?: string;
270
+ reportConfidence?: string;
271
+ exploitabilityScore?: number;
272
+ impactScore?: number;
273
+ }
274
+ export interface PortOutput {
275
+ port?: number;
276
+ firstSeen?: string;
277
+ lastSeen?: string;
278
+ count?: number;
279
+ }
280
+ export interface AttributeOutput {
281
+ attributeType?: string;
282
+ attributeValue?: string;
283
+ sources?: Array<SourceOutput>;
284
+ firstSeen?: string;
285
+ lastSeen?: string;
286
+ count?: number;
287
+ recent?: boolean;
288
+ }
289
+ export interface CookieOutput {
290
+ cookieName?: string;
291
+ cookieDomain?: string;
292
+ firstSeen?: string;
293
+ lastSeen?: string;
294
+ count?: number;
295
+ recent?: boolean;
296
+ cookieExpiryDate?: string;
297
+ }
298
+ export interface HostCoreOutput {
299
+ host?: string;
300
+ domain?: string;
301
+ firstSeen?: string;
302
+ lastSeen?: string;
303
+ count?: number;
304
+ blacklistCauseFirstSeen?: string;
305
+ blacklistCauseLastSeen?: string;
306
+ blacklistCauseCount?: number;
307
+ blacklistResourceFirstSeen?: string;
308
+ blacklistResourceLastSeen?: string;
309
+ blacklistResourceCount?: number;
310
+ blacklistSequenceFirstSeen?: string;
311
+ blacklistSequenceLastSeen?: string;
312
+ blacklistSequenceCount?: number;
313
+ phishCauseCount?: number;
314
+ malwareCauseCount?: number;
315
+ spamCauseCount?: number;
316
+ scamCauseCount?: number;
317
+ phishResourceCount?: number;
318
+ malwareResourceCount?: number;
319
+ spamResourceCount?: number;
320
+ scamResourceCount?: number;
321
+ phishSequenceCount?: number;
322
+ malwareSequenceCount?: number;
323
+ spamSequenceCount?: number;
324
+ scamSequenceCount?: number;
325
+ alexaRank?: number;
326
+ hostReputationScore?: number;
327
+ hostPhishReputationScore?: number;
328
+ hostMalwareReputationScore?: number;
329
+ hostSpamReputationScore?: number;
330
+ hostScamReputationScore?: number;
331
+ domainReputationScore?: number;
332
+ domainPhishReputationScore?: number;
333
+ domainMalwareReputationScore?: number;
334
+ domainSpamReputationScore?: number;
335
+ domainScamReputationScore?: number;
336
+ uuid?: string;
337
+ }
338
+ export interface ServiceOutput {
339
+ scheme?: string;
340
+ port?: number;
341
+ webComponents?: Array<WebComponentOutput>;
342
+ sslCerts?: Array<SslCertAssetOutput>;
343
+ exceptions?: Array<ObservedStringOutput>;
344
+ sources?: Array<SourceOutput>;
345
+ firstSeen?: string;
346
+ lastSeen?: string;
347
+ count?: number;
348
+ recent?: boolean;
349
+ portStates?: Array<ObservedPortStateOutput>;
350
+ }
351
+ export interface ResourceUrlOutput {
352
+ url?: string;
353
+ resources?: Array<DependentResourceOutput>;
354
+ firstSeen?: string;
355
+ lastSeen?: string;
356
+ count?: number;
357
+ recent?: boolean;
358
+ }
359
+ export interface DependentResourceOutput {
360
+ md5?: string;
361
+ responseBodySize?: number;
362
+ firstSeen?: string;
363
+ lastSeen?: string;
364
+ count?: number;
365
+ firstSeenCrawlGuid?: string;
366
+ firstSeenPageGuid?: string;
367
+ firstSeenResourceGuid?: string;
368
+ lastSeenCrawlGuid?: string;
369
+ lastSeenPageGuid?: string;
370
+ lastSeenResourceGuid?: string;
371
+ responseBodyMinhash?: number[];
372
+ contentType?: string;
373
+ sha256?: string;
374
+ sha384?: string;
375
+ sha512?: string;
376
+ url?: string;
377
+ cached?: boolean;
378
+ sriChecks?: Array<SubResourceIntegrityCheckOutput>;
379
+ host?: string;
380
+ lastObservedViolation?: string;
381
+ lastObservedValidation?: string;
382
+ lastObservedActualSriHash?: string;
383
+ lastObservedExpectedSriHash?: string;
384
+ }
385
+ export interface SubResourceIntegrityCheckOutput {
386
+ violation?: boolean;
387
+ firstSeen?: string;
388
+ lastSeen?: string;
389
+ count?: number;
390
+ causePageUrl?: string;
391
+ crawlGuid?: string;
392
+ pageGuid?: string;
393
+ resourceGuid?: string;
394
+ expectedHash?: string;
395
+ }
396
+ export interface ScanMetadataOutput {
397
+ port?: number;
398
+ bannerMetadata?: string;
399
+ startScan?: string;
400
+ endScan?: string;
401
+ }
402
+ export interface IpBlockOutput {
403
+ ipBlock?: string;
404
+ sources?: Array<SourceOutput>;
405
+ firstSeen?: string;
406
+ lastSeen?: string;
407
+ count?: number;
408
+ recent?: boolean;
409
+ }
410
+ export interface DomainAssetOutput {
411
+ domain?: string;
412
+ whoisId?: number;
413
+ registrarIanaIds?: Array<ObservedIntegerOutput>;
414
+ registrantContacts?: Array<ObservedStringOutput>;
415
+ registrantOrgs?: Array<ObservedStringOutput>;
416
+ adminContacts?: Array<ObservedStringOutput>;
417
+ technicalContacts?: Array<ObservedStringOutput>;
418
+ alexaInfos?: Array<AlexaInfoOutput>;
419
+ nameServers?: Array<ObservedStringOutput>;
420
+ mailServers?: Array<ObservedStringOutput>;
421
+ whoisServers?: Array<ObservedStringOutput>;
422
+ domainStatuses?: Array<ObservedStringOutput>;
423
+ registrarCreatedAt?: Array<ObservedLongOutput>;
424
+ registrarUpdatedAt?: Array<ObservedLongOutput>;
425
+ registrarExpiresAt?: Array<ObservedLongOutput>;
426
+ soaRecords?: Array<SoaRecordOutput>;
427
+ detailedFromWhoisAt?: string;
428
+ registrarNames?: Array<ObservedStringOutput>;
429
+ sources?: Array<SourceOutput>;
430
+ firstSeen?: string;
431
+ lastSeen?: string;
432
+ count?: number;
433
+ parkedDomain?: Array<ObservedBooleanOutput>;
434
+ registrantNames?: Array<ObservedStringOutput>;
435
+ adminNames?: Array<ObservedStringOutput>;
436
+ technicalNames?: Array<ObservedStringOutput>;
437
+ adminOrgs?: Array<ObservedStringOutput>;
438
+ technicalOrgs?: Array<ObservedStringOutput>;
439
+ registrantPhones?: Array<ObservedStringOutput>;
440
+ adminPhones?: Array<ObservedStringOutput>;
441
+ technicalPhones?: Array<ObservedStringOutput>;
442
+ }
443
+ export interface AlexaInfoOutput {
444
+ alexaRank?: number;
445
+ category?: string;
446
+ firstSeen?: string;
447
+ lastSeen?: string;
448
+ count?: number;
449
+ recent?: boolean;
450
+ }
451
+ export interface SoaRecordOutput {
452
+ nameServer?: string;
453
+ email?: string;
454
+ firstSeen?: string;
455
+ lastSeen?: string;
456
+ count?: number;
457
+ serialNumber?: number;
458
+ recent?: boolean;
459
+ }
460
+ export interface SslServerConfigOutput {
461
+ tlsVersions?: string[];
462
+ cipherSuites?: string[];
463
+ firstSeen?: string;
464
+ lastSeen?: string;
465
+ count?: number;
466
+ sources?: Array<SourceOutput>;
467
+ }
468
+ export interface BannerOutput {
469
+ port?: number;
470
+ banner?: string;
471
+ firstSeen?: string;
472
+ lastSeen?: string;
473
+ count?: number;
474
+ scanType?: string;
475
+ bannerMetadata?: string;
476
+ recent?: boolean;
477
+ sha256?: string;
478
+ sources?: Array<SourceOutput>;
479
+ }
480
+ export interface IpAddressAssetOutput extends InventoryAssetOutput {
481
+ ipAddress?: string;
482
+ asns?: Array<ObservedLongOutput>;
483
+ reputations?: Array<ReputationOutput>;
484
+ webComponents?: Array<WebComponentOutput>;
485
+ netRanges?: Array<ObservedStringOutput>;
486
+ headers?: Array<ObservedHeaderOutput>;
487
+ attributes?: Array<AttributeOutput>;
488
+ cookies?: Array<CookieOutput>;
489
+ sslCerts?: Array<SslCertAssetOutput>;
490
+ services?: Array<ServiceOutput>;
491
+ ipBlocks?: Array<IpBlockOutput>;
492
+ sources?: Array<SourceOutput>;
493
+ firstSeen?: string;
494
+ lastSeen?: string;
495
+ count?: number;
496
+ banners?: Array<BannerOutput>;
497
+ scanMetadata?: Array<ScanMetadataOutput>;
498
+ nsRecord?: Array<ObservedBooleanOutput>;
499
+ mxRecord?: Array<ObservedBooleanOutput>;
500
+ location?: Array<ObservedLocationOutput>;
501
+ hosts?: Array<ObservedStringOutput>;
502
+ nxdomain?: Array<ObservedBooleanOutput>;
503
+ sslServerConfig?: Array<SslServerConfigOutput>;
504
+ ipv4?: boolean;
505
+ ipv6?: boolean;
506
+ }
507
+ export interface ReputationOutput {
508
+ listName?: string;
509
+ threatType?: string;
510
+ trusted?: boolean;
511
+ cidr?: string;
512
+ firstSeen?: string;
513
+ lastSeen?: string;
514
+ listUpdatedAt?: string;
515
+ recent?: boolean;
516
+ }
517
+ export interface IpBlockAssetOutput extends InventoryAssetOutput {
518
+ ipBlock?: string;
519
+ asns?: Array<ObservedLongOutput>;
520
+ bgpPrefixes?: Array<ObservedStringOutput>;
521
+ netNames?: Array<ObservedStringOutput>;
522
+ registrantContacts?: Array<ObservedStringOutput>;
523
+ registrantOrgs?: Array<ObservedStringOutput>;
524
+ adminContacts?: Array<ObservedStringOutput>;
525
+ technicalContacts?: Array<ObservedStringOutput>;
526
+ registrarCreatedAt?: Array<ObservedLongOutput>;
527
+ registrarUpdatedAt?: Array<ObservedLongOutput>;
528
+ netRanges?: Array<ObservedStringOutput>;
529
+ startIp?: string;
530
+ endIp?: string;
531
+ reputations?: Array<ReputationOutput>;
532
+ detailedFromWhoisAt?: string;
533
+ sources?: Array<SourceOutput>;
534
+ firstSeen?: string;
535
+ lastSeen?: string;
536
+ count?: number;
537
+ location?: Array<ObservedLocationOutput>;
538
+ registrarExpiresAt?: Array<ObservedLongOutput>;
539
+ registrantNames?: Array<ObservedStringOutput>;
540
+ adminNames?: Array<ObservedStringOutput>;
541
+ technicalNames?: Array<ObservedStringOutput>;
542
+ adminOrgs?: Array<ObservedStringOutput>;
543
+ technicalOrgs?: Array<ObservedStringOutput>;
544
+ registrantPhones?: Array<ObservedStringOutput>;
545
+ adminPhones?: Array<ObservedStringOutput>;
546
+ technicalPhones?: Array<ObservedStringOutput>;
547
+ ipv4?: boolean;
548
+ ipv6?: boolean;
549
+ }
550
+ export interface PageAssetOutput extends InventoryAssetOutput {
551
+ url?: string;
552
+ httpMethod?: string;
553
+ service?: string;
554
+ ipAddresses?: Array<ObservedStringOutput>;
555
+ successful?: Array<ObservedBooleanOutput>;
556
+ httpResponseCodes?: Array<ObservedIntegerOutput>;
557
+ httpResponseMessages?: Array<ObservedStringOutput>;
558
+ responseTimes?: Array<ObservedLongOutput>;
559
+ frames?: Array<ObservedBooleanOutput>;
560
+ windows?: Array<ObservedBooleanOutput>;
561
+ nonHtmlFrames?: Array<ObservedBooleanOutput>;
562
+ undirectedContent?: Array<ObservedBooleanOutput>;
563
+ contentTypes?: Array<ObservedStringOutput>;
564
+ contentLengths?: Array<ObservedLongOutput>;
565
+ windowNames?: Array<ObservedStringOutput>;
566
+ charsets?: Array<ObservedStringOutput>;
567
+ titles?: Array<ObservedStringOutput>;
568
+ languages?: Array<ObservedStringOutput>;
569
+ responseHeaders?: Array<ObservedHeaderOutput>;
570
+ cookies?: Array<CookieOutput>;
571
+ webComponents?: Array<WebComponentOutput>;
572
+ attributes?: Array<AttributeOutput>;
573
+ assetSecurityPolicies?: Array<AssetSecurityPolicyOutput>;
574
+ responseBodyMinhashSignatures?: Array<ObservedIntegersOutput>;
575
+ fullDomMinhashSignatures?: Array<ObservedIntegersOutput>;
576
+ responseBodyHashSignatures?: Array<ObservedStringOutput>;
577
+ errors?: Array<ObservedStringOutput>;
578
+ sslCerts?: Array<SslCertAssetOutput>;
579
+ sources?: Array<SourceOutput>;
580
+ firstSeen?: string;
581
+ lastSeen?: string;
582
+ count?: number;
583
+ cause?: PageCauseOutput;
584
+ referrer?: string;
585
+ redirectUrls?: Array<ObservedStringOutput>;
586
+ /** Possible values: "httpHeader", "metaRefresh", "javascript", "final" */
587
+ redirectType?: PageAssetRedirectTypeOutput;
588
+ finalUrls?: Array<ObservedStringOutput>;
589
+ finalResponseCodes?: Array<ObservedIntegerOutput>;
590
+ parkedPage?: Array<ObservedBooleanOutput>;
591
+ resourceUrls?: Array<ResourceUrlOutput>;
592
+ guids?: Array<GuidPairOutput>;
593
+ finalIpAddresses?: Array<ObservedStringOutput>;
594
+ asns?: Array<ObservedLongOutput>;
595
+ ipBlocks?: Array<IpBlockOutput>;
596
+ finalAsns?: Array<ObservedLongOutput>;
597
+ finalIpBlocks?: Array<IpBlockOutput>;
598
+ responseBodies?: Array<ObservedStringOutput>;
599
+ domainAsset?: DomainAssetOutput;
600
+ rootUrl?: ObservedBooleanOutput;
601
+ isRootUrl?: boolean;
602
+ location?: Array<ObservedLocationOutput>;
603
+ services?: Array<ServiceOutput>;
604
+ siteStatus?: string;
605
+ cnames?: Array<ObservedStringOutput>;
606
+ cdns?: Array<ObservedStringOutput>;
607
+ host?: string;
608
+ domain?: string;
609
+ sslServerConfig?: Array<SslServerConfigOutput>;
610
+ gdprAssetSecurityPolicies?: Array<AssetSecurityPolicyOutput>;
611
+ ipv4?: Array<ObservedBooleanOutput>;
612
+ ipv6?: Array<ObservedBooleanOutput>;
613
+ }
614
+ export interface AssetSecurityPolicyOutput {
615
+ policyName?: string;
616
+ isAffected?: boolean;
617
+ description?: string;
618
+ firstSeen?: string;
619
+ lastSeen?: string;
620
+ count?: number;
621
+ recent?: boolean;
622
+ sources?: Array<SourceOutput>;
623
+ }
624
+ export interface PageCauseOutput {
625
+ cause?: string;
626
+ causeElementXPath?: string;
627
+ location?: string;
628
+ possibleMatches?: number;
629
+ loopDetected?: boolean;
630
+ version?: number;
631
+ domChangeIndex?: number;
632
+ }
633
+ export interface GuidPairOutput {
634
+ pageGuid?: string;
635
+ crawlStateGuid?: string;
636
+ loadDate?: string;
637
+ recent?: boolean;
638
+ }
639
+ export interface ContactAssetResourceOutput extends AssetResourceOutputParent {
640
+ /** The kind of AssetResource */
641
+ kind: "contact";
642
+ /** asset */
643
+ asset: ContactAssetOutput;
644
+ }
645
+ export interface DomainAssetResourceOutput extends AssetResourceOutputParent {
646
+ /** The kind of AssetResource */
647
+ kind: "domain";
648
+ /** asset */
649
+ asset: DomainAssetOutput;
650
+ }
651
+ export interface HostAssetResourceOutput extends AssetResourceOutputParent {
652
+ /** The kind of AssetResource */
653
+ kind: "host";
654
+ /** asset */
655
+ asset: HostAssetOutput;
656
+ }
657
+ export interface IpAddressAssetResourceOutput extends AssetResourceOutputParent {
658
+ /** The kind of AssetResource */
659
+ kind: "ipAddress";
660
+ /** asset */
661
+ asset: IpAddressAssetOutput;
662
+ }
663
+ export interface IpBlockAssetResourceOutput extends AssetResourceOutputParent {
664
+ /** The kind of AssetResource */
665
+ kind: "ipBlock";
666
+ /** asset */
667
+ asset: IpBlockAssetOutput;
668
+ }
669
+ export interface PageAssetResourceOutput extends AssetResourceOutputParent {
670
+ /** The kind of AssetResource */
671
+ kind: "page";
672
+ /** asset */
673
+ asset: PageAssetOutput;
674
+ }
675
+ export interface SslCertAssetResourceOutput extends AssetResourceOutputParent {
676
+ /** The kind of AssetResource */
677
+ kind: "sslCert";
678
+ /** asset */
679
+ asset: SslCertAssetOutput;
680
+ }
681
+ export interface TaskOutput {
682
+ /** The unique identifier of the task. */
683
+ readonly id: string;
684
+ /** The time the task started. */
685
+ startedAt?: string;
686
+ /** The time the task completed. */
687
+ completedAt?: string;
688
+ /** The last time the status of the task was updated. */
689
+ lastPolledAt?: string;
690
+ /**
691
+ * The state the task is in.
692
+ *
693
+ * Possible values: "pending", "running", "paused", "complete", "incomplete", "failed", "warning"
694
+ */
695
+ state?: TaskStateOutput;
696
+ /**
697
+ * The phase the task is in.
698
+ *
699
+ * Possible values: "running", "polling", "complete"
700
+ */
701
+ phase?: TaskPhaseOutput;
702
+ /** The reason the task was moved into its current state, if the task wasn't completed. */
703
+ reason?: string;
704
+ /** Attributes unique to the task. This differs by task type. */
705
+ metadata?: Record<string, any>;
706
+ }
707
+ /** Paged collection of DataConnection items */
708
+ export interface PagedDataConnectionOutput {
709
+ /** The DataConnection items on this page */
710
+ value: Array<DataConnectionOutput>;
711
+ /** The link to the next page of items */
712
+ nextLink?: string;
713
+ /** The total number of items available in the full result set. */
714
+ totalElements?: number;
715
+ }
716
+ export interface DataConnectionOutputParent {
717
+ /** The system generated unique id for the resource. */
718
+ id?: string;
719
+ /** The caller provided unique name for the resource. */
720
+ readonly name: string;
721
+ /** The name that can be used for display purposes. */
722
+ displayName?: string;
723
+ /**
724
+ * The type of data the data connection will transfer
725
+ *
726
+ * Possible values: "assets", "attackSurfaceInsights"
727
+ */
728
+ content?: DataConnectionContentOutput;
729
+ /** The date the data connection was created. */
730
+ readonly createdDate?: string;
731
+ /**
732
+ * The rate at which the data connection will receive updates.
733
+ *
734
+ * Possible values: "daily", "weekly", "monthly"
735
+ */
736
+ frequency?: DataConnectionFrequencyOutput;
737
+ /** The day to update the data connection on. */
738
+ frequencyOffset?: number;
739
+ /** The date the data connection was last updated. */
740
+ readonly updatedDate?: string;
741
+ /** The date the data connection was last updated by user. */
742
+ readonly userUpdatedAt?: string;
743
+ /** An indicator of whether the data connection is active. */
744
+ active?: boolean;
745
+ /** A message that specifies details about data connection if inactive. */
746
+ readonly inactiveMessage?: string;
747
+ kind: string;
748
+ }
749
+ export interface LogAnalyticsDataConnectionOutput extends DataConnectionOutputParent {
750
+ /** The kind of DataConnection */
751
+ kind: "logAnalytics";
752
+ /** properties */
753
+ properties: LogAnalyticsDataConnectionPropertiesOutput;
754
+ }
755
+ export interface LogAnalyticsDataConnectionPropertiesOutput extends DataConnectionPropertiesOutput {
756
+ /** log analytics api key */
757
+ apiKey?: string;
758
+ /** log analytics workspace id */
759
+ workspaceId?: string;
760
+ }
761
+ /** The properties required to establish connection to a particular service */
762
+ export interface DataConnectionPropertiesOutput {
763
+ }
764
+ export interface AzureDataExplorerDataConnectionPropertiesOutput extends DataConnectionPropertiesOutput {
765
+ /** The azure data explorer cluster name */
766
+ clusterName?: string;
767
+ /** The azure data explorer region */
768
+ region?: string;
769
+ /** The azure data explorer database name */
770
+ databaseName?: string;
771
+ }
772
+ export interface AzureDataExplorerDataConnectionOutput extends DataConnectionOutputParent {
773
+ /** The kind of DataConnection */
774
+ kind: "azureDataExplorer";
775
+ /** properties */
776
+ properties: AzureDataExplorerDataConnectionPropertiesOutput;
777
+ }
778
+ /** Validate result for validate action endpoints */
779
+ export interface ValidateResultOutput {
780
+ /** This is the top-level error object whose code matches the x-ms-error-code response header. */
781
+ error?: ErrorDetailOutput;
782
+ }
783
+ /** This is the top-level error object whose code matches the x-ms-error-code response header. */
784
+ export interface ErrorDetailOutput {
785
+ /** This is one of a server-defined set of error codes. */
786
+ code: string;
787
+ /** This is a human-readable representation of the error. */
788
+ message: string;
789
+ /** This is the error target. */
790
+ target?: string;
791
+ /** This is an array of details about specific errors that led to this reported error. */
792
+ details?: Array<ErrorDetailOutput>;
793
+ /** This is an object containing more specific information than the current object about the error. */
794
+ innererror?: InnerErrorOutput;
795
+ }
796
+ /** This is an object containing more specific information than the current object about the error. */
797
+ export interface InnerErrorOutput {
798
+ /** This is a more specific error code than was provided by the containing error. */
799
+ code?: string;
800
+ /** This is an additional field representing the value that caused the error to help with debugging. */
801
+ value?: any;
802
+ }
803
+ /** Paged collection of DiscoGroup items */
804
+ export interface PagedDiscoGroupOutput {
805
+ /** The DiscoGroup items on this page */
806
+ value: Array<DiscoGroupOutput>;
807
+ /** The link to the next page of items */
808
+ nextLink?: string;
809
+ /** The total number of items available in the full result set. */
810
+ totalElements?: number;
811
+ }
812
+ export interface DiscoGroupOutput {
813
+ /** The system generated unique id for the resource. */
814
+ id?: string;
815
+ /** The caller provided unique name for the resource. */
816
+ readonly name: string;
817
+ /** The name that can be used for display purposes. */
818
+ displayName?: string;
819
+ /** The description for a disco group. */
820
+ description?: string;
821
+ /** The tier for the disco group which will affect the algorithm used for the disco runs in this group. */
822
+ tier?: string;
823
+ /** The frequency at which the disco group is supposed to be rerun in milliseconds. */
824
+ frequencyMilliseconds?: number;
825
+ /** The list of seeds used for the disco group runs. */
826
+ seeds?: Array<DiscoSourceOutput>;
827
+ /** The list of names used for the disco group runs. */
828
+ names?: string[];
829
+ /** The list of excludes used for the disco group runs, aka assets to exclude from the discovery algorithm. */
830
+ excludes?: Array<DiscoSourceOutput>;
831
+ /** The latest run of this disco group with some limited information, null if the group has never been run. */
832
+ latestRun?: DiscoRunResultOutput;
833
+ /** The date for the disco group was created. */
834
+ createdDate?: string;
835
+ /** The unique identifier for the disco template used for the disco group creation. */
836
+ templateId?: string;
837
+ }
838
+ /** Source entity used to drive discovery. */
839
+ export interface DiscoSourceOutput {
840
+ /**
841
+ * The kind of disco source.
842
+ *
843
+ * Possible values: "as", "attribute", "contact", "domain", "host", "ipBlock"
844
+ */
845
+ kind?: DiscoSourceKindOutput;
846
+ /** The name for the disco source. */
847
+ name?: string;
848
+ }
849
+ /** The latest run of this disco group with some limited information, null if the group has never been run. */
850
+ export interface DiscoRunResultOutput {
851
+ /** The date for when the disco run was created in the system. */
852
+ submittedDate?: string;
853
+ /** The date for when the disco run was actually started by the system. */
854
+ startedDate?: string;
855
+ /** The date for when the disco run was completed by the system. */
856
+ completedDate?: string;
857
+ /** The tier which will affect the algorithm used for the disco run. */
858
+ tier?: string;
859
+ /**
860
+ * The State of the disco run.
861
+ *
862
+ * Possible values: "pending", "running", "completed", "failed"
863
+ */
864
+ state?: DiscoRunStateOutput;
865
+ /** The total count of assets that were found this disco run. */
866
+ totalAssetsFoundCount?: number;
867
+ /** The list of seeds used for the disco run. */
868
+ seeds?: Array<DiscoSourceOutput>;
869
+ /** The list of excludes used for the disco run, aka assets to exclude from the discovery algorithm. */
870
+ excludes?: Array<DiscoSourceOutput>;
871
+ /** The list of names used for the disco run. */
872
+ names?: string[];
873
+ }
874
+ export interface DiscoRunPageResultOutput {
875
+ /** The total number of items available in the full result set. */
876
+ totalElements?: number;
877
+ /** The link to access the next page of results. Not set if at the end of the result set. */
878
+ nextLink?: string;
879
+ /** The items in the current page of results. */
880
+ value?: Array<DiscoRunResultOutput>;
881
+ }
882
+ /** Paged collection of DiscoTemplate items */
883
+ export interface PagedDiscoTemplateOutput {
884
+ /** The DiscoTemplate items on this page */
885
+ value: Array<DiscoTemplateOutput>;
886
+ /** The link to the next page of items */
887
+ nextLink?: string;
888
+ /** The total number of items available in the full result set. */
889
+ totalElements?: number;
890
+ }
891
+ /** The items in the current page of results. */
892
+ export interface DiscoTemplateOutput {
893
+ /** The system generated unique id for the resource. */
894
+ readonly id: string;
895
+ /** The caller provided unique name for the resource. */
896
+ name?: string;
897
+ /** The name that can be used for display purposes. */
898
+ displayName?: string;
899
+ /** The name of the industry. */
900
+ industry?: string;
901
+ /** The name of the region. */
902
+ region?: string;
903
+ /** The country code. */
904
+ countryCode?: string;
905
+ /** The state code. */
906
+ stateCode?: string;
907
+ /** The name of the city. */
908
+ city?: string;
909
+ /** The list of disco template seeds. */
910
+ seeds?: Array<DiscoSourceOutput>;
911
+ /** The list of disco template names. */
912
+ names?: string[];
913
+ }
914
+ export interface ReportBillableAssetSummaryResultOutput {
915
+ assetSummaries?: Array<ReportBillableAssetSnapshotResultOutput>;
916
+ }
917
+ export interface ReportBillableAssetSnapshotResultOutput {
918
+ /** The date these assets were billed on. */
919
+ date?: string;
920
+ /** The total number of billable assets for this date. */
921
+ total?: number;
922
+ /** The breakdown of billable asset counts for each asset type. */
923
+ assetBreakdown?: Array<ReportBillableAssetBreakdownOutput>;
924
+ }
925
+ /** The breakdown of billable asset counts for each asset type. */
926
+ export interface ReportBillableAssetBreakdownOutput {
927
+ /**
928
+ * The kind of billable asset.
929
+ *
930
+ * Possible values: "domain", "host", "ipAddress"
931
+ */
932
+ kind?: ReportBillableAssetBreakdownKindOutput;
933
+ /** The number of assets of this type. */
934
+ count?: number;
935
+ }
936
+ /** 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. */
937
+ export interface ReportAssetSnapshotResultOutput {
938
+ /** The name of the metric. */
939
+ displayName?: string;
940
+ /** The unique metric name. */
941
+ metric?: string;
942
+ /** The customer label that was filtered on, if one was provided. */
943
+ labelName?: string;
944
+ /** The last time this asset data was updated on this metric. */
945
+ updatedAt?: string;
946
+ /** A description of what the metric represents. */
947
+ description?: string;
948
+ /** The page of assets that match the provided metric. */
949
+ assets?: AssetPageResultOutput;
950
+ }
951
+ /** The page of assets that match the provided metric. */
952
+ export interface AssetPageResultOutput {
953
+ /** The total number of items available in the full result set. */
954
+ totalElements?: number;
955
+ /** The cursor mark to be used on the next request. Not set if using paging. */
956
+ mark?: string;
957
+ /** The link to access the next page of results. Not set if at the end of the result set. */
958
+ nextLink?: string;
959
+ /** The items in the current page of results. */
960
+ value?: Array<AssetResourceOutput>;
961
+ }
962
+ export interface ReportAssetSummaryResultOutput {
963
+ /** The collection of asset summaries. */
964
+ assetSummaries?: Array<AssetSummaryResultOutput>;
965
+ }
966
+ /** The collection of asset summaries. */
967
+ export interface AssetSummaryResultOutput {
968
+ /** The name of the summary response. Depending on the request time this will either be the asset filter, risk category, or risk metric. */
969
+ displayName?: string;
970
+ /** The description of the summary response. Filters don't have a description. */
971
+ description?: string;
972
+ /** 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. */
973
+ updatedAt?: string;
974
+ /** If the request is for a metric category, this will contain the requested unique category name. */
975
+ metricCategory?: string;
976
+ /** If the request is for a metric, this will contain the requested unique metric name. */
977
+ metric?: string;
978
+ /** If the request is for an asset filter, this will contain the corresponding filter. */
979
+ filter?: string;
980
+ /** An optional label used to filter requests results. */
981
+ labelName?: string;
982
+ /** The count of assets matching the request parameters. */
983
+ count?: number;
984
+ /** The link to the corresponding asset details. */
985
+ link?: string;
986
+ /** The corresponding child entities. For metric categories this will contain metrics. For filters with groupBy and segmentBy this will contain facets. */
987
+ children?: Array<AssetSummaryResultOutput>;
988
+ }
989
+ /** Paged collection of SavedFilter items */
990
+ export interface PagedSavedFilterOutput {
991
+ /** The SavedFilter items on this page */
992
+ value: Array<SavedFilterOutput>;
993
+ /** The link to the next page of items */
994
+ nextLink?: string;
995
+ /** The total number of items available in the full result set. */
996
+ totalElements?: number;
997
+ }
998
+ export interface SavedFilterOutput {
999
+ /** The system generated unique id for the resource. */
1000
+ id?: string;
1001
+ /** The caller provided unique name for the resource. */
1002
+ readonly name: string;
1003
+ /** The name that can be used for display purposes. */
1004
+ displayName?: string;
1005
+ filter?: string;
1006
+ description?: string;
1007
+ }
1008
+ /** Paged collection of Task items */
1009
+ export interface PagedTaskOutput {
1010
+ /** The Task items on this page */
1011
+ value: Array<TaskOutput>;
1012
+ /** The link to the next page of items */
1013
+ nextLink?: string;
1014
+ /** The total number of items available in the full result set. */
1015
+ totalElements?: number;
1016
+ }
1017
+ /** The items in the current page of results. */
1018
+ export type AssetResourceOutput = AssetResourceOutputParent | AsAssetResourceOutput | ContactAssetResourceOutput | DomainAssetResourceOutput | HostAssetResourceOutput | IpAddressAssetResourceOutput | IpBlockAssetResourceOutput | PageAssetResourceOutput | SslCertAssetResourceOutput;
1019
+ export type DataConnectionOutput = DataConnectionOutputParent | LogAnalyticsDataConnectionOutput | AzureDataExplorerDataConnectionOutput;
1020
+ /** Alias for AssetUpdateStateOutput */
1021
+ export type AssetUpdateStateOutput = string;
1022
+ /** Alias for AssetStateOutput */
1023
+ export type AssetStateOutput = string;
1024
+ /** Alias for AuditTrailItemKindOutput */
1025
+ export type AuditTrailItemKindOutput = string;
1026
+ /** Alias for ObservedPortStateValueOutput */
1027
+ export type ObservedPortStateValueOutput = string;
1028
+ /** Alias for SslCertAssetValidationTypeOutput */
1029
+ export type SslCertAssetValidationTypeOutput = string;
1030
+ /** Alias for PageAssetRedirectTypeOutput */
1031
+ export type PageAssetRedirectTypeOutput = string;
1032
+ /** Alias for TaskStateOutput */
1033
+ export type TaskStateOutput = string;
1034
+ /** Alias for TaskPhaseOutput */
1035
+ export type TaskPhaseOutput = string;
1036
+ /** Alias for DataConnectionContentOutput */
1037
+ export type DataConnectionContentOutput = string;
1038
+ /** Alias for DataConnectionFrequencyOutput */
1039
+ export type DataConnectionFrequencyOutput = string;
1040
+ /** Alias for DiscoSourceKindOutput */
1041
+ export type DiscoSourceKindOutput = string;
1042
+ /** Alias for DiscoRunStateOutput */
1043
+ export type DiscoRunStateOutput = string;
1044
+ /** Alias for ReportBillableAssetBreakdownKindOutput */
1045
+ export type ReportBillableAssetBreakdownKindOutput = string;
1046
+ //# sourceMappingURL=outputModels.d.ts.map