@azure/arm-securityinsight 1.0.0-alpha.20220119.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +108 -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,143 @@
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
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing SourceControlOperations operations. */
14
+ export class SourceControlOperationsImpl {
15
+ /**
16
+ * Initialize a new instance of the class SourceControlOperations class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Gets a list of repositories metadata.
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param workspaceName The name of the workspace.
26
+ * @param repoType The repo type.
27
+ * @param options The options parameters.
28
+ */
29
+ listRepositories(resourceGroupName, workspaceName, repoType, options) {
30
+ const iter = this.listRepositoriesPagingAll(resourceGroupName, workspaceName, repoType, options);
31
+ return {
32
+ next() {
33
+ return iter.next();
34
+ },
35
+ [Symbol.asyncIterator]() {
36
+ return this;
37
+ },
38
+ byPage: () => {
39
+ return this.listRepositoriesPagingPage(resourceGroupName, workspaceName, repoType, options);
40
+ }
41
+ };
42
+ }
43
+ listRepositoriesPagingPage(resourceGroupName, workspaceName, repoType, options) {
44
+ return __asyncGenerator(this, arguments, function* listRepositoriesPagingPage_1() {
45
+ let result = yield __await(this._listRepositories(resourceGroupName, workspaceName, repoType, options));
46
+ yield yield __await(result.value || []);
47
+ let continuationToken = result.nextLink;
48
+ while (continuationToken) {
49
+ result = yield __await(this._listRepositoriesNext(resourceGroupName, workspaceName, repoType, continuationToken, options));
50
+ continuationToken = result.nextLink;
51
+ yield yield __await(result.value || []);
52
+ }
53
+ });
54
+ }
55
+ listRepositoriesPagingAll(resourceGroupName, workspaceName, repoType, options) {
56
+ return __asyncGenerator(this, arguments, function* listRepositoriesPagingAll_1() {
57
+ var e_1, _a;
58
+ try {
59
+ for (var _b = __asyncValues(this.listRepositoriesPagingPage(resourceGroupName, workspaceName, repoType, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
60
+ const page = _c.value;
61
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
62
+ }
63
+ }
64
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
65
+ finally {
66
+ try {
67
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
68
+ }
69
+ finally { if (e_1) throw e_1.error; }
70
+ }
71
+ });
72
+ }
73
+ /**
74
+ * Gets a list of repositories metadata.
75
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
76
+ * @param workspaceName The name of the workspace.
77
+ * @param repoType The repo type.
78
+ * @param options The options parameters.
79
+ */
80
+ _listRepositories(resourceGroupName, workspaceName, repoType, options) {
81
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, repoType, options }, listRepositoriesOperationSpec);
82
+ }
83
+ /**
84
+ * ListRepositoriesNext
85
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
86
+ * @param workspaceName The name of the workspace.
87
+ * @param repoType The repo type.
88
+ * @param nextLink The nextLink from the previous successful call to the ListRepositories method.
89
+ * @param options The options parameters.
90
+ */
91
+ _listRepositoriesNext(resourceGroupName, workspaceName, repoType, nextLink, options) {
92
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, repoType, nextLink, options }, listRepositoriesNextOperationSpec);
93
+ }
94
+ }
95
+ // Operation Specifications
96
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
97
+ const listRepositoriesOperationSpec = {
98
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/listRepositories",
99
+ httpMethod: "POST",
100
+ responses: {
101
+ 200: {
102
+ bodyMapper: Mappers.RepoList
103
+ },
104
+ default: {
105
+ bodyMapper: Mappers.CloudError
106
+ }
107
+ },
108
+ requestBody: Parameters.repoType,
109
+ queryParameters: [Parameters.apiVersion],
110
+ urlParameters: [
111
+ Parameters.$host,
112
+ Parameters.subscriptionId,
113
+ Parameters.resourceGroupName,
114
+ Parameters.workspaceName
115
+ ],
116
+ headerParameters: [Parameters.accept, Parameters.contentType],
117
+ mediaType: "json",
118
+ serializer
119
+ };
120
+ const listRepositoriesNextOperationSpec = {
121
+ path: "{nextLink}",
122
+ httpMethod: "GET",
123
+ responses: {
124
+ 200: {
125
+ bodyMapper: Mappers.RepoList
126
+ },
127
+ default: {
128
+ bodyMapper: Mappers.CloudError
129
+ }
130
+ },
131
+ queryParameters: [Parameters.apiVersion],
132
+ urlParameters: [
133
+ Parameters.$host,
134
+ Parameters.subscriptionId,
135
+ Parameters.resourceGroupName,
136
+ Parameters.workspaceName,
137
+ Parameters.nextLink
138
+ ],
139
+ headerParameters: [Parameters.accept, Parameters.contentType],
140
+ mediaType: "json",
141
+ serializer
142
+ };
143
+ //# sourceMappingURL=sourceControlOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceControlOperations.js","sourceRoot":"","sources":["../../../src/operations/sourceControlOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM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AC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
@@ -0,0 +1,63 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SourceControls } from "../operationsInterfaces";
3
+ import { SecurityInsights } from "../securityInsights";
4
+ import { SourceControl, SourceControlsListOptionalParams, SourceControlsGetOptionalParams, SourceControlsGetResponse, SourceControlsDeleteOptionalParams, SourceControlsCreateOptionalParams, SourceControlsCreateResponse } from "../models";
5
+ /** Class containing SourceControls operations. */
6
+ export declare class SourceControlsImpl implements SourceControls {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class SourceControls class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: SecurityInsights);
13
+ /**
14
+ * Gets all source controls, without source control items.
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param workspaceName The name of the workspace.
17
+ * @param options The options parameters.
18
+ */
19
+ list(resourceGroupName: string, workspaceName: string, options?: SourceControlsListOptionalParams): PagedAsyncIterableIterator<SourceControl>;
20
+ private listPagingPage;
21
+ private listPagingAll;
22
+ /**
23
+ * Gets all source controls, without source control items.
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param workspaceName The name of the workspace.
26
+ * @param options The options parameters.
27
+ */
28
+ private _list;
29
+ /**
30
+ * Gets a source control byt its identifier.
31
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
32
+ * @param workspaceName The name of the workspace.
33
+ * @param sourceControlId Source control Id
34
+ * @param options The options parameters.
35
+ */
36
+ get(resourceGroupName: string, workspaceName: string, sourceControlId: string, options?: SourceControlsGetOptionalParams): Promise<SourceControlsGetResponse>;
37
+ /**
38
+ * Delete a source control.
39
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
40
+ * @param workspaceName The name of the workspace.
41
+ * @param sourceControlId Source control Id
42
+ * @param options The options parameters.
43
+ */
44
+ delete(resourceGroupName: string, workspaceName: string, sourceControlId: string, options?: SourceControlsDeleteOptionalParams): Promise<void>;
45
+ /**
46
+ * Creates a source control.
47
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
48
+ * @param workspaceName The name of the workspace.
49
+ * @param sourceControlId Source control Id
50
+ * @param sourceControl The SourceControl
51
+ * @param options The options parameters.
52
+ */
53
+ create(resourceGroupName: string, workspaceName: string, sourceControlId: string, sourceControl: SourceControl, options?: SourceControlsCreateOptionalParams): Promise<SourceControlsCreateResponse>;
54
+ /**
55
+ * ListNext
56
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
57
+ * @param workspaceName The name of the workspace.
58
+ * @param nextLink The nextLink from the previous successful call to the List method.
59
+ * @param options The options parameters.
60
+ */
61
+ private _listNext;
62
+ }
63
+ //# sourceMappingURL=sourceControls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"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4B,CAAC;IAaxC;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
@@ -0,0 +1,244 @@
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
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing SourceControls operations. */
14
+ export class SourceControlsImpl {
15
+ /**
16
+ * Initialize a new instance of the class SourceControls class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Gets all source controls, without source control items.
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param workspaceName The name of the workspace.
26
+ * @param options The options parameters.
27
+ */
28
+ list(resourceGroupName, workspaceName, options) {
29
+ const iter = this.listPagingAll(resourceGroupName, workspaceName, options);
30
+ return {
31
+ next() {
32
+ return iter.next();
33
+ },
34
+ [Symbol.asyncIterator]() {
35
+ return this;
36
+ },
37
+ byPage: () => {
38
+ return this.listPagingPage(resourceGroupName, workspaceName, options);
39
+ }
40
+ };
41
+ }
42
+ listPagingPage(resourceGroupName, workspaceName, options) {
43
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
44
+ let result = yield __await(this._list(resourceGroupName, workspaceName, options));
45
+ yield yield __await(result.value || []);
46
+ let continuationToken = result.nextLink;
47
+ while (continuationToken) {
48
+ result = yield __await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
49
+ continuationToken = result.nextLink;
50
+ yield yield __await(result.value || []);
51
+ }
52
+ });
53
+ }
54
+ listPagingAll(resourceGroupName, workspaceName, options) {
55
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
56
+ var e_1, _a;
57
+ try {
58
+ for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, workspaceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
59
+ const page = _c.value;
60
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
61
+ }
62
+ }
63
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
64
+ finally {
65
+ try {
66
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
67
+ }
68
+ finally { if (e_1) throw e_1.error; }
69
+ }
70
+ });
71
+ }
72
+ /**
73
+ * Gets all source controls, without source control items.
74
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
75
+ * @param workspaceName The name of the workspace.
76
+ * @param options The options parameters.
77
+ */
78
+ _list(resourceGroupName, workspaceName, options) {
79
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec);
80
+ }
81
+ /**
82
+ * Gets a source control byt its identifier.
83
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
84
+ * @param workspaceName The name of the workspace.
85
+ * @param sourceControlId Source control Id
86
+ * @param options The options parameters.
87
+ */
88
+ get(resourceGroupName, workspaceName, sourceControlId, options) {
89
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, sourceControlId, options }, getOperationSpec);
90
+ }
91
+ /**
92
+ * Delete a source control.
93
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
94
+ * @param workspaceName The name of the workspace.
95
+ * @param sourceControlId Source control Id
96
+ * @param options The options parameters.
97
+ */
98
+ delete(resourceGroupName, workspaceName, sourceControlId, options) {
99
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, sourceControlId, options }, deleteOperationSpec);
100
+ }
101
+ /**
102
+ * Creates a source control.
103
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
104
+ * @param workspaceName The name of the workspace.
105
+ * @param sourceControlId Source control Id
106
+ * @param sourceControl The SourceControl
107
+ * @param options The options parameters.
108
+ */
109
+ create(resourceGroupName, workspaceName, sourceControlId, sourceControl, options) {
110
+ return this.client.sendOperationRequest({
111
+ resourceGroupName,
112
+ workspaceName,
113
+ sourceControlId,
114
+ sourceControl,
115
+ options
116
+ }, createOperationSpec);
117
+ }
118
+ /**
119
+ * ListNext
120
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
121
+ * @param workspaceName The name of the workspace.
122
+ * @param nextLink The nextLink from the previous successful call to the List method.
123
+ * @param options The options parameters.
124
+ */
125
+ _listNext(resourceGroupName, workspaceName, nextLink, options) {
126
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec);
127
+ }
128
+ }
129
+ // Operation Specifications
130
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
131
+ const listOperationSpec = {
132
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols",
133
+ httpMethod: "GET",
134
+ responses: {
135
+ 200: {
136
+ bodyMapper: Mappers.SourceControlList
137
+ },
138
+ default: {
139
+ bodyMapper: Mappers.CloudError
140
+ }
141
+ },
142
+ queryParameters: [Parameters.apiVersion],
143
+ urlParameters: [
144
+ Parameters.$host,
145
+ Parameters.subscriptionId,
146
+ Parameters.resourceGroupName,
147
+ Parameters.workspaceName
148
+ ],
149
+ headerParameters: [Parameters.accept],
150
+ serializer
151
+ };
152
+ const getOperationSpec = {
153
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}",
154
+ httpMethod: "GET",
155
+ responses: {
156
+ 200: {
157
+ bodyMapper: Mappers.SourceControl
158
+ },
159
+ default: {
160
+ bodyMapper: Mappers.CloudError
161
+ }
162
+ },
163
+ queryParameters: [Parameters.apiVersion],
164
+ urlParameters: [
165
+ Parameters.$host,
166
+ Parameters.subscriptionId,
167
+ Parameters.resourceGroupName,
168
+ Parameters.workspaceName,
169
+ Parameters.sourceControlId
170
+ ],
171
+ headerParameters: [Parameters.accept],
172
+ serializer
173
+ };
174
+ const deleteOperationSpec = {
175
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}",
176
+ httpMethod: "DELETE",
177
+ responses: {
178
+ 200: {},
179
+ 204: {},
180
+ default: {
181
+ bodyMapper: Mappers.CloudError
182
+ }
183
+ },
184
+ queryParameters: [Parameters.apiVersion],
185
+ urlParameters: [
186
+ Parameters.$host,
187
+ Parameters.subscriptionId,
188
+ Parameters.resourceGroupName,
189
+ Parameters.workspaceName,
190
+ Parameters.sourceControlId
191
+ ],
192
+ headerParameters: [Parameters.accept],
193
+ serializer
194
+ };
195
+ const createOperationSpec = {
196
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}",
197
+ httpMethod: "PUT",
198
+ responses: {
199
+ 200: {
200
+ bodyMapper: Mappers.SourceControl
201
+ },
202
+ 201: {
203
+ bodyMapper: Mappers.SourceControl
204
+ },
205
+ default: {
206
+ bodyMapper: Mappers.CloudError
207
+ }
208
+ },
209
+ requestBody: Parameters.sourceControl,
210
+ queryParameters: [Parameters.apiVersion],
211
+ urlParameters: [
212
+ Parameters.$host,
213
+ Parameters.subscriptionId,
214
+ Parameters.resourceGroupName,
215
+ Parameters.workspaceName,
216
+ Parameters.sourceControlId
217
+ ],
218
+ headerParameters: [Parameters.accept, Parameters.contentType],
219
+ mediaType: "json",
220
+ serializer
221
+ };
222
+ const listNextOperationSpec = {
223
+ path: "{nextLink}",
224
+ httpMethod: "GET",
225
+ responses: {
226
+ 200: {
227
+ bodyMapper: Mappers.SourceControlList
228
+ },
229
+ default: {
230
+ bodyMapper: Mappers.CloudError
231
+ }
232
+ },
233
+ queryParameters: [Parameters.apiVersion],
234
+ urlParameters: [
235
+ Parameters.$host,
236
+ Parameters.subscriptionId,
237
+ Parameters.resourceGroupName,
238
+ Parameters.workspaceName,
239
+ Parameters.nextLink
240
+ ],
241
+ headerParameters: [Parameters.accept],
242
+ serializer
243
+ };
244
+ //# sourceMappingURL=sourceControls.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceControls.js","sourceRoot":"","sources":["../../../src/operations/sourceControls.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAenD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,aAAqB,EACrB,OAA0C;QAE1C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;YACxE,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,aAAqB,EACrB,OAA0C;;YAE1C,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA,C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,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,97 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ThreatIntelligenceIndicator } from "../operationsInterfaces";
3
+ import { SecurityInsights } from "../securityInsights";
4
+ import { ThreatIntelligenceInformationUnion, ThreatIntelligenceFilteringCriteria, ThreatIntelligenceIndicatorQueryIndicatorsOptionalParams, ThreatIntelligenceIndicatorModelForRequestBody, ThreatIntelligenceIndicatorCreateIndicatorOptionalParams, ThreatIntelligenceIndicatorCreateIndicatorResponse, ThreatIntelligenceIndicatorGetOptionalParams, ThreatIntelligenceIndicatorGetResponse, ThreatIntelligenceIndicatorCreateOptionalParams, ThreatIntelligenceIndicatorCreateResponse, ThreatIntelligenceIndicatorDeleteOptionalParams, ThreatIntelligenceAppendTags, ThreatIntelligenceIndicatorAppendTagsOptionalParams, ThreatIntelligenceIndicatorReplaceTagsOptionalParams, ThreatIntelligenceIndicatorReplaceTagsResponse } from "../models";
5
+ /** Class containing ThreatIntelligenceIndicator operations. */
6
+ export declare class ThreatIntelligenceIndicatorImpl implements ThreatIntelligenceIndicator {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class ThreatIntelligenceIndicator class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: SecurityInsights);
13
+ /**
14
+ * Query threat intelligence indicators as per filtering criteria.
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param workspaceName The name of the workspace.
17
+ * @param threatIntelligenceFilteringCriteria Filtering criteria for querying threat intelligence
18
+ * indicators.
19
+ * @param options The options parameters.
20
+ */
21
+ listQueryIndicators(resourceGroupName: string, workspaceName: string, threatIntelligenceFilteringCriteria: ThreatIntelligenceFilteringCriteria, options?: ThreatIntelligenceIndicatorQueryIndicatorsOptionalParams): PagedAsyncIterableIterator<ThreatIntelligenceInformationUnion>;
22
+ private queryIndicatorsPagingPage;
23
+ private queryIndicatorsPagingAll;
24
+ /**
25
+ * Create a new threat intelligence indicator.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param workspaceName The name of the workspace.
28
+ * @param threatIntelligenceProperties Properties of threat intelligence indicators to create and
29
+ * update.
30
+ * @param options The options parameters.
31
+ */
32
+ createIndicator(resourceGroupName: string, workspaceName: string, threatIntelligenceProperties: ThreatIntelligenceIndicatorModelForRequestBody, options?: ThreatIntelligenceIndicatorCreateIndicatorOptionalParams): Promise<ThreatIntelligenceIndicatorCreateIndicatorResponse>;
33
+ /**
34
+ * View a threat intelligence indicator by name.
35
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
36
+ * @param workspaceName The name of the workspace.
37
+ * @param name Threat intelligence indicator name field.
38
+ * @param options The options parameters.
39
+ */
40
+ get(resourceGroupName: string, workspaceName: string, name: string, options?: ThreatIntelligenceIndicatorGetOptionalParams): Promise<ThreatIntelligenceIndicatorGetResponse>;
41
+ /**
42
+ * Update a threat Intelligence indicator.
43
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
44
+ * @param workspaceName The name of the workspace.
45
+ * @param name Threat intelligence indicator name field.
46
+ * @param threatIntelligenceProperties Properties of threat intelligence indicators to create and
47
+ * update.
48
+ * @param options The options parameters.
49
+ */
50
+ create(resourceGroupName: string, workspaceName: string, name: string, threatIntelligenceProperties: ThreatIntelligenceIndicatorModelForRequestBody, options?: ThreatIntelligenceIndicatorCreateOptionalParams): Promise<ThreatIntelligenceIndicatorCreateResponse>;
51
+ /**
52
+ * Delete a threat intelligence indicator.
53
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
54
+ * @param workspaceName The name of the workspace.
55
+ * @param name Threat intelligence indicator name field.
56
+ * @param options The options parameters.
57
+ */
58
+ delete(resourceGroupName: string, workspaceName: string, name: string, options?: ThreatIntelligenceIndicatorDeleteOptionalParams): Promise<void>;
59
+ /**
60
+ * Query threat intelligence indicators as per filtering criteria.
61
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
62
+ * @param workspaceName The name of the workspace.
63
+ * @param threatIntelligenceFilteringCriteria Filtering criteria for querying threat intelligence
64
+ * indicators.
65
+ * @param options The options parameters.
66
+ */
67
+ private _queryIndicators;
68
+ /**
69
+ * Append tags to a threat intelligence indicator.
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
+ * @param workspaceName The name of the workspace.
72
+ * @param name Threat intelligence indicator name field.
73
+ * @param threatIntelligenceAppendTags The threat intelligence append tags request body
74
+ * @param options The options parameters.
75
+ */
76
+ appendTags(resourceGroupName: string, workspaceName: string, name: string, threatIntelligenceAppendTags: ThreatIntelligenceAppendTags, options?: ThreatIntelligenceIndicatorAppendTagsOptionalParams): Promise<void>;
77
+ /**
78
+ * Replace tags added to a threat intelligence indicator.
79
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
80
+ * @param workspaceName The name of the workspace.
81
+ * @param name Threat intelligence indicator name field.
82
+ * @param threatIntelligenceReplaceTags Tags in the threat intelligence indicator to be replaced.
83
+ * @param options The options parameters.
84
+ */
85
+ replaceTags(resourceGroupName: string, workspaceName: string, name: string, threatIntelligenceReplaceTags: ThreatIntelligenceIndicatorModelForRequestBody, options?: ThreatIntelligenceIndicatorReplaceTagsOptionalParams): Promise<ThreatIntelligenceIndicatorReplaceTagsResponse>;
86
+ /**
87
+ * QueryIndicatorsNext
88
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
89
+ * @param workspaceName The name of the workspace.
90
+ * @param threatIntelligenceFilteringCriteria Filtering criteria for querying threat intelligence
91
+ * indicators.
92
+ * @param nextLink The nextLink from the previous successful call to the QueryIndicators method.
93
+ * @param options The options parameters.
94
+ */
95
+ private _queryIndicatorsNext;
96
+ }
97
+ //# sourceMappingURL=threatIntelligenceIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"threatIntelligenceIndicator.d.ts","sourceRoot":"","sources":["../../../src/operations/threatIntelligenceIndicator.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAItE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EACL,kCAAkC,EAClC,mCAAmC,EAEnC,wDAAwD,EACxD,8CAA8C,EAC9C,wDAAwD,EACxD,kDAAkD,EAClD,4CAA4C,EAC5C,sCAAsC,EACtC,+CAA+C,EAC/C,yCAAyC,EACzC,+CAA+C,EAE/C,4BAA4B,EAC5B,mDAAmD,EACnD,oDAAoD,EACpD,8CAA8C,EAE/C,MAAM,WAAW,CAAC;AAGnB,+DAA+D;AAC/D,qBAAa,+BACX,YAAW,2BAA2B;IACtC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAE1C;;;OAGG;gBACS,MAAM,EAAE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