@azure/arm-securityinsight 1.0.0-beta.1

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 (372) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +98 -0
  4. package/dist/index.js +20426 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/models/index.d.ts +7571 -0
  13. package/dist-esm/src/models/index.d.ts.map +1 -0
  14. package/dist-esm/src/models/index.js +813 -0
  15. package/dist-esm/src/models/index.js.map +1 -0
  16. package/dist-esm/src/models/mappers.d.ts +437 -0
  17. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  18. package/dist-esm/src/models/mappers.js +12661 -0
  19. package/dist-esm/src/models/mappers.js.map +1 -0
  20. package/dist-esm/src/models/parameters.d.ts +68 -0
  21. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  22. package/dist-esm/src/models/parameters.js +518 -0
  23. package/dist-esm/src/models/parameters.js.map +1 -0
  24. package/dist-esm/src/operations/actions.d.ts +69 -0
  25. package/dist-esm/src/operations/actions.d.ts.map +1 -0
  26. package/dist-esm/src/operations/actions.js +249 -0
  27. package/dist-esm/src/operations/actions.js.map +1 -0
  28. package/dist-esm/src/operations/alertRuleTemplates.d.ts +46 -0
  29. package/dist-esm/src/operations/alertRuleTemplates.d.ts.map +1 -0
  30. package/dist-esm/src/operations/alertRuleTemplates.js +169 -0
  31. package/dist-esm/src/operations/alertRuleTemplates.js.map +1 -0
  32. package/dist-esm/src/operations/alertRules.d.ts +63 -0
  33. package/dist-esm/src/operations/alertRules.d.ts.map +1 -0
  34. package/dist-esm/src/operations/alertRules.js +238 -0
  35. package/dist-esm/src/operations/alertRules.js.map +1 -0
  36. package/dist-esm/src/operations/automationRules.d.ts +63 -0
  37. package/dist-esm/src/operations/automationRules.d.ts.map +1 -0
  38. package/dist-esm/src/operations/automationRules.js +244 -0
  39. package/dist-esm/src/operations/automationRules.js.map +1 -0
  40. package/dist-esm/src/operations/bookmarkOperations.d.ts +22 -0
  41. package/dist-esm/src/operations/bookmarkOperations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/bookmarkOperations.js +58 -0
  43. package/dist-esm/src/operations/bookmarkOperations.js.map +1 -0
  44. package/dist-esm/src/operations/bookmarkRelations.d.ts +69 -0
  45. package/dist-esm/src/operations/bookmarkRelations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/bookmarkRelations.js +268 -0
  47. package/dist-esm/src/operations/bookmarkRelations.js.map +1 -0
  48. package/dist-esm/src/operations/bookmarks.d.ts +63 -0
  49. package/dist-esm/src/operations/bookmarks.d.ts.map +1 -0
  50. package/dist-esm/src/operations/bookmarks.js +238 -0
  51. package/dist-esm/src/operations/bookmarks.js.map +1 -0
  52. package/dist-esm/src/operations/dataConnectors.d.ts +80 -0
  53. package/dist-esm/src/operations/dataConnectors.d.ts.map +1 -0
  54. package/dist-esm/src/operations/dataConnectors.js +313 -0
  55. package/dist-esm/src/operations/dataConnectors.js.map +1 -0
  56. package/dist-esm/src/operations/dataConnectorsCheckRequirementsOperations.d.ts +21 -0
  57. package/dist-esm/src/operations/dataConnectorsCheckRequirementsOperations.d.ts.map +1 -0
  58. package/dist-esm/src/operations/dataConnectorsCheckRequirementsOperations.js +61 -0
  59. package/dist-esm/src/operations/dataConnectorsCheckRequirementsOperations.js.map +1 -0
  60. package/dist-esm/src/operations/domainWhois.d.ts +20 -0
  61. package/dist-esm/src/operations/domainWhois.d.ts.map +1 -0
  62. package/dist-esm/src/operations/domainWhois.js +52 -0
  63. package/dist-esm/src/operations/domainWhois.js.map +1 -0
  64. package/dist-esm/src/operations/entities.d.ts +73 -0
  65. package/dist-esm/src/operations/entities.d.ts.map +1 -0
  66. package/dist-esm/src/operations/entities.js +272 -0
  67. package/dist-esm/src/operations/entities.js.map +1 -0
  68. package/dist-esm/src/operations/entitiesGetTimeline.d.ts +22 -0
  69. package/dist-esm/src/operations/entitiesGetTimeline.d.ts.map +1 -0
  70. package/dist-esm/src/operations/entitiesGetTimeline.js +58 -0
  71. package/dist-esm/src/operations/entitiesGetTimeline.js.map +1 -0
  72. package/dist-esm/src/operations/entitiesRelations.d.ts +41 -0
  73. package/dist-esm/src/operations/entitiesRelations.d.ts.map +1 -0
  74. package/dist-esm/src/operations/entitiesRelations.js +154 -0
  75. package/dist-esm/src/operations/entitiesRelations.js.map +1 -0
  76. package/dist-esm/src/operations/entityQueries.d.ts +63 -0
  77. package/dist-esm/src/operations/entityQueries.d.ts.map +1 -0
  78. package/dist-esm/src/operations/entityQueries.js +238 -0
  79. package/dist-esm/src/operations/entityQueries.js.map +1 -0
  80. package/dist-esm/src/operations/entityQueryTemplates.d.ts +46 -0
  81. package/dist-esm/src/operations/entityQueryTemplates.d.ts.map +1 -0
  82. package/dist-esm/src/operations/entityQueryTemplates.js +169 -0
  83. package/dist-esm/src/operations/entityQueryTemplates.js.map +1 -0
  84. package/dist-esm/src/operations/entityRelations.d.ts +22 -0
  85. package/dist-esm/src/operations/entityRelations.d.ts.map +1 -0
  86. package/dist-esm/src/operations/entityRelations.js +57 -0
  87. package/dist-esm/src/operations/entityRelations.js.map +1 -0
  88. package/dist-esm/src/operations/iPGeodata.d.ts +20 -0
  89. package/dist-esm/src/operations/iPGeodata.d.ts.map +1 -0
  90. package/dist-esm/src/operations/iPGeodata.js +52 -0
  91. package/dist-esm/src/operations/iPGeodata.js.map +1 -0
  92. package/dist-esm/src/operations/incidentComments.d.ts +69 -0
  93. package/dist-esm/src/operations/incidentComments.d.ts.map +1 -0
  94. package/dist-esm/src/operations/incidentComments.js +280 -0
  95. package/dist-esm/src/operations/incidentComments.js.map +1 -0
  96. package/dist-esm/src/operations/incidentRelations.d.ts +69 -0
  97. package/dist-esm/src/operations/incidentRelations.d.ts.map +1 -0
  98. package/dist-esm/src/operations/incidentRelations.js +268 -0
  99. package/dist-esm/src/operations/incidentRelations.js.map +1 -0
  100. package/dist-esm/src/operations/incidents.d.ts +97 -0
  101. package/dist-esm/src/operations/incidents.d.ts.map +1 -0
  102. package/dist-esm/src/operations/incidents.js +382 -0
  103. package/dist-esm/src/operations/incidents.js.map +1 -0
  104. package/dist-esm/src/operations/index.d.ts +33 -0
  105. package/dist-esm/src/operations/index.d.ts.map +1 -0
  106. package/dist-esm/src/operations/index.js +40 -0
  107. package/dist-esm/src/operations/index.js.map +1 -0
  108. package/dist-esm/src/operations/metadata.d.ts +72 -0
  109. package/dist-esm/src/operations/metadata.d.ts.map +1 -0
  110. package/dist-esm/src/operations/metadata.js +291 -0
  111. package/dist-esm/src/operations/metadata.js.map +1 -0
  112. package/dist-esm/src/operations/officeConsents.d.ts +54 -0
  113. package/dist-esm/src/operations/officeConsents.d.ts.map +1 -0
  114. package/dist-esm/src/operations/officeConsents.js +200 -0
  115. package/dist-esm/src/operations/officeConsents.js.map +1 -0
  116. package/dist-esm/src/operations/operations.d.ts +32 -0
  117. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  118. package/dist-esm/src/operations/operations.js +120 -0
  119. package/dist-esm/src/operations/operations.js.map +1 -0
  120. package/dist-esm/src/operations/productSettings.d.ts +45 -0
  121. package/dist-esm/src/operations/productSettings.d.ts.map +1 -0
  122. package/dist-esm/src/operations/productSettings.js +151 -0
  123. package/dist-esm/src/operations/productSettings.js.map +1 -0
  124. package/dist-esm/src/operations/sentinelOnboardingStates.d.ts +44 -0
  125. package/dist-esm/src/operations/sentinelOnboardingStates.d.ts.map +1 -0
  126. package/dist-esm/src/operations/sentinelOnboardingStates.js +168 -0
  127. package/dist-esm/src/operations/sentinelOnboardingStates.js.map +1 -0
  128. package/dist-esm/src/operations/sourceControlOperations.d.ts +41 -0
  129. package/dist-esm/src/operations/sourceControlOperations.d.ts.map +1 -0
  130. package/dist-esm/src/operations/sourceControlOperations.js +143 -0
  131. package/dist-esm/src/operations/sourceControlOperations.js.map +1 -0
  132. package/dist-esm/src/operations/sourceControls.d.ts +63 -0
  133. package/dist-esm/src/operations/sourceControls.d.ts.map +1 -0
  134. package/dist-esm/src/operations/sourceControls.js +244 -0
  135. package/dist-esm/src/operations/sourceControls.js.map +1 -0
  136. package/dist-esm/src/operations/threatIntelligenceIndicator.d.ts +97 -0
  137. package/dist-esm/src/operations/threatIntelligenceIndicator.d.ts.map +1 -0
  138. package/dist-esm/src/operations/threatIntelligenceIndicator.js +387 -0
  139. package/dist-esm/src/operations/threatIntelligenceIndicator.js.map +1 -0
  140. package/dist-esm/src/operations/threatIntelligenceIndicatorMetrics.d.ts +20 -0
  141. package/dist-esm/src/operations/threatIntelligenceIndicatorMetrics.d.ts.map +1 -0
  142. package/dist-esm/src/operations/threatIntelligenceIndicatorMetrics.js +53 -0
  143. package/dist-esm/src/operations/threatIntelligenceIndicatorMetrics.js.map +1 -0
  144. package/dist-esm/src/operations/threatIntelligenceIndicators.d.ts +38 -0
  145. package/dist-esm/src/operations/threatIntelligenceIndicators.d.ts.map +1 -0
  146. package/dist-esm/src/operations/threatIntelligenceIndicators.js +149 -0
  147. package/dist-esm/src/operations/threatIntelligenceIndicators.js.map +1 -0
  148. package/dist-esm/src/operations/watchlistItems.d.ts +69 -0
  149. package/dist-esm/src/operations/watchlistItems.d.ts.map +1 -0
  150. package/dist-esm/src/operations/watchlistItems.js +268 -0
  151. package/dist-esm/src/operations/watchlistItems.js.map +1 -0
  152. package/dist-esm/src/operations/watchlists.d.ts +65 -0
  153. package/dist-esm/src/operations/watchlists.d.ts.map +1 -0
  154. package/dist-esm/src/operations/watchlists.js +240 -0
  155. package/dist-esm/src/operations/watchlists.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/actions.d.ts +42 -0
  157. package/dist-esm/src/operationsInterfaces/actions.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/actions.js +9 -0
  159. package/dist-esm/src/operationsInterfaces/actions.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/alertRuleTemplates.d.ts +21 -0
  161. package/dist-esm/src/operationsInterfaces/alertRuleTemplates.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/alertRuleTemplates.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/alertRuleTemplates.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/alertRules.d.ts +38 -0
  165. package/dist-esm/src/operationsInterfaces/alertRules.d.ts.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/alertRules.js +9 -0
  167. package/dist-esm/src/operationsInterfaces/alertRules.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/automationRules.d.ts +38 -0
  169. package/dist-esm/src/operationsInterfaces/automationRules.d.ts.map +1 -0
  170. package/dist-esm/src/operationsInterfaces/automationRules.js +9 -0
  171. package/dist-esm/src/operationsInterfaces/automationRules.js.map +1 -0
  172. package/dist-esm/src/operationsInterfaces/bookmarkOperations.d.ts +14 -0
  173. package/dist-esm/src/operationsInterfaces/bookmarkOperations.d.ts.map +1 -0
  174. package/dist-esm/src/operationsInterfaces/bookmarkOperations.js +9 -0
  175. package/dist-esm/src/operationsInterfaces/bookmarkOperations.js.map +1 -0
  176. package/dist-esm/src/operationsInterfaces/bookmarkRelations.d.ts +42 -0
  177. package/dist-esm/src/operationsInterfaces/bookmarkRelations.d.ts.map +1 -0
  178. package/dist-esm/src/operationsInterfaces/bookmarkRelations.js +9 -0
  179. package/dist-esm/src/operationsInterfaces/bookmarkRelations.js.map +1 -0
  180. package/dist-esm/src/operationsInterfaces/bookmarks.d.ts +38 -0
  181. package/dist-esm/src/operationsInterfaces/bookmarks.d.ts.map +1 -0
  182. package/dist-esm/src/operationsInterfaces/bookmarks.js +9 -0
  183. package/dist-esm/src/operationsInterfaces/bookmarks.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/dataConnectors.d.ts +55 -0
  185. package/dist-esm/src/operationsInterfaces/dataConnectors.d.ts.map +1 -0
  186. package/dist-esm/src/operationsInterfaces/dataConnectors.js +9 -0
  187. package/dist-esm/src/operationsInterfaces/dataConnectors.js.map +1 -0
  188. package/dist-esm/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.d.ts +13 -0
  189. package/dist-esm/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.d.ts.map +1 -0
  190. package/dist-esm/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.js +9 -0
  191. package/dist-esm/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.js.map +1 -0
  192. package/dist-esm/src/operationsInterfaces/domainWhois.d.ts +12 -0
  193. package/dist-esm/src/operationsInterfaces/domainWhois.d.ts.map +1 -0
  194. package/dist-esm/src/operationsInterfaces/domainWhois.js +9 -0
  195. package/dist-esm/src/operationsInterfaces/domainWhois.js.map +1 -0
  196. package/dist-esm/src/operationsInterfaces/entities.d.ts +48 -0
  197. package/dist-esm/src/operationsInterfaces/entities.d.ts.map +1 -0
  198. package/dist-esm/src/operationsInterfaces/entities.js +9 -0
  199. package/dist-esm/src/operationsInterfaces/entities.js.map +1 -0
  200. package/dist-esm/src/operationsInterfaces/entitiesGetTimeline.d.ts +14 -0
  201. package/dist-esm/src/operationsInterfaces/entitiesGetTimeline.d.ts.map +1 -0
  202. package/dist-esm/src/operationsInterfaces/entitiesGetTimeline.js +9 -0
  203. package/dist-esm/src/operationsInterfaces/entitiesGetTimeline.js.map +1 -0
  204. package/dist-esm/src/operationsInterfaces/entitiesRelations.d.ts +14 -0
  205. package/dist-esm/src/operationsInterfaces/entitiesRelations.d.ts.map +1 -0
  206. package/dist-esm/src/operationsInterfaces/entitiesRelations.js +9 -0
  207. package/dist-esm/src/operationsInterfaces/entitiesRelations.js.map +1 -0
  208. package/dist-esm/src/operationsInterfaces/entityQueries.d.ts +38 -0
  209. package/dist-esm/src/operationsInterfaces/entityQueries.d.ts.map +1 -0
  210. package/dist-esm/src/operationsInterfaces/entityQueries.js +9 -0
  211. package/dist-esm/src/operationsInterfaces/entityQueries.js.map +1 -0
  212. package/dist-esm/src/operationsInterfaces/entityQueryTemplates.d.ts +21 -0
  213. package/dist-esm/src/operationsInterfaces/entityQueryTemplates.d.ts.map +1 -0
  214. package/dist-esm/src/operationsInterfaces/entityQueryTemplates.js +9 -0
  215. package/dist-esm/src/operationsInterfaces/entityQueryTemplates.js.map +1 -0
  216. package/dist-esm/src/operationsInterfaces/entityRelations.d.ts +14 -0
  217. package/dist-esm/src/operationsInterfaces/entityRelations.d.ts.map +1 -0
  218. package/dist-esm/src/operationsInterfaces/entityRelations.js +9 -0
  219. package/dist-esm/src/operationsInterfaces/entityRelations.js.map +1 -0
  220. package/dist-esm/src/operationsInterfaces/iPGeodata.d.ts +12 -0
  221. package/dist-esm/src/operationsInterfaces/iPGeodata.d.ts.map +1 -0
  222. package/dist-esm/src/operationsInterfaces/iPGeodata.js +9 -0
  223. package/dist-esm/src/operationsInterfaces/iPGeodata.js.map +1 -0
  224. package/dist-esm/src/operationsInterfaces/incidentComments.d.ts +42 -0
  225. package/dist-esm/src/operationsInterfaces/incidentComments.d.ts.map +1 -0
  226. package/dist-esm/src/operationsInterfaces/incidentComments.js +9 -0
  227. package/dist-esm/src/operationsInterfaces/incidentComments.js.map +1 -0
  228. package/dist-esm/src/operationsInterfaces/incidentRelations.d.ts +42 -0
  229. package/dist-esm/src/operationsInterfaces/incidentRelations.d.ts.map +1 -0
  230. package/dist-esm/src/operationsInterfaces/incidentRelations.js +9 -0
  231. package/dist-esm/src/operationsInterfaces/incidentRelations.js.map +1 -0
  232. package/dist-esm/src/operationsInterfaces/incidents.d.ts +72 -0
  233. package/dist-esm/src/operationsInterfaces/incidents.d.ts.map +1 -0
  234. package/dist-esm/src/operationsInterfaces/incidents.js +9 -0
  235. package/dist-esm/src/operationsInterfaces/incidents.js.map +1 -0
  236. package/dist-esm/src/operationsInterfaces/index.d.ts +33 -0
  237. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  238. package/dist-esm/src/operationsInterfaces/index.js +40 -0
  239. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  240. package/dist-esm/src/operationsInterfaces/metadata.d.ts +47 -0
  241. package/dist-esm/src/operationsInterfaces/metadata.d.ts.map +1 -0
  242. package/dist-esm/src/operationsInterfaces/metadata.js +9 -0
  243. package/dist-esm/src/operationsInterfaces/metadata.js.map +1 -0
  244. package/dist-esm/src/operationsInterfaces/officeConsents.d.ts +29 -0
  245. package/dist-esm/src/operationsInterfaces/officeConsents.d.ts.map +1 -0
  246. package/dist-esm/src/operationsInterfaces/officeConsents.js +9 -0
  247. package/dist-esm/src/operationsInterfaces/officeConsents.js.map +1 -0
  248. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  249. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  250. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  251. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  252. package/dist-esm/src/operationsInterfaces/productSettings.d.ts +37 -0
  253. package/dist-esm/src/operationsInterfaces/productSettings.d.ts.map +1 -0
  254. package/dist-esm/src/operationsInterfaces/productSettings.js +9 -0
  255. package/dist-esm/src/operationsInterfaces/productSettings.js.map +1 -0
  256. package/dist-esm/src/operationsInterfaces/sentinelOnboardingStates.d.ts +36 -0
  257. package/dist-esm/src/operationsInterfaces/sentinelOnboardingStates.d.ts.map +1 -0
  258. package/dist-esm/src/operationsInterfaces/sentinelOnboardingStates.js +9 -0
  259. package/dist-esm/src/operationsInterfaces/sentinelOnboardingStates.js.map +1 -0
  260. package/dist-esm/src/operationsInterfaces/sourceControlOperations.d.ts +14 -0
  261. package/dist-esm/src/operationsInterfaces/sourceControlOperations.d.ts.map +1 -0
  262. package/dist-esm/src/operationsInterfaces/sourceControlOperations.js +9 -0
  263. package/dist-esm/src/operationsInterfaces/sourceControlOperations.js.map +1 -0
  264. package/dist-esm/src/operationsInterfaces/sourceControls.d.ts +38 -0
  265. package/dist-esm/src/operationsInterfaces/sourceControls.d.ts.map +1 -0
  266. package/dist-esm/src/operationsInterfaces/sourceControls.js +9 -0
  267. package/dist-esm/src/operationsInterfaces/sourceControls.js.map +1 -0
  268. package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicator.d.ts +68 -0
  269. package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicator.d.ts.map +1 -0
  270. package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicator.js +9 -0
  271. package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicator.js.map +1 -0
  272. package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.d.ts +12 -0
  273. package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.d.ts.map +1 -0
  274. package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.js +9 -0
  275. package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.js.map +1 -0
  276. package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicators.d.ts +13 -0
  277. package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicators.d.ts.map +1 -0
  278. package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicators.js +9 -0
  279. package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicators.js.map +1 -0
  280. package/dist-esm/src/operationsInterfaces/watchlistItems.d.ts +42 -0
  281. package/dist-esm/src/operationsInterfaces/watchlistItems.d.ts.map +1 -0
  282. package/dist-esm/src/operationsInterfaces/watchlistItems.js +9 -0
  283. package/dist-esm/src/operationsInterfaces/watchlistItems.js.map +1 -0
  284. package/dist-esm/src/operationsInterfaces/watchlists.d.ts +40 -0
  285. package/dist-esm/src/operationsInterfaces/watchlists.d.ts.map +1 -0
  286. package/dist-esm/src/operationsInterfaces/watchlists.js +9 -0
  287. package/dist-esm/src/operationsInterfaces/watchlists.js.map +1 -0
  288. package/dist-esm/src/securityInsights.d.ts +49 -0
  289. package/dist-esm/src/securityInsights.d.ts.map +1 -0
  290. package/dist-esm/src/securityInsights.js +82 -0
  291. package/dist-esm/src/securityInsights.js.map +1 -0
  292. package/dist-esm/test/sampleTest.d.ts +2 -0
  293. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  294. package/dist-esm/test/sampleTest.js +40 -0
  295. package/dist-esm/test/sampleTest.js.map +1 -0
  296. package/package.json +95 -0
  297. package/review/arm-securityinsight.api.md +5007 -0
  298. package/rollup.config.js +188 -0
  299. package/src/index.ts +12 -0
  300. package/src/models/index.ts +8349 -0
  301. package/src/models/mappers.ts +14311 -0
  302. package/src/models/parameters.ts +616 -0
  303. package/src/operations/actions.ts +351 -0
  304. package/src/operations/alertRuleTemplates.ts +221 -0
  305. package/src/operations/alertRules.ts +314 -0
  306. package/src/operations/automationRules.ts +320 -0
  307. package/src/operations/bookmarkOperations.ts +80 -0
  308. package/src/operations/bookmarkRelations.ts +369 -0
  309. package/src/operations/bookmarks.ts +314 -0
  310. package/src/operations/dataConnectors.ts +413 -0
  311. package/src/operations/dataConnectorsCheckRequirementsOperations.ts +83 -0
  312. package/src/operations/domainWhois.ts +71 -0
  313. package/src/operations/entities.ts +366 -0
  314. package/src/operations/entitiesGetTimeline.ts +80 -0
  315. package/src/operations/entitiesRelations.ts +216 -0
  316. package/src/operations/entityQueries.ts +315 -0
  317. package/src/operations/entityQueryTemplates.ts +221 -0
  318. package/src/operations/entityRelations.ts +78 -0
  319. package/src/operations/iPGeodata.ts +68 -0
  320. package/src/operations/incidentComments.ts +381 -0
  321. package/src/operations/incidentRelations.ts +369 -0
  322. package/src/operations/incidents.ts +508 -0
  323. package/src/operations/index.ts +40 -0
  324. package/src/operations/metadata.ts +381 -0
  325. package/src/operations/officeConsents.ts +263 -0
  326. package/src/operations/operations.ts +137 -0
  327. package/src/operations/productSettings.ts +207 -0
  328. package/src/operations/sentinelOnboardingStates.ts +222 -0
  329. package/src/operations/sourceControlOperations.ts +206 -0
  330. package/src/operations/sourceControls.ts +320 -0
  331. package/src/operations/threatIntelligenceIndicator.ts +526 -0
  332. package/src/operations/threatIntelligenceIndicatorMetrics.ts +73 -0
  333. package/src/operations/threatIntelligenceIndicators.ts +190 -0
  334. package/src/operations/watchlistItems.ts +369 -0
  335. package/src/operations/watchlists.ts +316 -0
  336. package/src/operationsInterfaces/actions.ts +84 -0
  337. package/src/operationsInterfaces/alertRuleTemplates.ts +44 -0
  338. package/src/operationsInterfaces/alertRules.ts +75 -0
  339. package/src/operationsInterfaces/automationRules.ts +75 -0
  340. package/src/operationsInterfaces/bookmarkOperations.ts +32 -0
  341. package/src/operationsInterfaces/bookmarkRelations.ts +83 -0
  342. package/src/operationsInterfaces/bookmarks.ts +75 -0
  343. package/src/operationsInterfaces/dataConnectors.ts +106 -0
  344. package/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.ts +30 -0
  345. package/src/operationsInterfaces/domainWhois.ts +27 -0
  346. package/src/operationsInterfaces/entities.ts +98 -0
  347. package/src/operationsInterfaces/entitiesGetTimeline.ts +32 -0
  348. package/src/operationsInterfaces/entitiesRelations.ts +28 -0
  349. package/src/operationsInterfaces/entityQueries.ts +76 -0
  350. package/src/operationsInterfaces/entityQueryTemplates.ts +44 -0
  351. package/src/operationsInterfaces/entityRelations.ts +31 -0
  352. package/src/operationsInterfaces/iPGeodata.ts +24 -0
  353. package/src/operationsInterfaces/incidentComments.ts +83 -0
  354. package/src/operationsInterfaces/incidentRelations.ts +83 -0
  355. package/src/operationsInterfaces/incidents.ts +139 -0
  356. package/src/operationsInterfaces/index.ts +40 -0
  357. package/src/operationsInterfaces/metadata.ts +93 -0
  358. package/src/operationsInterfaces/officeConsents.ts +58 -0
  359. package/src/operationsInterfaces/operations.ts +22 -0
  360. package/src/operationsInterfaces/productSettings.ts +74 -0
  361. package/src/operationsInterfaces/sentinelOnboardingStates.ts +71 -0
  362. package/src/operationsInterfaces/sourceControlOperations.ts +32 -0
  363. package/src/operationsInterfaces/sourceControls.ts +75 -0
  364. package/src/operationsInterfaces/threatIntelligenceIndicator.ts +131 -0
  365. package/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.ts +27 -0
  366. package/src/operationsInterfaces/threatIntelligenceIndicators.ts +29 -0
  367. package/src/operationsInterfaces/watchlistItems.ts +83 -0
  368. package/src/operationsInterfaces/watchlists.ts +77 -0
  369. package/src/securityInsights.ts +211 -0
  370. package/tsconfig.json +19 -0
  371. package/types/arm-securityinsight.d.ts +9299 -0
  372. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,32 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ Repo,
12
+ RepoType,
13
+ SourceControlListRepositoriesOptionalParams
14
+ } from "../models";
15
+
16
+ /// <reference lib="esnext.asynciterable" />
17
+ /** Interface representing a SourceControlOperations. */
18
+ export interface SourceControlOperations {
19
+ /**
20
+ * Gets a list of repositories metadata.
21
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
22
+ * @param workspaceName The name of the workspace.
23
+ * @param repoType The repo type.
24
+ * @param options The options parameters.
25
+ */
26
+ listRepositories(
27
+ resourceGroupName: string,
28
+ workspaceName: string,
29
+ repoType: RepoType,
30
+ options?: SourceControlListRepositoriesOptionalParams
31
+ ): PagedAsyncIterableIterator<Repo>;
32
+ }
@@ -0,0 +1,75 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ SourceControl,
12
+ SourceControlsListOptionalParams,
13
+ SourceControlsGetOptionalParams,
14
+ SourceControlsGetResponse,
15
+ SourceControlsDeleteOptionalParams,
16
+ SourceControlsCreateOptionalParams,
17
+ SourceControlsCreateResponse
18
+ } from "../models";
19
+
20
+ /// <reference lib="esnext.asynciterable" />
21
+ /** Interface representing a SourceControls. */
22
+ export interface SourceControls {
23
+ /**
24
+ * Gets all source controls, without source control items.
25
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
+ * @param workspaceName The name of the workspace.
27
+ * @param options The options parameters.
28
+ */
29
+ list(
30
+ resourceGroupName: string,
31
+ workspaceName: string,
32
+ options?: SourceControlsListOptionalParams
33
+ ): PagedAsyncIterableIterator<SourceControl>;
34
+ /**
35
+ * Gets a source control byt its identifier.
36
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
37
+ * @param workspaceName The name of the workspace.
38
+ * @param sourceControlId Source control Id
39
+ * @param options The options parameters.
40
+ */
41
+ get(
42
+ resourceGroupName: string,
43
+ workspaceName: string,
44
+ sourceControlId: string,
45
+ options?: SourceControlsGetOptionalParams
46
+ ): Promise<SourceControlsGetResponse>;
47
+ /**
48
+ * Delete a source control.
49
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
50
+ * @param workspaceName The name of the workspace.
51
+ * @param sourceControlId Source control Id
52
+ * @param options The options parameters.
53
+ */
54
+ delete(
55
+ resourceGroupName: string,
56
+ workspaceName: string,
57
+ sourceControlId: string,
58
+ options?: SourceControlsDeleteOptionalParams
59
+ ): Promise<void>;
60
+ /**
61
+ * Creates a source control.
62
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
63
+ * @param workspaceName The name of the workspace.
64
+ * @param sourceControlId Source control Id
65
+ * @param sourceControl The SourceControl
66
+ * @param options The options parameters.
67
+ */
68
+ create(
69
+ resourceGroupName: string,
70
+ workspaceName: string,
71
+ sourceControlId: string,
72
+ sourceControl: SourceControl,
73
+ options?: SourceControlsCreateOptionalParams
74
+ ): Promise<SourceControlsCreateResponse>;
75
+ }
@@ -0,0 +1,131 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ ThreatIntelligenceInformationUnion,
12
+ ThreatIntelligenceFilteringCriteria,
13
+ ThreatIntelligenceIndicatorQueryIndicatorsOptionalParams,
14
+ ThreatIntelligenceIndicatorModelForRequestBody,
15
+ ThreatIntelligenceIndicatorCreateIndicatorOptionalParams,
16
+ ThreatIntelligenceIndicatorCreateIndicatorResponse,
17
+ ThreatIntelligenceIndicatorGetOptionalParams,
18
+ ThreatIntelligenceIndicatorGetResponse,
19
+ ThreatIntelligenceIndicatorCreateOptionalParams,
20
+ ThreatIntelligenceIndicatorCreateResponse,
21
+ ThreatIntelligenceIndicatorDeleteOptionalParams,
22
+ ThreatIntelligenceAppendTags,
23
+ ThreatIntelligenceIndicatorAppendTagsOptionalParams,
24
+ ThreatIntelligenceIndicatorReplaceTagsOptionalParams,
25
+ ThreatIntelligenceIndicatorReplaceTagsResponse
26
+ } from "../models";
27
+
28
+ /// <reference lib="esnext.asynciterable" />
29
+ /** Interface representing a ThreatIntelligenceIndicator. */
30
+ export interface ThreatIntelligenceIndicator {
31
+ /**
32
+ * Query threat intelligence indicators as per filtering criteria.
33
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
34
+ * @param workspaceName The name of the workspace.
35
+ * @param threatIntelligenceFilteringCriteria Filtering criteria for querying threat intelligence
36
+ * indicators.
37
+ * @param options The options parameters.
38
+ */
39
+ listQueryIndicators(
40
+ resourceGroupName: string,
41
+ workspaceName: string,
42
+ threatIntelligenceFilteringCriteria: ThreatIntelligenceFilteringCriteria,
43
+ options?: ThreatIntelligenceIndicatorQueryIndicatorsOptionalParams
44
+ ): PagedAsyncIterableIterator<ThreatIntelligenceInformationUnion>;
45
+ /**
46
+ * Create a new threat intelligence indicator.
47
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
48
+ * @param workspaceName The name of the workspace.
49
+ * @param threatIntelligenceProperties Properties of threat intelligence indicators to create and
50
+ * update.
51
+ * @param options The options parameters.
52
+ */
53
+ createIndicator(
54
+ resourceGroupName: string,
55
+ workspaceName: string,
56
+ threatIntelligenceProperties: ThreatIntelligenceIndicatorModelForRequestBody,
57
+ options?: ThreatIntelligenceIndicatorCreateIndicatorOptionalParams
58
+ ): Promise<ThreatIntelligenceIndicatorCreateIndicatorResponse>;
59
+ /**
60
+ * View a threat intelligence indicator by name.
61
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
62
+ * @param workspaceName The name of the workspace.
63
+ * @param name Threat intelligence indicator name field.
64
+ * @param options The options parameters.
65
+ */
66
+ get(
67
+ resourceGroupName: string,
68
+ workspaceName: string,
69
+ name: string,
70
+ options?: ThreatIntelligenceIndicatorGetOptionalParams
71
+ ): Promise<ThreatIntelligenceIndicatorGetResponse>;
72
+ /**
73
+ * Update a threat Intelligence indicator.
74
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
75
+ * @param workspaceName The name of the workspace.
76
+ * @param name Threat intelligence indicator name field.
77
+ * @param threatIntelligenceProperties Properties of threat intelligence indicators to create and
78
+ * update.
79
+ * @param options The options parameters.
80
+ */
81
+ create(
82
+ resourceGroupName: string,
83
+ workspaceName: string,
84
+ name: string,
85
+ threatIntelligenceProperties: ThreatIntelligenceIndicatorModelForRequestBody,
86
+ options?: ThreatIntelligenceIndicatorCreateOptionalParams
87
+ ): Promise<ThreatIntelligenceIndicatorCreateResponse>;
88
+ /**
89
+ * Delete a threat intelligence indicator.
90
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
91
+ * @param workspaceName The name of the workspace.
92
+ * @param name Threat intelligence indicator name field.
93
+ * @param options The options parameters.
94
+ */
95
+ delete(
96
+ resourceGroupName: string,
97
+ workspaceName: string,
98
+ name: string,
99
+ options?: ThreatIntelligenceIndicatorDeleteOptionalParams
100
+ ): Promise<void>;
101
+ /**
102
+ * Append tags to a threat intelligence indicator.
103
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
104
+ * @param workspaceName The name of the workspace.
105
+ * @param name Threat intelligence indicator name field.
106
+ * @param threatIntelligenceAppendTags The threat intelligence append tags request body
107
+ * @param options The options parameters.
108
+ */
109
+ appendTags(
110
+ resourceGroupName: string,
111
+ workspaceName: string,
112
+ name: string,
113
+ threatIntelligenceAppendTags: ThreatIntelligenceAppendTags,
114
+ options?: ThreatIntelligenceIndicatorAppendTagsOptionalParams
115
+ ): Promise<void>;
116
+ /**
117
+ * Replace tags added to a threat intelligence indicator.
118
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
119
+ * @param workspaceName The name of the workspace.
120
+ * @param name Threat intelligence indicator name field.
121
+ * @param threatIntelligenceReplaceTags Tags in the threat intelligence indicator to be replaced.
122
+ * @param options The options parameters.
123
+ */
124
+ replaceTags(
125
+ resourceGroupName: string,
126
+ workspaceName: string,
127
+ name: string,
128
+ threatIntelligenceReplaceTags: ThreatIntelligenceIndicatorModelForRequestBody,
129
+ options?: ThreatIntelligenceIndicatorReplaceTagsOptionalParams
130
+ ): Promise<ThreatIntelligenceIndicatorReplaceTagsResponse>;
131
+ }
@@ -0,0 +1,27 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import {
10
+ ThreatIntelligenceIndicatorMetricsListOptionalParams,
11
+ ThreatIntelligenceIndicatorMetricsListResponse
12
+ } from "../models";
13
+
14
+ /** Interface representing a ThreatIntelligenceIndicatorMetrics. */
15
+ export interface ThreatIntelligenceIndicatorMetrics {
16
+ /**
17
+ * Get threat intelligence indicators metrics (Indicators counts by Type, Threat Type, Source).
18
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
19
+ * @param workspaceName The name of the workspace.
20
+ * @param options The options parameters.
21
+ */
22
+ list(
23
+ resourceGroupName: string,
24
+ workspaceName: string,
25
+ options?: ThreatIntelligenceIndicatorMetricsListOptionalParams
26
+ ): Promise<ThreatIntelligenceIndicatorMetricsListResponse>;
27
+ }
@@ -0,0 +1,29 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ ThreatIntelligenceInformationUnion,
12
+ ThreatIntelligenceIndicatorsListOptionalParams
13
+ } from "../models";
14
+
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Interface representing a ThreatIntelligenceIndicators. */
17
+ export interface ThreatIntelligenceIndicators {
18
+ /**
19
+ * Get all threat intelligence indicators.
20
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
21
+ * @param workspaceName The name of the workspace.
22
+ * @param options The options parameters.
23
+ */
24
+ list(
25
+ resourceGroupName: string,
26
+ workspaceName: string,
27
+ options?: ThreatIntelligenceIndicatorsListOptionalParams
28
+ ): PagedAsyncIterableIterator<ThreatIntelligenceInformationUnion>;
29
+ }
@@ -0,0 +1,83 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ WatchlistItem,
12
+ WatchlistItemsListOptionalParams,
13
+ WatchlistItemsGetOptionalParams,
14
+ WatchlistItemsGetResponse,
15
+ WatchlistItemsDeleteOptionalParams,
16
+ WatchlistItemsCreateOrUpdateOptionalParams,
17
+ WatchlistItemsCreateOrUpdateResponse
18
+ } from "../models";
19
+
20
+ /// <reference lib="esnext.asynciterable" />
21
+ /** Interface representing a WatchlistItems. */
22
+ export interface WatchlistItems {
23
+ /**
24
+ * Gets all watchlist Items.
25
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
+ * @param workspaceName The name of the workspace.
27
+ * @param watchlistAlias Watchlist Alias
28
+ * @param options The options parameters.
29
+ */
30
+ list(
31
+ resourceGroupName: string,
32
+ workspaceName: string,
33
+ watchlistAlias: string,
34
+ options?: WatchlistItemsListOptionalParams
35
+ ): PagedAsyncIterableIterator<WatchlistItem>;
36
+ /**
37
+ * Gets a watchlist, without its watchlist items.
38
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
39
+ * @param workspaceName The name of the workspace.
40
+ * @param watchlistAlias Watchlist Alias
41
+ * @param watchlistItemId Watchlist Item Id (GUID)
42
+ * @param options The options parameters.
43
+ */
44
+ get(
45
+ resourceGroupName: string,
46
+ workspaceName: string,
47
+ watchlistAlias: string,
48
+ watchlistItemId: string,
49
+ options?: WatchlistItemsGetOptionalParams
50
+ ): Promise<WatchlistItemsGetResponse>;
51
+ /**
52
+ * Delete a watchlist item.
53
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
54
+ * @param workspaceName The name of the workspace.
55
+ * @param watchlistAlias Watchlist Alias
56
+ * @param watchlistItemId Watchlist Item Id (GUID)
57
+ * @param options The options parameters.
58
+ */
59
+ delete(
60
+ resourceGroupName: string,
61
+ workspaceName: string,
62
+ watchlistAlias: string,
63
+ watchlistItemId: string,
64
+ options?: WatchlistItemsDeleteOptionalParams
65
+ ): Promise<void>;
66
+ /**
67
+ * Creates or updates a watchlist item.
68
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
69
+ * @param workspaceName The name of the workspace.
70
+ * @param watchlistAlias Watchlist Alias
71
+ * @param watchlistItemId Watchlist Item Id (GUID)
72
+ * @param watchlistItem The watchlist item
73
+ * @param options The options parameters.
74
+ */
75
+ createOrUpdate(
76
+ resourceGroupName: string,
77
+ workspaceName: string,
78
+ watchlistAlias: string,
79
+ watchlistItemId: string,
80
+ watchlistItem: WatchlistItem,
81
+ options?: WatchlistItemsCreateOrUpdateOptionalParams
82
+ ): Promise<WatchlistItemsCreateOrUpdateResponse>;
83
+ }
@@ -0,0 +1,77 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ Watchlist,
12
+ WatchlistsListOptionalParams,
13
+ WatchlistsGetOptionalParams,
14
+ WatchlistsGetResponse,
15
+ WatchlistsDeleteOptionalParams,
16
+ WatchlistsCreateOrUpdateOptionalParams,
17
+ WatchlistsCreateOrUpdateResponse
18
+ } from "../models";
19
+
20
+ /// <reference lib="esnext.asynciterable" />
21
+ /** Interface representing a Watchlists. */
22
+ export interface Watchlists {
23
+ /**
24
+ * Gets all watchlists, without watchlist items.
25
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
+ * @param workspaceName The name of the workspace.
27
+ * @param options The options parameters.
28
+ */
29
+ list(
30
+ resourceGroupName: string,
31
+ workspaceName: string,
32
+ options?: WatchlistsListOptionalParams
33
+ ): PagedAsyncIterableIterator<Watchlist>;
34
+ /**
35
+ * Gets a watchlist, without its watchlist items.
36
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
37
+ * @param workspaceName The name of the workspace.
38
+ * @param watchlistAlias Watchlist Alias
39
+ * @param options The options parameters.
40
+ */
41
+ get(
42
+ resourceGroupName: string,
43
+ workspaceName: string,
44
+ watchlistAlias: string,
45
+ options?: WatchlistsGetOptionalParams
46
+ ): Promise<WatchlistsGetResponse>;
47
+ /**
48
+ * Delete a watchlist.
49
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
50
+ * @param workspaceName The name of the workspace.
51
+ * @param watchlistAlias Watchlist Alias
52
+ * @param options The options parameters.
53
+ */
54
+ delete(
55
+ resourceGroupName: string,
56
+ workspaceName: string,
57
+ watchlistAlias: string,
58
+ options?: WatchlistsDeleteOptionalParams
59
+ ): Promise<void>;
60
+ /**
61
+ * Creates or updates a watchlist and its watchlist items (bulk creation, e.g. through text/csv content
62
+ * type). To create a Watchlist and its items, we should call this endpoint with rawContent and
63
+ * contentType properties.
64
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
65
+ * @param workspaceName The name of the workspace.
66
+ * @param watchlistAlias Watchlist Alias
67
+ * @param watchlist The watchlist
68
+ * @param options The options parameters.
69
+ */
70
+ createOrUpdate(
71
+ resourceGroupName: string,
72
+ workspaceName: string,
73
+ watchlistAlias: string,
74
+ watchlist: Watchlist,
75
+ options?: WatchlistsCreateOrUpdateOptionalParams
76
+ ): Promise<WatchlistsCreateOrUpdateResponse>;
77
+ }
@@ -0,0 +1,211 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as coreAuth from "@azure/core-auth";
11
+ import {
12
+ AlertRulesImpl,
13
+ ActionsImpl,
14
+ AlertRuleTemplatesImpl,
15
+ AutomationRulesImpl,
16
+ BookmarksImpl,
17
+ BookmarkRelationsImpl,
18
+ BookmarkOperationsImpl,
19
+ IPGeodataImpl,
20
+ DomainWhoisImpl,
21
+ EntityQueriesImpl,
22
+ EntitiesImpl,
23
+ EntitiesGetTimelineImpl,
24
+ EntitiesRelationsImpl,
25
+ EntityRelationsImpl,
26
+ IncidentsImpl,
27
+ IncidentCommentsImpl,
28
+ IncidentRelationsImpl,
29
+ MetadataImpl,
30
+ SentinelOnboardingStatesImpl,
31
+ ProductSettingsImpl,
32
+ SourceControlOperationsImpl,
33
+ SourceControlsImpl,
34
+ WatchlistsImpl,
35
+ WatchlistItemsImpl,
36
+ DataConnectorsImpl,
37
+ DataConnectorsCheckRequirementsOperationsImpl,
38
+ ThreatIntelligenceIndicatorImpl,
39
+ ThreatIntelligenceIndicatorsImpl,
40
+ ThreatIntelligenceIndicatorMetricsImpl,
41
+ OperationsImpl,
42
+ OfficeConsentsImpl,
43
+ EntityQueryTemplatesImpl
44
+ } from "./operations";
45
+ import {
46
+ AlertRules,
47
+ Actions,
48
+ AlertRuleTemplates,
49
+ AutomationRules,
50
+ Bookmarks,
51
+ BookmarkRelations,
52
+ BookmarkOperations,
53
+ IPGeodata,
54
+ DomainWhois,
55
+ EntityQueries,
56
+ Entities,
57
+ EntitiesGetTimeline,
58
+ EntitiesRelations,
59
+ EntityRelations,
60
+ Incidents,
61
+ IncidentComments,
62
+ IncidentRelations,
63
+ Metadata,
64
+ SentinelOnboardingStates,
65
+ ProductSettings,
66
+ SourceControlOperations,
67
+ SourceControls,
68
+ Watchlists,
69
+ WatchlistItems,
70
+ DataConnectors,
71
+ DataConnectorsCheckRequirementsOperations,
72
+ ThreatIntelligenceIndicator,
73
+ ThreatIntelligenceIndicators,
74
+ ThreatIntelligenceIndicatorMetrics,
75
+ Operations,
76
+ OfficeConsents,
77
+ EntityQueryTemplates
78
+ } from "./operationsInterfaces";
79
+ import { SecurityInsightsOptionalParams } from "./models";
80
+
81
+ export class SecurityInsights extends coreClient.ServiceClient {
82
+ $host: string;
83
+ apiVersion: string;
84
+ subscriptionId: string;
85
+
86
+ /**
87
+ * Initializes a new instance of the SecurityInsights class.
88
+ * @param credentials Subscription credentials which uniquely identify client subscription.
89
+ * @param subscriptionId The ID of the target subscription.
90
+ * @param options The parameter options
91
+ */
92
+ constructor(
93
+ credentials: coreAuth.TokenCredential,
94
+ subscriptionId: string,
95
+ options?: SecurityInsightsOptionalParams
96
+ ) {
97
+ if (credentials === undefined) {
98
+ throw new Error("'credentials' cannot be null");
99
+ }
100
+ if (subscriptionId === undefined) {
101
+ throw new Error("'subscriptionId' cannot be null");
102
+ }
103
+
104
+ // Initializing default values for options
105
+ if (!options) {
106
+ options = {};
107
+ }
108
+ const defaults: SecurityInsightsOptionalParams = {
109
+ requestContentType: "application/json; charset=utf-8",
110
+ credential: credentials
111
+ };
112
+
113
+ const packageDetails = `azsdk-js-arm-securityinsight/1.0.0-beta.1`;
114
+ const userAgentPrefix =
115
+ options.userAgentOptions && options.userAgentOptions.userAgentPrefix
116
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
117
+ : `${packageDetails}`;
118
+
119
+ if (!options.credentialScopes) {
120
+ options.credentialScopes = ["https://management.azure.com/.default"];
121
+ }
122
+ const optionsWithDefaults = {
123
+ ...defaults,
124
+ ...options,
125
+ userAgentOptions: {
126
+ userAgentPrefix
127
+ },
128
+ baseUri: options.endpoint || "https://management.azure.com"
129
+ };
130
+ super(optionsWithDefaults);
131
+ // Parameter assignments
132
+ this.subscriptionId = subscriptionId;
133
+
134
+ // Assigning values to Constant parameters
135
+ this.$host = options.$host || "https://management.azure.com";
136
+ this.apiVersion = options.apiVersion || "2021-09-01-preview";
137
+ this.alertRules = new AlertRulesImpl(this);
138
+ this.actions = new ActionsImpl(this);
139
+ this.alertRuleTemplates = new AlertRuleTemplatesImpl(this);
140
+ this.automationRules = new AutomationRulesImpl(this);
141
+ this.bookmarks = new BookmarksImpl(this);
142
+ this.bookmarkRelations = new BookmarkRelationsImpl(this);
143
+ this.bookmarkOperations = new BookmarkOperationsImpl(this);
144
+ this.iPGeodata = new IPGeodataImpl(this);
145
+ this.domainWhois = new DomainWhoisImpl(this);
146
+ this.entityQueries = new EntityQueriesImpl(this);
147
+ this.entities = new EntitiesImpl(this);
148
+ this.entitiesGetTimeline = new EntitiesGetTimelineImpl(this);
149
+ this.entitiesRelations = new EntitiesRelationsImpl(this);
150
+ this.entityRelations = new EntityRelationsImpl(this);
151
+ this.incidents = new IncidentsImpl(this);
152
+ this.incidentComments = new IncidentCommentsImpl(this);
153
+ this.incidentRelations = new IncidentRelationsImpl(this);
154
+ this.metadata = new MetadataImpl(this);
155
+ this.sentinelOnboardingStates = new SentinelOnboardingStatesImpl(this);
156
+ this.productSettings = new ProductSettingsImpl(this);
157
+ this.sourceControlOperations = new SourceControlOperationsImpl(this);
158
+ this.sourceControls = new SourceControlsImpl(this);
159
+ this.watchlists = new WatchlistsImpl(this);
160
+ this.watchlistItems = new WatchlistItemsImpl(this);
161
+ this.dataConnectors = new DataConnectorsImpl(this);
162
+ this.dataConnectorsCheckRequirementsOperations = new DataConnectorsCheckRequirementsOperationsImpl(
163
+ this
164
+ );
165
+ this.threatIntelligenceIndicator = new ThreatIntelligenceIndicatorImpl(
166
+ this
167
+ );
168
+ this.threatIntelligenceIndicators = new ThreatIntelligenceIndicatorsImpl(
169
+ this
170
+ );
171
+ this.threatIntelligenceIndicatorMetrics = new ThreatIntelligenceIndicatorMetricsImpl(
172
+ this
173
+ );
174
+ this.operations = new OperationsImpl(this);
175
+ this.officeConsents = new OfficeConsentsImpl(this);
176
+ this.entityQueryTemplates = new EntityQueryTemplatesImpl(this);
177
+ }
178
+
179
+ alertRules: AlertRules;
180
+ actions: Actions;
181
+ alertRuleTemplates: AlertRuleTemplates;
182
+ automationRules: AutomationRules;
183
+ bookmarks: Bookmarks;
184
+ bookmarkRelations: BookmarkRelations;
185
+ bookmarkOperations: BookmarkOperations;
186
+ iPGeodata: IPGeodata;
187
+ domainWhois: DomainWhois;
188
+ entityQueries: EntityQueries;
189
+ entities: Entities;
190
+ entitiesGetTimeline: EntitiesGetTimeline;
191
+ entitiesRelations: EntitiesRelations;
192
+ entityRelations: EntityRelations;
193
+ incidents: Incidents;
194
+ incidentComments: IncidentComments;
195
+ incidentRelations: IncidentRelations;
196
+ metadata: Metadata;
197
+ sentinelOnboardingStates: SentinelOnboardingStates;
198
+ productSettings: ProductSettings;
199
+ sourceControlOperations: SourceControlOperations;
200
+ sourceControls: SourceControls;
201
+ watchlists: Watchlists;
202
+ watchlistItems: WatchlistItems;
203
+ dataConnectors: DataConnectors;
204
+ dataConnectorsCheckRequirementsOperations: DataConnectorsCheckRequirementsOperations;
205
+ threatIntelligenceIndicator: ThreatIntelligenceIndicator;
206
+ threatIntelligenceIndicators: ThreatIntelligenceIndicators;
207
+ threatIntelligenceIndicatorMetrics: ThreatIntelligenceIndicatorMetrics;
208
+ operations: Operations;
209
+ officeConsents: OfficeConsents;
210
+ entityQueryTemplates: EntityQueryTemplates;
211
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "compilerOptions": {
3
+ "module": "es6",
4
+ "moduleResolution": "node",
5
+ "strict": true,
6
+ "target": "es6",
7
+ "sourceMap": true,
8
+ "declarationMap": true,
9
+ "esModuleInterop": true,
10
+ "allowSyntheticDefaultImports": true,
11
+ "forceConsistentCasingInFileNames": true,
12
+ "lib": ["es6", "dom"],
13
+ "declaration": true,
14
+ "outDir": "./dist-esm",
15
+ "importHelpers": true
16
+ },
17
+ "include": ["./src/**/*.ts", "./test/**/*.ts"],
18
+ "exclude": ["node_modules"]
19
+ }