@oneuptime/common 14.0.97 → 14.0.99

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 (593) hide show
  1. package/Models/DatabaseModels/CloudAccount.d.mts +8 -0
  2. package/Models/DatabaseModels/CloudAccount.d.ts +8 -0
  3. package/Models/DatabaseModels/CloudAccount.js +167 -0
  4. package/Models/DatabaseModels/CloudAccountFeed.d.mts +27 -0
  5. package/Models/DatabaseModels/CloudAccountFeed.d.ts +27 -0
  6. package/Models/DatabaseModels/CloudAccountFeed.js +557 -0
  7. package/Models/DatabaseModels/CloudAccountFeed.mjs +3 -0
  8. package/Models/DatabaseModels/CodeRepository.d.mts +3 -0
  9. package/Models/DatabaseModels/CodeRepository.d.ts +3 -0
  10. package/Models/DatabaseModels/CodeRepository.js +104 -0
  11. package/Models/DatabaseModels/DataSecurityCheckSetting.d.mts +17 -0
  12. package/Models/DatabaseModels/DataSecurityCheckSetting.d.ts +17 -0
  13. package/Models/DatabaseModels/DataSecurityCheckSetting.js +304 -0
  14. package/Models/DatabaseModels/DataSecurityCheckSetting.mjs +2 -0
  15. package/Models/DatabaseModels/DataSecurityCustomDataType.d.mts +25 -0
  16. package/Models/DatabaseModels/DataSecurityCustomDataType.d.ts +25 -0
  17. package/Models/DatabaseModels/DataSecurityCustomDataType.js +431 -0
  18. package/Models/DatabaseModels/DataSecurityCustomDataType.mjs +2 -0
  19. package/Models/DatabaseModels/DataSecurityFlow.d.mts +26 -0
  20. package/Models/DatabaseModels/DataSecurityFlow.d.ts +26 -0
  21. package/Models/DatabaseModels/DataSecurityFlow.js +456 -0
  22. package/Models/DatabaseModels/DataSecurityFlow.mjs +2 -0
  23. package/Models/DatabaseModels/DataSecurityIssue.d.mts +49 -0
  24. package/Models/DatabaseModels/DataSecurityIssue.d.ts +49 -0
  25. package/Models/DatabaseModels/DataSecurityIssue.js +797 -0
  26. package/Models/DatabaseModels/DataSecurityIssue.mjs +2 -0
  27. package/Models/DatabaseModels/DataSecurityIssueFeed.d.mts +43 -0
  28. package/Models/DatabaseModels/DataSecurityIssueFeed.d.ts +43 -0
  29. package/Models/DatabaseModels/DataSecurityIssueFeed.js +382 -0
  30. package/Models/DatabaseModels/DataSecurityIssueFeed.mjs +3 -0
  31. package/Models/DatabaseModels/DataSecurityResidencyRule.d.mts +18 -0
  32. package/Models/DatabaseModels/DataSecurityResidencyRule.d.ts +18 -0
  33. package/Models/DatabaseModels/DataSecurityResidencyRule.js +331 -0
  34. package/Models/DatabaseModels/DataSecurityResidencyRule.mjs +2 -0
  35. package/Models/DatabaseModels/DataSecurityScan.d.mts +29 -0
  36. package/Models/DatabaseModels/DataSecurityScan.d.ts +29 -0
  37. package/Models/DatabaseModels/DataSecurityScan.js +520 -0
  38. package/Models/DatabaseModels/DataSecurityScan.mjs +2 -0
  39. package/Models/DatabaseModels/DataSecuritySetting.d.mts +35 -0
  40. package/Models/DatabaseModels/DataSecuritySetting.d.ts +35 -0
  41. package/Models/DatabaseModels/DataSecuritySetting.js +631 -0
  42. package/Models/DatabaseModels/DataSecuritySetting.mjs +2 -0
  43. package/Models/DatabaseModels/DataStore.d.mts +83 -0
  44. package/Models/DatabaseModels/DataStore.d.ts +83 -0
  45. package/Models/DatabaseModels/DataStore.js +1343 -0
  46. package/Models/DatabaseModels/DataStore.mjs +2 -0
  47. package/Models/DatabaseModels/DataStoreAccess.d.mts +22 -0
  48. package/Models/DatabaseModels/DataStoreAccess.d.ts +22 -0
  49. package/Models/DatabaseModels/DataStoreAccess.js +407 -0
  50. package/Models/DatabaseModels/DataStoreAccess.mjs +2 -0
  51. package/Models/DatabaseModels/DataStoreFeed.d.mts +36 -0
  52. package/Models/DatabaseModels/DataStoreFeed.d.ts +36 -0
  53. package/Models/DatabaseModels/DataStoreFeed.js +613 -0
  54. package/Models/DatabaseModels/DataStoreFeed.mjs +3 -0
  55. package/Models/DatabaseModels/DataStoreFinding.d.mts +38 -0
  56. package/Models/DatabaseModels/DataStoreFinding.d.ts +38 -0
  57. package/Models/DatabaseModels/DataStoreFinding.js +683 -0
  58. package/Models/DatabaseModels/DataStoreFinding.mjs +2 -0
  59. package/Models/DatabaseModels/DataStoreLabelRule.d.mts +21 -0
  60. package/Models/DatabaseModels/DataStoreLabelRule.d.ts +21 -0
  61. package/Models/DatabaseModels/DataStoreLabelRule.js +623 -0
  62. package/Models/DatabaseModels/DataStoreLabelRule.mjs +2 -0
  63. package/Models/DatabaseModels/DataStoreOwnerRule.d.mts +24 -0
  64. package/Models/DatabaseModels/DataStoreOwnerRule.d.ts +24 -0
  65. package/Models/DatabaseModels/DataStoreOwnerRule.js +714 -0
  66. package/Models/DatabaseModels/DataStoreOwnerRule.mjs +2 -0
  67. package/Models/DatabaseModels/DataStoreOwnerTeam.d.mts +19 -0
  68. package/Models/DatabaseModels/DataStoreOwnerTeam.d.ts +19 -0
  69. package/Models/DatabaseModels/DataStoreOwnerTeam.js +477 -0
  70. package/Models/DatabaseModels/DataStoreOwnerTeam.mjs +2 -0
  71. package/Models/DatabaseModels/DataStoreOwnerUser.d.mts +18 -0
  72. package/Models/DatabaseModels/DataStoreOwnerUser.d.ts +18 -0
  73. package/Models/DatabaseModels/DataStoreOwnerUser.js +476 -0
  74. package/Models/DatabaseModels/DataStoreOwnerUser.mjs +2 -0
  75. package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
  76. package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
  77. package/Models/DatabaseModels/GlobalConfig.js +110 -0
  78. package/Models/DatabaseModels/Index.js +37 -0
  79. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +1 -0
  80. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +1 -0
  81. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +43 -0
  82. package/Models/DatabaseModels/ResourceAiAgent.js +3 -1
  83. package/Models/DatabaseModels/SecurityCaseEvidence.d.mts +4 -0
  84. package/Models/DatabaseModels/SecurityCaseEvidence.d.ts +4 -0
  85. package/Models/DatabaseModels/SecurityCaseEvidence.js +64 -5
  86. package/Models/DatabaseModels/SecurityEntityCriticality.js +7 -6
  87. package/Models/DatabaseModels/SecurityEntityRisk.js +2 -2
  88. package/Models/DatabaseModels/SecurityHunt.d.mts +34 -0
  89. package/Models/DatabaseModels/SecurityHunt.d.ts +34 -0
  90. package/Models/DatabaseModels/SecurityHunt.js +608 -0
  91. package/Models/DatabaseModels/SecurityHunt.mjs +2 -0
  92. package/Models/DatabaseModels/TelemetryException.d.mts +5 -0
  93. package/Models/DatabaseModels/TelemetryException.d.ts +5 -0
  94. package/Models/DatabaseModels/TelemetryException.js +170 -8
  95. package/Types/AI/AIChatPageContext.d.mts +4 -1
  96. package/Types/AI/AIChatPageContext.d.ts +4 -1
  97. package/Types/AI/AIChatPageContext.js +7 -0
  98. package/Types/AI/AIChatTypes.d.mts +7 -1
  99. package/Types/AI/AIChatTypes.d.ts +7 -1
  100. package/Types/AI/AIChatTypes.js +9 -0
  101. package/Types/AI/AIRunEventType.d.mts +1 -0
  102. package/Types/AI/AIRunEventType.d.ts +1 -0
  103. package/Types/AI/AIRunEventType.js +8 -0
  104. package/Types/AI/AiAffectedResources.js +5 -3
  105. package/Types/AI/AiTokenCount.d.mts +22 -1
  106. package/Types/AI/AiTokenCount.d.ts +22 -1
  107. package/Types/AI/AiTokenCount.js +126 -57
  108. package/Types/AI/AiTokenCount.mjs +2 -0
  109. package/Types/AI/CodeFixTaskContext.d.mts +22 -0
  110. package/Types/AI/CodeFixTaskContext.d.ts +22 -0
  111. package/Types/AI/CodeFixTaskContext.js +61 -4
  112. package/Types/AI/CodeFixTaskContext.mjs +2 -0
  113. package/Types/AI/CodeTask.d.mts +2 -0
  114. package/Types/AI/CodeTask.d.ts +2 -0
  115. package/Types/AI/CodeTask.js +4 -0
  116. package/Types/AI/ResourceAiAccessApi.d.mts +1 -0
  117. package/Types/AI/ResourceAiAccessApi.d.ts +1 -0
  118. package/Types/AI/ResourceAiAccessPermissions.js +6 -0
  119. package/Types/AutoRemediation/AiRemediationCommandPlan.d.mts +19 -0
  120. package/Types/AutoRemediation/AiRemediationCommandPlan.d.ts +19 -0
  121. package/Types/AutoRemediation/AiRemediationCommandPlan.js +85 -10
  122. package/Types/AutoRemediation/AiRemediationCommandPlan.mjs +4 -0
  123. package/Types/AutoRemediation/RemediationTryAgain.d.mts +17 -0
  124. package/Types/AutoRemediation/RemediationTryAgain.d.ts +17 -0
  125. package/Types/AutoRemediation/RemediationTryAgain.js +104 -0
  126. package/Types/AutoRemediation/RemediationTryAgain.mjs +6 -0
  127. package/Types/CloudConnection/CloudAiAgentCost.d.mts +19 -0
  128. package/Types/CloudConnection/CloudAiAgentCost.d.ts +19 -0
  129. package/Types/CloudConnection/CloudAiAgentCost.js +95 -0
  130. package/Types/CloudConnection/CloudAiAgentCost.mjs +15 -0
  131. package/Types/CloudConnection/CloudAiAgentSetupCommands.d.mts +70 -0
  132. package/Types/CloudConnection/CloudAiAgentSetupCommands.d.ts +70 -0
  133. package/Types/CloudConnection/CloudAiAgentSetupCommands.js +1107 -0
  134. package/Types/CloudConnection/CloudAiAgentSetupCommands.mjs +37 -0
  135. package/Types/CloudConnection/CloudConnectionCatalog.d.mts +8 -0
  136. package/Types/CloudConnection/CloudConnectionCatalog.d.ts +8 -0
  137. package/Types/CloudConnection/CloudConnectionCatalog.js +75 -1
  138. package/Types/CloudConnection/CloudConnectionCatalog.mjs +6 -0
  139. package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +48 -4
  140. package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +48 -4
  141. package/Types/CloudConnection/CloudConnectionSetupCommands.js +410 -16
  142. package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +21 -0
  143. package/Types/CodeRepository/CodeHost.d.mts +2 -1
  144. package/Types/CodeRepository/CodeHost.d.ts +2 -1
  145. package/Types/CodeRepository/CodeHost.js +12 -5
  146. package/Types/CodeRepository/CodeRepositorySetting.d.mts +1 -0
  147. package/Types/CodeRepository/CodeRepositorySetting.d.ts +1 -0
  148. package/Types/CodeRepository/CodeRepositorySetting.js +2 -0
  149. package/Types/CodeRepository/ProductionReview.d.mts +7 -0
  150. package/Types/CodeRepository/ProductionReview.d.ts +7 -0
  151. package/Types/CodeRepository/ProductionReview.js +67 -1
  152. package/Types/CodeRepository/ProductionReview.mjs +1 -0
  153. package/Types/DataSecurity/ComplianceFramework.d.mts +21 -0
  154. package/Types/DataSecurity/ComplianceFramework.d.ts +21 -0
  155. package/Types/DataSecurity/ComplianceFramework.js +97 -0
  156. package/Types/DataSecurity/ComplianceFramework.mjs +5 -0
  157. package/Types/DataSecurity/ComplianceRequirementCatalog.d.mts +41 -0
  158. package/Types/DataSecurity/ComplianceRequirementCatalog.d.ts +41 -0
  159. package/Types/DataSecurity/ComplianceRequirementCatalog.js +199 -0
  160. package/Types/DataSecurity/ComplianceRequirementCatalog.mjs +7 -0
  161. package/Types/DataSecurity/DataCategory.d.mts +15 -0
  162. package/Types/DataSecurity/DataCategory.d.ts +15 -0
  163. package/Types/DataSecurity/DataCategory.js +61 -0
  164. package/Types/DataSecurity/DataCategory.mjs +7 -0
  165. package/Types/DataSecurity/DataConfidence.d.mts +11 -0
  166. package/Types/DataSecurity/DataConfidence.d.ts +11 -0
  167. package/Types/DataSecurity/DataConfidence.js +49 -0
  168. package/Types/DataSecurity/DataConfidence.mjs +7 -0
  169. package/Types/DataSecurity/DataSecurityApiTypes.d.mts +106 -0
  170. package/Types/DataSecurity/DataSecurityApiTypes.d.ts +106 -0
  171. package/Types/DataSecurity/DataSecurityApiTypes.js +53 -0
  172. package/Types/DataSecurity/DataSecurityApiTypes.mjs +3 -0
  173. package/Types/DataSecurity/DataSecurityCheckCatalog.d.mts +93 -0
  174. package/Types/DataSecurity/DataSecurityCheckCatalog.d.ts +93 -0
  175. package/Types/DataSecurity/DataSecurityCheckCatalog.js +1183 -0
  176. package/Types/DataSecurity/DataSecurityCheckCatalog.mjs +10 -0
  177. package/Types/DataSecurity/DataSecurityIssueStatus.d.mts +10 -0
  178. package/Types/DataSecurity/DataSecurityIssueStatus.d.ts +10 -0
  179. package/Types/DataSecurity/DataSecurityIssueStatus.js +38 -0
  180. package/Types/DataSecurity/DataSecurityIssueStatus.mjs +5 -0
  181. package/Types/DataSecurity/DataSecurityResidency.d.mts +21 -0
  182. package/Types/DataSecurity/DataSecurityResidency.d.ts +21 -0
  183. package/Types/DataSecurity/DataSecurityResidency.js +92 -0
  184. package/Types/DataSecurity/DataSecurityResidency.mjs +5 -0
  185. package/Types/DataSecurity/DataSecurityResponseAction.d.mts +14 -0
  186. package/Types/DataSecurity/DataSecurityResponseAction.d.ts +14 -0
  187. package/Types/DataSecurity/DataSecurityResponseAction.js +115 -0
  188. package/Types/DataSecurity/DataSecurityResponseAction.mjs +11 -0
  189. package/Types/DataSecurity/DataSecurityRisk.d.mts +38 -0
  190. package/Types/DataSecurity/DataSecurityRisk.d.ts +38 -0
  191. package/Types/DataSecurity/DataSecurityRisk.js +138 -0
  192. package/Types/DataSecurity/DataSecurityRisk.mjs +7 -0
  193. package/Types/DataSecurity/DataSensitivity.d.mts +13 -0
  194. package/Types/DataSecurity/DataSensitivity.d.ts +13 -0
  195. package/Types/DataSecurity/DataSensitivity.js +68 -0
  196. package/Types/DataSecurity/DataSensitivity.mjs +8 -0
  197. package/Types/DataSecurity/DataStoreAccess.d.mts +27 -0
  198. package/Types/DataSecurity/DataStoreAccess.d.ts +27 -0
  199. package/Types/DataSecurity/DataStoreAccess.js +35 -0
  200. package/Types/DataSecurity/DataStoreAccess.mjs +4 -0
  201. package/Types/DataSecurity/DataStoreEnvironment.d.mts +11 -0
  202. package/Types/DataSecurity/DataStoreEnvironment.d.ts +11 -0
  203. package/Types/DataSecurity/DataStoreEnvironment.js +80 -0
  204. package/Types/DataSecurity/DataStoreEnvironment.mjs +5 -0
  205. package/Types/DataSecurity/DataStoreKey.d.mts +18 -0
  206. package/Types/DataSecurity/DataStoreKey.d.ts +18 -0
  207. package/Types/DataSecurity/DataStoreKey.js +49 -0
  208. package/Types/DataSecurity/DataStoreKey.mjs +7 -0
  209. package/Types/DataSecurity/DataStoreKind.d.mts +67 -0
  210. package/Types/DataSecurity/DataStoreKind.d.ts +67 -0
  211. package/Types/DataSecurity/DataStoreKind.js +230 -0
  212. package/Types/DataSecurity/DataStoreKind.mjs +10 -0
  213. package/Types/DataSecurity/DataStorePosture.d.mts +40 -0
  214. package/Types/DataSecurity/DataStorePosture.d.ts +40 -0
  215. package/Types/DataSecurity/DataStorePosture.js +100 -0
  216. package/Types/DataSecurity/DataStorePosture.mjs +7 -0
  217. package/Types/DataSecurity/DataTypeCatalog.d.mts +17 -0
  218. package/Types/DataSecurity/DataTypeCatalog.d.ts +17 -0
  219. package/Types/DataSecurity/DataTypeCatalog.js +434 -0
  220. package/Types/DataSecurity/DataTypeCatalog.mjs +4 -0
  221. package/Types/Email/EmailTemplateType.d.mts +2 -0
  222. package/Types/Email/EmailTemplateType.d.ts +2 -0
  223. package/Types/Email/EmailTemplateType.js +8 -0
  224. package/Types/Link.d.mts +1 -0
  225. package/Types/Link.d.ts +1 -0
  226. package/Types/Monitor/CephAlertTemplates.d.mts +2 -1
  227. package/Types/Monitor/CephAlertTemplates.d.ts +2 -1
  228. package/Types/Monitor/CephAlertTemplates.js +49 -0
  229. package/Types/Monitor/CephAlertTemplates.mjs +1 -0
  230. package/Types/Monitor/DockerAlertTemplates.d.mts +2 -1
  231. package/Types/Monitor/DockerAlertTemplates.d.ts +2 -1
  232. package/Types/Monitor/DockerAlertTemplates.js +109 -37
  233. package/Types/Monitor/DockerAlertTemplates.mjs +1 -0
  234. package/Types/Monitor/DockerMetricCatalog.d.mts +1 -0
  235. package/Types/Monitor/DockerMetricCatalog.d.ts +1 -0
  236. package/Types/Monitor/DockerMetricCatalog.js +26 -52
  237. package/Types/Monitor/DockerSwarmAlertTemplates.d.mts +1 -0
  238. package/Types/Monitor/DockerSwarmAlertTemplates.d.ts +1 -0
  239. package/Types/Monitor/DockerSwarmAlertTemplates.js +65 -8
  240. package/Types/Monitor/DockerSwarmAlertTemplates.mjs +1 -0
  241. package/Types/Monitor/DockerSwarmMetricCatalog.js +7 -4
  242. package/Types/Monitor/HostAlertTemplates.d.mts +2 -1
  243. package/Types/Monitor/HostAlertTemplates.d.ts +2 -1
  244. package/Types/Monitor/HostAlertTemplates.js +48 -0
  245. package/Types/Monitor/HostAlertTemplates.mjs +1 -0
  246. package/Types/Monitor/IotAlertTemplates.d.mts +1 -0
  247. package/Types/Monitor/IotAlertTemplates.d.ts +1 -0
  248. package/Types/Monitor/IotAlertTemplates.js +11 -0
  249. package/Types/Monitor/IotAlertTemplates.mjs +1 -0
  250. package/Types/Monitor/KubernetesAlertTemplates.d.mts +49 -1
  251. package/Types/Monitor/KubernetesAlertTemplates.d.ts +49 -1
  252. package/Types/Monitor/KubernetesAlertTemplates.js +392 -75
  253. package/Types/Monitor/KubernetesAlertTemplates.mjs +2 -0
  254. package/Types/Monitor/KubernetesMetricCatalog.js +12 -2
  255. package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.mts +4 -4
  256. package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.ts +4 -4
  257. package/Types/Monitor/MonitorCriteriaInstance.js +107 -10
  258. package/Types/Monitor/MonitorStep.js +50 -3
  259. package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.mts +33 -11
  260. package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.ts +33 -11
  261. package/Types/Monitor/MonitorStepDockerSwarmMonitor.js +65 -0
  262. package/Types/Monitor/MonitorStepKubernetesMonitor.d.mts +6 -0
  263. package/Types/Monitor/MonitorStepKubernetesMonitor.d.ts +6 -0
  264. package/Types/Monitor/MonitorStepKubernetesMonitor.js +38 -1
  265. package/Types/Monitor/MonitorStepKubernetesMonitor.mjs +2 -0
  266. package/Types/Monitor/MonitorType.d.mts +1 -0
  267. package/Types/Monitor/MonitorType.d.ts +1 -0
  268. package/Types/Monitor/MonitorType.js +18 -0
  269. package/Types/Monitor/PodmanAlertTemplates.d.mts +12 -1
  270. package/Types/Monitor/PodmanAlertTemplates.d.ts +12 -1
  271. package/Types/Monitor/PodmanAlertTemplates.js +161 -33
  272. package/Types/Monitor/PodmanAlertTemplates.mjs +2 -0
  273. package/Types/Monitor/PodmanMetricCatalog.d.mts +1 -0
  274. package/Types/Monitor/PodmanMetricCatalog.d.ts +1 -0
  275. package/Types/Monitor/PodmanMetricCatalog.js +26 -52
  276. package/Types/Monitor/ProxmoxAlertTemplates.d.mts +1 -0
  277. package/Types/Monitor/ProxmoxAlertTemplates.d.ts +1 -0
  278. package/Types/Monitor/ProxmoxAlertTemplates.js +49 -0
  279. package/Types/Monitor/ProxmoxAlertTemplates.mjs +1 -0
  280. package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.d.mts +19 -0
  281. package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.d.ts +19 -0
  282. package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.js +50 -2
  283. package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.mjs +2 -0
  284. package/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.d.mts +2 -0
  285. package/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.d.ts +2 -0
  286. package/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.js +31 -2
  287. package/Types/Monitor/StorageArrayAlertTemplates.d.mts +2 -1
  288. package/Types/Monitor/StorageArrayAlertTemplates.d.ts +2 -1
  289. package/Types/Monitor/StorageArrayAlertTemplates.js +69 -0
  290. package/Types/Monitor/StorageArrayAlertTemplates.mjs +1 -0
  291. package/Types/Monitor/VMwareAlertTemplates.d.mts +2 -1
  292. package/Types/Monitor/VMwareAlertTemplates.d.ts +2 -1
  293. package/Types/Monitor/VMwareAlertTemplates.js +50 -0
  294. package/Types/Monitor/VMwareAlertTemplates.mjs +1 -0
  295. package/Types/NotificationSetting/NotificationEmailRollupCategory.d.mts +1 -0
  296. package/Types/NotificationSetting/NotificationEmailRollupCategory.d.ts +1 -0
  297. package/Types/NotificationSetting/NotificationEmailRollupCategory.js +9 -0
  298. package/Types/NotificationSetting/NotificationSettingEventType.d.mts +1 -0
  299. package/Types/NotificationSetting/NotificationSettingEventType.d.ts +1 -0
  300. package/Types/NotificationSetting/NotificationSettingEventType.js +6 -0
  301. package/Types/OnCallDutyPolicy/OnCallPersonPage.d.mts +44 -0
  302. package/Types/OnCallDutyPolicy/OnCallPersonPage.d.ts +44 -0
  303. package/Types/OnCallDutyPolicy/OnCallPersonPage.js +171 -0
  304. package/Types/OnCallDutyPolicy/OnCallPersonPage.mjs +14 -0
  305. package/Types/Permission.d.mts +51 -0
  306. package/Types/Permission.d.ts +51 -0
  307. package/Types/Permission.js +542 -0
  308. package/Types/Probe/ProbeCapability.d.mts +2 -1
  309. package/Types/Probe/ProbeCapability.d.ts +2 -1
  310. package/Types/Probe/ProbeCapability.js +8 -0
  311. package/Types/ProviderLogo/ProviderLogo.d.mts +2 -0
  312. package/Types/ProviderLogo/ProviderLogo.d.ts +2 -0
  313. package/Types/ProviderLogo/ProviderLogo.js +4 -0
  314. package/Types/ResourceAiAgent/AiResourceType.d.mts +7 -1
  315. package/Types/ResourceAiAgent/AiResourceType.d.ts +7 -1
  316. package/Types/ResourceAiAgent/AiResourceType.js +76 -2
  317. package/Types/ResourceAiAgent/AiResourceType.mjs +3 -0
  318. package/Types/ResourceAiAgent/CloudAiAgentNames.d.mts +19 -0
  319. package/Types/ResourceAiAgent/CloudAiAgentNames.d.ts +19 -0
  320. package/Types/ResourceAiAgent/CloudAiAgentNames.js +75 -0
  321. package/Types/ResourceAiAgent/CloudAiAgentNames.mjs +16 -0
  322. package/Types/ResourceAiAgent/ResourceAiAccess.d.mts +12 -1
  323. package/Types/ResourceAiAgent/ResourceAiAccess.d.ts +12 -1
  324. package/Types/ResourceAiAgent/ResourceAiAccess.js +28 -1
  325. package/Types/ResourceAiAgent/ResourceAiAccess.mjs +6 -0
  326. package/Types/Rules/RuleCriteriaFieldRegistry.js +13 -0
  327. package/Types/Rules/RuleCriteriaSubject.d.mts +2 -1
  328. package/Types/Rules/RuleCriteriaSubject.d.ts +2 -1
  329. package/Types/Rules/RuleCriteriaSubject.js +3 -0
  330. package/Types/Rules/RuleRun.d.mts +2 -0
  331. package/Types/Rules/RuleRun.d.ts +2 -0
  332. package/Types/Rules/RuleRun.js +4 -0
  333. package/Types/SecurityCase/SecurityCaseEventEvidence.d.mts +67 -0
  334. package/Types/SecurityCase/SecurityCaseEventEvidence.d.ts +67 -0
  335. package/Types/SecurityCase/SecurityCaseEventEvidence.js +271 -0
  336. package/Types/SecurityCase/SecurityCaseEventEvidence.mjs +13 -0
  337. package/Types/SecurityCase/SecurityCaseEvidenceKind.d.mts +2 -1
  338. package/Types/SecurityCase/SecurityCaseEvidenceKind.d.ts +2 -1
  339. package/Types/SecurityCase/SecurityCaseEvidenceKind.js +11 -1
  340. package/Types/SecurityCase/SecurityDetectionSource.d.mts +2 -1
  341. package/Types/SecurityCase/SecurityDetectionSource.d.ts +2 -1
  342. package/Types/SecurityCase/SecurityDetectionSource.js +5 -2
  343. package/Types/SecurityCase/SecurityEntity.d.mts +5 -0
  344. package/Types/SecurityCase/SecurityEntity.d.ts +5 -0
  345. package/Types/SecurityCase/SecurityEntity.js +39 -1
  346. package/Types/SecurityCase/SecurityEntity.mjs +4 -0
  347. package/Types/SecurityCase/SecurityEntityRisk.js +14 -6
  348. package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.d.mts +2 -0
  349. package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.d.ts +2 -0
  350. package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.js +124 -1
  351. package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.mjs +2 -0
  352. package/Types/SecurityEvent/Connectors/SecurityEventConnectorProvider.d.mts +3 -1
  353. package/Types/SecurityEvent/Connectors/SecurityEventConnectorProvider.d.ts +3 -1
  354. package/Types/SecurityEvent/Connectors/SecurityEventConnectorProvider.js +4 -0
  355. package/Types/SecurityEvent/DataSecuritySignal.d.mts +33 -0
  356. package/Types/SecurityEvent/DataSecuritySignal.d.ts +33 -0
  357. package/Types/SecurityEvent/DataSecuritySignal.js +114 -0
  358. package/Types/SecurityEvent/DataSecuritySignal.mjs +14 -0
  359. package/Types/SecurityEvent/DetectionRuleDataKind.d.mts +7 -1
  360. package/Types/SecurityEvent/DetectionRuleDataKind.d.ts +7 -1
  361. package/Types/SecurityEvent/DetectionRuleDataKind.js +74 -0
  362. package/Types/SecurityEvent/DetectionRuleLibrary.d.mts +2 -1
  363. package/Types/SecurityEvent/DetectionRuleLibrary.d.ts +2 -1
  364. package/Types/SecurityEvent/DetectionRuleLibrary.js +730 -0
  365. package/Types/SecurityEvent/OcsfEventClass.js +31 -2
  366. package/Types/SecurityEvent/SecurityHunt.d.mts +122 -0
  367. package/Types/SecurityEvent/SecurityHunt.d.ts +122 -0
  368. package/Types/SecurityEvent/SecurityHunt.js +391 -0
  369. package/Types/SecurityEvent/SecurityHunt.mjs +32 -0
  370. package/Types/SecurityEvent/SecurityLogFormat.d.mts +15 -0
  371. package/Types/SecurityEvent/SecurityLogFormat.d.ts +15 -0
  372. package/Types/SecurityEvent/SecurityLogFormat.js +123 -10
  373. package/Types/SecurityEvent/SecurityLogFormat.mjs +4 -0
  374. package/Types/SecurityPlaybook/SecurityPlaybookAction.d.mts +3 -0
  375. package/Types/SecurityPlaybook/SecurityPlaybookAction.d.ts +3 -0
  376. package/Types/SecurityPlaybook/SecurityPlaybookAction.js +37 -0
  377. package/Types/SecurityPlaybook/SecurityPlaybookStep.d.mts +3 -0
  378. package/Types/SecurityPlaybook/SecurityPlaybookStep.d.ts +3 -0
  379. package/Types/SecurityPlaybook/SecurityPlaybookStep.js +9 -0
  380. package/Types/SecurityPlaybook/SecurityProtectedEntity.js +8 -1
  381. package/Types/Telemetry/ExceptionAIDigest.d.mts +31 -0
  382. package/Types/Telemetry/ExceptionAIDigest.d.ts +31 -0
  383. package/Types/Telemetry/ExceptionAIDigest.js +131 -0
  384. package/Types/Telemetry/ExceptionAIDigest.mjs +13 -0
  385. package/Types/Telemetry/ExceptionAIExplanation.d.mts +37 -0
  386. package/Types/Telemetry/ExceptionAIExplanation.d.ts +37 -0
  387. package/Types/Telemetry/ExceptionAIExplanation.js +110 -0
  388. package/Types/Telemetry/ExceptionAIExplanation.mjs +12 -0
  389. package/Types/Telemetry/TraceSpanType.d.mts +1 -1
  390. package/Types/Telemetry/TraceSpanType.d.ts +1 -1
  391. package/Types/Telemetry/TraceSpanType.js +33 -8
  392. package/Types/Telemetry/TraceSpanType.mjs +1 -1
  393. package/Types/UpdateCheck/SecurityAdvisory.d.mts +39 -0
  394. package/Types/UpdateCheck/SecurityAdvisory.d.ts +39 -0
  395. package/Types/UpdateCheck/SecurityAdvisory.js +221 -0
  396. package/Types/UpdateCheck/SecurityAdvisory.mjs +7 -0
  397. package/Types/UpdateCheck/UpdateCheckFailure.d.mts +9 -0
  398. package/Types/UpdateCheck/UpdateCheckFailure.d.ts +9 -0
  399. package/Types/UpdateCheck/UpdateCheckFailure.js +32 -0
  400. package/Types/UpdateCheck/UpdateCheckFailure.mjs +3 -0
  401. package/Types/UpdateCheck/UpdateStatus.d.mts +44 -0
  402. package/Types/UpdateCheck/UpdateStatus.d.ts +44 -0
  403. package/Types/UpdateCheck/UpdateStatus.js +195 -0
  404. package/Types/UpdateCheck/UpdateStatus.mjs +3 -0
  405. package/Types/Workflow/RunRecord.d.mts +3 -14
  406. package/Types/Workflow/RunRecord.d.ts +3 -14
  407. package/Types/Workflow/RunRecord.js +10 -51
  408. package/Types/Workspace/WorkspaceMessagePayload.d.mts +1 -0
  409. package/Types/Workspace/WorkspaceMessagePayload.d.ts +1 -0
  410. package/Utils/AI/InvestigationLogStall.d.mts +38 -0
  411. package/Utils/AI/InvestigationLogStall.d.ts +38 -0
  412. package/Utils/AI/InvestigationLogStall.js +163 -0
  413. package/Utils/AI/InvestigationLogStall.mjs +11 -0
  414. package/Utils/AiRemediation/CloudChangeDryRunPlan.d.mts +17 -0
  415. package/Utils/AiRemediation/CloudChangeDryRunPlan.d.ts +17 -0
  416. package/Utils/AiRemediation/CloudChangeDryRunPlan.js +122 -0
  417. package/Utils/AiRemediation/CloudChangeDryRunPlan.mjs +7 -0
  418. package/Utils/AiRemediation/Resource/CloudCommandPolicy.d.mts +4 -0
  419. package/Utils/AiRemediation/Resource/CloudCommandPolicy.d.ts +4 -0
  420. package/Utils/AiRemediation/Resource/CloudCommandPolicy.js +177 -0
  421. package/Utils/AiRemediation/Resource/CloudCommandPolicy.mjs +4 -0
  422. package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.mts +144 -0
  423. package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.ts +144 -0
  424. package/Utils/AiRemediation/Resource/CloudOperationCatalog.js +1964 -0
  425. package/Utils/AiRemediation/Resource/CloudOperationCatalog.mjs +48 -0
  426. package/Utils/AiRemediation/Resource/ResourceCommandPolicy.js +4 -0
  427. package/Utils/DataSecurity/CustomDataTypeDetector.d.mts +23 -0
  428. package/Utils/DataSecurity/CustomDataTypeDetector.d.ts +23 -0
  429. package/Utils/DataSecurity/CustomDataTypeDetector.js +130 -0
  430. package/Utils/DataSecurity/CustomDataTypeDetector.mjs +8 -0
  431. package/Utils/DataSecurity/Detector.d.mts +26 -0
  432. package/Utils/DataSecurity/Detector.d.ts +26 -0
  433. package/Utils/DataSecurity/Detector.js +83 -0
  434. package/Utils/DataSecurity/Detector.mjs +8 -0
  435. package/Utils/DataSecurity/Detectors/ContactDetectors.d.mts +12 -0
  436. package/Utils/DataSecurity/Detectors/ContactDetectors.d.ts +12 -0
  437. package/Utils/DataSecurity/Detectors/ContactDetectors.js +915 -0
  438. package/Utils/DataSecurity/Detectors/ContactDetectors.mjs +12 -0
  439. package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.d.mts +3 -0
  440. package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.d.ts +3 -0
  441. package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.js +52 -0
  442. package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.mjs +3 -0
  443. package/Utils/DataSecurity/Detectors/FinancialDetectors.d.mts +8 -0
  444. package/Utils/DataSecurity/Detectors/FinancialDetectors.d.ts +8 -0
  445. package/Utils/DataSecurity/Detectors/FinancialDetectors.js +566 -0
  446. package/Utils/DataSecurity/Detectors/FinancialDetectors.mjs +8 -0
  447. package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.d.mts +3 -0
  448. package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.d.ts +3 -0
  449. package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.js +2415 -0
  450. package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.mjs +3 -0
  451. package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.d.mts +3 -0
  452. package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.d.ts +3 -0
  453. package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.js +258 -0
  454. package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.mjs +3 -0
  455. package/Utils/DataSecurity/Detectors/HealthRecordDetectors.d.mts +3 -0
  456. package/Utils/DataSecurity/Detectors/HealthRecordDetectors.d.ts +3 -0
  457. package/Utils/DataSecurity/Detectors/HealthRecordDetectors.js +115 -0
  458. package/Utils/DataSecurity/Detectors/HealthRecordDetectors.mjs +3 -0
  459. package/Utils/DataSecurity/Detectors/Index.d.mts +4 -0
  460. package/Utils/DataSecurity/Detectors/Index.d.ts +4 -0
  461. package/Utils/DataSecurity/Detectors/Index.js +47 -0
  462. package/Utils/DataSecurity/Detectors/Index.mjs +4 -0
  463. package/Utils/DataSecurity/Detectors/SecretDetectors.d.mts +11 -0
  464. package/Utils/DataSecurity/Detectors/SecretDetectors.d.ts +11 -0
  465. package/Utils/DataSecurity/Detectors/SecretDetectors.js +1733 -0
  466. package/Utils/DataSecurity/Detectors/SecretDetectors.mjs +11 -0
  467. package/Utils/DataSecurity/FieldClassifier.d.mts +20 -0
  468. package/Utils/DataSecurity/FieldClassifier.d.ts +20 -0
  469. package/Utils/DataSecurity/FieldClassifier.js +247 -0
  470. package/Utils/DataSecurity/FieldClassifier.mjs +5 -0
  471. package/Utils/DataSecurity/FieldCollector.d.mts +23 -0
  472. package/Utils/DataSecurity/FieldCollector.d.ts +23 -0
  473. package/Utils/DataSecurity/FieldCollector.js +81 -0
  474. package/Utils/DataSecurity/FieldCollector.mjs +3 -0
  475. package/Utils/DataSecurity/FieldNameHints.d.mts +9 -0
  476. package/Utils/DataSecurity/FieldNameHints.d.ts +9 -0
  477. package/Utils/DataSecurity/FieldNameHints.js +184 -0
  478. package/Utils/DataSecurity/FieldNameHints.mjs +6 -0
  479. package/Utils/DataSecurity/FindingTally.d.mts +44 -0
  480. package/Utils/DataSecurity/FindingTally.d.ts +44 -0
  481. package/Utils/DataSecurity/FindingTally.js +138 -0
  482. package/Utils/DataSecurity/FindingTally.mjs +6 -0
  483. package/Utils/DataSecurity/Masking.d.mts +6 -0
  484. package/Utils/DataSecurity/Masking.d.ts +6 -0
  485. package/Utils/DataSecurity/Masking.js +159 -0
  486. package/Utils/DataSecurity/Masking.mjs +7 -0
  487. package/Utils/DataSecurity/PathPattern.d.mts +3 -0
  488. package/Utils/DataSecurity/PathPattern.d.ts +3 -0
  489. package/Utils/DataSecurity/PathPattern.js +55 -0
  490. package/Utils/DataSecurity/PathPattern.mjs +4 -0
  491. package/Utils/DataSecurity/Sha256.d.mts +1 -0
  492. package/Utils/DataSecurity/Sha256.d.ts +1 -0
  493. package/Utils/DataSecurity/Sha256.js +94 -0
  494. package/Utils/DataSecurity/Sha256.mjs +2 -0
  495. package/Utils/DataSecurity/TextScanner.d.mts +35 -0
  496. package/Utils/DataSecurity/TextScanner.d.ts +35 -0
  497. package/Utils/DataSecurity/TextScanner.js +303 -0
  498. package/Utils/DataSecurity/TextScanner.mjs +8 -0
  499. package/Utils/DataSecurity/Validators.d.mts +16 -0
  500. package/Utils/DataSecurity/Validators.d.ts +16 -0
  501. package/Utils/DataSecurity/Validators.js +339 -0
  502. package/Utils/DataSecurity/Validators.mjs +17 -0
  503. package/Utils/Exceptions/ExceptionIssueState.d.mts +18 -0
  504. package/Utils/Exceptions/ExceptionIssueState.d.ts +18 -0
  505. package/Utils/Exceptions/ExceptionIssueState.js +131 -0
  506. package/Utils/Exceptions/ExceptionIssueState.mjs +8 -0
  507. package/Utils/HostCollector/HostCollectorDefaultConfig.d.mts +2 -0
  508. package/Utils/HostCollector/HostCollectorDefaultConfig.d.ts +2 -0
  509. package/Utils/HostCollector/HostCollectorDefaultConfig.js +39 -1
  510. package/Utils/HostCollector/HostCollectorDefaultConfig.mjs +2 -0
  511. package/Utils/LabelRuleImportExport.js +17 -3
  512. package/Utils/Monitor/PlatformResourceIdentity.js +7 -4
  513. package/Utils/Project/RecordNumber.d.mts +43 -0
  514. package/Utils/Project/RecordNumber.d.ts +43 -0
  515. package/Utils/Project/RecordNumber.js +151 -0
  516. package/Utils/Project/RecordNumber.mjs +6 -0
  517. package/Utils/SecurityAdvisoryMatcher.d.mts +33 -0
  518. package/Utils/SecurityAdvisoryMatcher.d.ts +33 -0
  519. package/Utils/SecurityAdvisoryMatcher.js +291 -0
  520. package/Utils/SecurityAdvisoryMatcher.mjs +2 -0
  521. package/Utils/SecurityCase/SecurityCaseMarkdown.d.mts +9 -0
  522. package/Utils/SecurityCase/SecurityCaseMarkdown.d.ts +9 -0
  523. package/Utils/SecurityCase/SecurityCaseMarkdown.js +20 -0
  524. package/Utils/SecurityCase/SecurityCaseMarkdown.mjs +2 -0
  525. package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.d.mts +24 -0
  526. package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.d.ts +24 -0
  527. package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.js +380 -0
  528. package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.mjs +15 -0
  529. package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.d.mts +29 -0
  530. package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.d.ts +29 -0
  531. package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.js +527 -0
  532. package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.mjs +13 -0
  533. package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.d.mts +21 -0
  534. package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.d.ts +21 -0
  535. package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.js +365 -0
  536. package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.mjs +11 -0
  537. package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.d.mts +17 -0
  538. package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.d.ts +17 -0
  539. package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.js +344 -0
  540. package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.mjs +12 -0
  541. package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.d.mts +27 -0
  542. package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.d.ts +27 -0
  543. package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.js +326 -0
  544. package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.mjs +10 -0
  545. package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.d.mts +38 -0
  546. package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.d.ts +38 -0
  547. package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.js +629 -0
  548. package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.mjs +13 -0
  549. package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.mts +9 -0
  550. package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.ts +9 -0
  551. package/Utils/SecurityEvent/LogParsers/SecurityLogLine.js +63 -3
  552. package/Utils/SecurityEvent/LogParsers/SecurityLogLine.mjs +4 -0
  553. package/Utils/SecurityEvent/LogParsers/SecurityLogParser.js +54 -0
  554. package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.d.mts +26 -0
  555. package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.d.ts +26 -0
  556. package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.js +1046 -0
  557. package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.mjs +11 -0
  558. package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.d.mts +19 -0
  559. package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.d.ts +19 -0
  560. package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.js +724 -0
  561. package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.mjs +7 -0
  562. package/Utils/SecurityEvent/SecurityEventSearch.d.mts +56 -0
  563. package/Utils/SecurityEvent/SecurityEventSearch.d.ts +56 -0
  564. package/Utils/SecurityEvent/SecurityEventSearch.js +422 -0
  565. package/Utils/SecurityEvent/SecurityEventSearch.mjs +21 -0
  566. package/Utils/SecurityEvent/SecurityHuntSearch.d.mts +12 -0
  567. package/Utils/SecurityEvent/SecurityHuntSearch.d.ts +12 -0
  568. package/Utils/SecurityEvent/SecurityHuntSearch.js +51 -0
  569. package/Utils/SecurityEvent/SecurityHuntSearch.mjs +3 -0
  570. package/Utils/SecurityEvent/SecurityRecordReading.d.mts +32 -0
  571. package/Utils/SecurityEvent/SecurityRecordReading.d.ts +32 -0
  572. package/Utils/SecurityEvent/SecurityRecordReading.js +78 -0
  573. package/Utils/SecurityEvent/SecurityRecordReading.mjs +2 -0
  574. package/Utils/Sms/OnCallPageSms.d.mts +1 -0
  575. package/Utils/Sms/OnCallPageSms.d.ts +1 -0
  576. package/Utils/Sms/OnCallPageSms.js +16 -2
  577. package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.mts +44 -0
  578. package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.ts +44 -0
  579. package/Utils/Suggestions/InvestigationCodeFixSuggestion.js +223 -0
  580. package/Utils/Suggestions/InvestigationCodeFixSuggestion.mjs +8 -0
  581. package/Utils/Suggestions/TracePerformanceFixSuggestion.d.mts +9 -0
  582. package/Utils/Suggestions/TracePerformanceFixSuggestion.d.ts +9 -0
  583. package/Utils/Suggestions/TracePerformanceFixSuggestion.js +69 -1
  584. package/Utils/Suggestions/TracePerformanceFixSuggestion.mjs +4 -0
  585. package/Utils/Syslog/LeefParser.d.mts +28 -0
  586. package/Utils/Syslog/LeefParser.d.ts +28 -0
  587. package/Utils/Syslog/LeefParser.js +326 -0
  588. package/Utils/Syslog/LeefParser.mjs +10 -0
  589. package/Utils/VersionRange.d.mts +34 -0
  590. package/Utils/VersionRange.d.ts +34 -0
  591. package/Utils/VersionRange.js +422 -0
  592. package/Utils/VersionRange.mjs +5 -0
  593. package/package.json +1 -1
@@ -0,0 +1,683 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ const DataSecurityScan_1 = __importDefault(require("./DataSecurityScan"));
16
+ const DataStore_1 = __importDefault(require("./DataStore"));
17
+ const Project_1 = __importDefault(require("./Project"));
18
+ const DatabaseBaseModel_1 = __importDefault(require("./DatabaseBaseModel/DatabaseBaseModel"));
19
+ const Route_1 = __importDefault(require("../../Types/API/Route"));
20
+ const ColumnAccessControl_1 = __importDefault(require("../../Types/Database/AccessControl/ColumnAccessControl"));
21
+ const TableAccessControl_1 = __importDefault(require("../../Types/Database/AccessControl/TableAccessControl"));
22
+ const TableBillingAccessControl_1 = __importDefault(require("../../Types/Database/AccessControl/TableBillingAccessControl"));
23
+ const ColumnType_1 = __importDefault(require("../../Types/Database/ColumnType"));
24
+ const CrudApiEndpoint_1 = __importDefault(require("../../Types/Database/CrudApiEndpoint"));
25
+ const EnableDocumentation_1 = __importDefault(require("../../Types/Database/EnableDocumentation"));
26
+ const TableColumn_1 = __importDefault(require("../../Types/Database/TableColumn"));
27
+ const TableColumnType_1 = __importDefault(require("../../Types/Database/TableColumnType"));
28
+ const TableMetadata_1 = __importDefault(require("../../Types/Database/TableMetadata"));
29
+ const TenantColumn_1 = __importDefault(require("../../Types/Database/TenantColumn"));
30
+ const IconProp_1 = __importDefault(require("../../Types/Icon/IconProp"));
31
+ const ObjectID_1 = __importDefault(require("../../Types/ObjectID"));
32
+ const Permission_1 = __importDefault(require("../../Types/Permission"));
33
+ const SubscriptionPlan_1 = require("../../Types/Billing/SubscriptionPlan");
34
+ const EnableMCP_1 = __importDefault(require("../../Types/Database/EnableMCP"));
35
+ const EnableAuditLog_1 = __importDefault(require("../../Types/Database/EnableAuditLog"));
36
+ const DataCategory_1 = __importDefault(require("../../Types/DataSecurity/DataCategory"));
37
+ const DataSensitivity_1 = __importDefault(require("../../Types/DataSecurity/DataSensitivity"));
38
+ const DataConfidence_1 = __importDefault(require("../../Types/DataSecurity/DataConfidence"));
39
+ const ColumnLength_1 = __importDefault(require("../../Types/Database/ColumnLength"));
40
+ const typeorm_1 = require("typeorm");
41
+ /*
42
+ * One data type at one location of one store - a column, a JSON field, a
43
+ * path pattern of objects, a telemetry attribute - and what the scans found
44
+ * there: how sure they are, how many values matched, how many different
45
+ * values there were, and at most three masked samples
46
+ * (Utils/DataSecurity/Masking).
47
+ *
48
+ * OneUptime writes every row; people mark a finding "not sensitive", which
49
+ * keeps it out of the store's sensitivity and its checks and tunes the next
50
+ * scans. No row ever holds a raw value.
51
+ */
52
+ const readPermissions = [
53
+ Permission_1.default.ProjectOwner,
54
+ Permission_1.default.ProjectAdmin,
55
+ Permission_1.default.SecurityAdmin,
56
+ Permission_1.default.SecurityMember,
57
+ Permission_1.default.SecurityViewer,
58
+ Permission_1.default.ReadDataStoreFinding,
59
+ ];
60
+ const createPermissions = [];
61
+ const updatePermissions = [
62
+ Permission_1.default.ProjectOwner,
63
+ Permission_1.default.ProjectAdmin,
64
+ Permission_1.default.SecurityAdmin,
65
+ Permission_1.default.SecurityMember,
66
+ Permission_1.default.EditDataStoreFinding,
67
+ ];
68
+ const deletePermissions = [
69
+ Permission_1.default.ProjectOwner,
70
+ Permission_1.default.ProjectAdmin,
71
+ Permission_1.default.SecurityAdmin,
72
+ Permission_1.default.DeleteDataStoreFinding,
73
+ ];
74
+ /*
75
+ * Masked samples are still evidence about real records, so the Security
76
+ * Viewer tier, which reads everything else, does not read them.
77
+ */
78
+ const restrictedReadPermissions = [
79
+ Permission_1.default.ProjectOwner,
80
+ Permission_1.default.ProjectAdmin,
81
+ Permission_1.default.SecurityAdmin,
82
+ Permission_1.default.SecurityMember,
83
+ Permission_1.default.ReadDataStoreFinding,
84
+ ];
85
+ // Columns OneUptime writes; people read them.
86
+ const serverWrittenColumnAccess = {
87
+ create: [],
88
+ read: readPermissions,
89
+ update: [],
90
+ };
91
+ const createOnlyColumnAccess = {
92
+ create: createPermissions,
93
+ read: readPermissions,
94
+ update: [],
95
+ };
96
+ // Columns OneUptime sets when it creates the row, and people change after.
97
+ const peopleEditableColumnAccess = {
98
+ create: [],
99
+ read: readPermissions,
100
+ update: updatePermissions,
101
+ };
102
+ const restrictedColumnAccess = {
103
+ create: [],
104
+ read: restrictedReadPermissions,
105
+ update: [],
106
+ };
107
+ let DataStoreFinding = class DataStoreFinding extends DatabaseBaseModel_1.default {
108
+ constructor() {
109
+ super(...arguments);
110
+ this.project = undefined;
111
+ this.projectId = undefined;
112
+ this.dataStore = undefined;
113
+ this.dataStoreId = undefined;
114
+ this.findingKey = undefined;
115
+ this.dataTypeId = undefined;
116
+ this.dataTypeName = undefined;
117
+ this.dataCategory = undefined;
118
+ this.sensitivity = undefined;
119
+ this.location = undefined;
120
+ this.locationKind = undefined;
121
+ this.confidence = undefined;
122
+ this.matchCount = undefined;
123
+ this.valueCount = undefined;
124
+ this.matchPercent = undefined;
125
+ this.distinctValues = undefined;
126
+ this.testValueCount = undefined;
127
+ this.maskedSamples = undefined;
128
+ this.isFreeText = undefined;
129
+ this.isNameHinted = undefined;
130
+ this.isFoundByName = undefined;
131
+ this.isScrubbed = undefined;
132
+ this.isSuppressed = undefined;
133
+ this.suppressedReason = undefined;
134
+ this.lastScan = undefined;
135
+ this.lastScanId = undefined;
136
+ this.firstSeenAt = undefined;
137
+ this.lastSeenAt = undefined;
138
+ }
139
+ };
140
+ __decorate([
141
+ (0, ColumnAccessControl_1.default)(createOnlyColumnAccess),
142
+ (0, TableColumn_1.default)({
143
+ manyToOneRelationColumn: "projectId",
144
+ type: TableColumnType_1.default.Entity,
145
+ modelType: Project_1.default,
146
+ title: "Project",
147
+ description: "Relation to the project this finding belongs to.",
148
+ }),
149
+ (0, typeorm_1.ManyToOne)(() => {
150
+ return Project_1.default;
151
+ }, {
152
+ eager: false,
153
+ nullable: true,
154
+ onDelete: "CASCADE",
155
+ orphanedRowAction: "nullify",
156
+ }),
157
+ (0, typeorm_1.JoinColumn)({ name: "projectId" }),
158
+ __metadata("design:type", Project_1.default)
159
+ ], DataStoreFinding.prototype, "project", void 0);
160
+ __decorate([
161
+ (0, ColumnAccessControl_1.default)(createOnlyColumnAccess),
162
+ (0, typeorm_1.Index)(),
163
+ (0, TableColumn_1.default)({
164
+ type: TableColumnType_1.default.ObjectID,
165
+ required: true,
166
+ canReadOnRelationQuery: true,
167
+ title: "Project ID",
168
+ description: "ID of the project this finding belongs to.",
169
+ }),
170
+ (0, typeorm_1.Column)({
171
+ type: ColumnType_1.default.ObjectID,
172
+ nullable: false,
173
+ transformer: ObjectID_1.default.getDatabaseTransformer(),
174
+ }),
175
+ __metadata("design:type", ObjectID_1.default)
176
+ ], DataStoreFinding.prototype, "projectId", void 0);
177
+ __decorate([
178
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
179
+ (0, TableColumn_1.default)({
180
+ manyToOneRelationColumn: "dataStoreId",
181
+ type: TableColumnType_1.default.Entity,
182
+ modelType: DataStore_1.default,
183
+ title: "Data Store",
184
+ description: "Relation to the store the finding is in.",
185
+ }),
186
+ (0, typeorm_1.ManyToOne)(() => {
187
+ return DataStore_1.default;
188
+ }, {
189
+ eager: false,
190
+ nullable: true,
191
+ onDelete: "CASCADE",
192
+ orphanedRowAction: "nullify",
193
+ }),
194
+ (0, typeorm_1.JoinColumn)({ name: "dataStoreId" }),
195
+ __metadata("design:type", DataStore_1.default)
196
+ ], DataStoreFinding.prototype, "dataStore", void 0);
197
+ __decorate([
198
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
199
+ (0, typeorm_1.Index)(),
200
+ (0, TableColumn_1.default)({
201
+ type: TableColumnType_1.default.ObjectID,
202
+ required: true,
203
+ computed: true,
204
+ canReadOnRelationQuery: true,
205
+ title: "Data Store ID",
206
+ description: "The store the finding is in.",
207
+ }),
208
+ (0, typeorm_1.Column)({
209
+ type: ColumnType_1.default.ObjectID,
210
+ nullable: false,
211
+ transformer: ObjectID_1.default.getDatabaseTransformer(),
212
+ }),
213
+ __metadata("design:type", ObjectID_1.default)
214
+ ], DataStoreFinding.prototype, "dataStoreId", void 0);
215
+ __decorate([
216
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
217
+ (0, TableColumn_1.default)({
218
+ type: TableColumnType_1.default.LongText,
219
+ required: true,
220
+ computed: true,
221
+ canReadOnRelationQuery: true,
222
+ title: "Finding Key",
223
+ description: "The data type and location, which identify the finding within its store.",
224
+ }),
225
+ (0, typeorm_1.Column)({
226
+ type: ColumnType_1.default.LongText,
227
+ length: ColumnLength_1.default.LongText,
228
+ nullable: false,
229
+ }),
230
+ __metadata("design:type", String)
231
+ ], DataStoreFinding.prototype, "findingKey", void 0);
232
+ __decorate([
233
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
234
+ (0, TableColumn_1.default)({
235
+ type: TableColumnType_1.default.ShortText,
236
+ required: true,
237
+ computed: true,
238
+ canReadOnRelationQuery: true,
239
+ title: "Data Type",
240
+ description: "The data type found: a built-in id such as credit-card-number, or custom: and a custom type's id.",
241
+ }),
242
+ (0, typeorm_1.Column)({
243
+ type: ColumnType_1.default.ShortText,
244
+ length: ColumnLength_1.default.ShortText,
245
+ nullable: false,
246
+ }),
247
+ __metadata("design:type", String)
248
+ ], DataStoreFinding.prototype, "dataTypeId", void 0);
249
+ __decorate([
250
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
251
+ (0, TableColumn_1.default)({
252
+ type: TableColumnType_1.default.ShortText,
253
+ required: false,
254
+ computed: true,
255
+ canReadOnRelationQuery: true,
256
+ title: "Data Type Name",
257
+ description: "The data type's name when it was found.",
258
+ }),
259
+ (0, typeorm_1.Column)({
260
+ type: ColumnType_1.default.ShortText,
261
+ length: ColumnLength_1.default.ShortText,
262
+ nullable: true,
263
+ }),
264
+ __metadata("design:type", String)
265
+ ], DataStoreFinding.prototype, "dataTypeName", void 0);
266
+ __decorate([
267
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
268
+ (0, TableColumn_1.default)({
269
+ type: TableColumnType_1.default.ShortText,
270
+ required: false,
271
+ computed: true,
272
+ canReadOnRelationQuery: true,
273
+ title: "Category",
274
+ description: "The data type's category.",
275
+ }),
276
+ (0, typeorm_1.Column)({
277
+ type: ColumnType_1.default.ShortText,
278
+ length: ColumnLength_1.default.ShortText,
279
+ nullable: true,
280
+ }),
281
+ __metadata("design:type", String)
282
+ ], DataStoreFinding.prototype, "dataCategory", void 0);
283
+ __decorate([
284
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
285
+ (0, TableColumn_1.default)({
286
+ type: TableColumnType_1.default.ShortText,
287
+ required: false,
288
+ computed: true,
289
+ canReadOnRelationQuery: true,
290
+ title: "Sensitivity",
291
+ description: "The data type's sensitivity.",
292
+ }),
293
+ (0, typeorm_1.Column)({
294
+ type: ColumnType_1.default.ShortText,
295
+ length: ColumnLength_1.default.ShortText,
296
+ nullable: true,
297
+ }),
298
+ __metadata("design:type", String)
299
+ ], DataStoreFinding.prototype, "sensitivity", void 0);
300
+ __decorate([
301
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
302
+ (0, TableColumn_1.default)({
303
+ type: TableColumnType_1.default.LongText,
304
+ required: true,
305
+ computed: true,
306
+ canReadOnRelationQuery: true,
307
+ title: "Location",
308
+ description: "Where in the store it was found: a table and column, a field path, an object path pattern, or a telemetry attribute.",
309
+ }),
310
+ (0, typeorm_1.Column)({
311
+ type: ColumnType_1.default.LongText,
312
+ length: ColumnLength_1.default.LongText,
313
+ nullable: false,
314
+ }),
315
+ __metadata("design:type", String)
316
+ ], DataStoreFinding.prototype, "location", void 0);
317
+ __decorate([
318
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
319
+ (0, TableColumn_1.default)({
320
+ type: TableColumnType_1.default.ShortText,
321
+ required: false,
322
+ computed: true,
323
+ canReadOnRelationQuery: true,
324
+ title: "Location Kind",
325
+ description: "What the location is: Column, Field, Object, Attribute, Body or Text.",
326
+ }),
327
+ (0, typeorm_1.Column)({
328
+ type: ColumnType_1.default.ShortText,
329
+ length: ColumnLength_1.default.ShortText,
330
+ nullable: true,
331
+ }),
332
+ __metadata("design:type", String)
333
+ ], DataStoreFinding.prototype, "locationKind", void 0);
334
+ __decorate([
335
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
336
+ (0, TableColumn_1.default)({
337
+ type: TableColumnType_1.default.ShortText,
338
+ required: true,
339
+ computed: true,
340
+ canReadOnRelationQuery: true,
341
+ title: "Confidence",
342
+ description: "How sure the scan is: High, Medium or Low.",
343
+ defaultValue: "Low",
344
+ isDefaultValueColumn: true,
345
+ }),
346
+ (0, typeorm_1.Column)({
347
+ type: ColumnType_1.default.ShortText,
348
+ length: ColumnLength_1.default.ShortText,
349
+ nullable: false,
350
+ default: "Low",
351
+ }),
352
+ __metadata("design:type", String)
353
+ ], DataStoreFinding.prototype, "confidence", void 0);
354
+ __decorate([
355
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
356
+ (0, TableColumn_1.default)({
357
+ type: TableColumnType_1.default.Number,
358
+ required: true,
359
+ computed: true,
360
+ canReadOnRelationQuery: true,
361
+ title: "Matches",
362
+ description: "How many sampled values matched.",
363
+ defaultValue: 0,
364
+ isDefaultValueColumn: true,
365
+ }),
366
+ (0, typeorm_1.Column)({
367
+ type: ColumnType_1.default.Number,
368
+ nullable: false,
369
+ default: 0,
370
+ }),
371
+ __metadata("design:type", Number)
372
+ ], DataStoreFinding.prototype, "matchCount", void 0);
373
+ __decorate([
374
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
375
+ (0, TableColumn_1.default)({
376
+ type: TableColumnType_1.default.Number,
377
+ required: true,
378
+ computed: true,
379
+ canReadOnRelationQuery: true,
380
+ title: "Values Sampled",
381
+ description: "How many values were sampled at the location.",
382
+ defaultValue: 0,
383
+ isDefaultValueColumn: true,
384
+ }),
385
+ (0, typeorm_1.Column)({
386
+ type: ColumnType_1.default.Number,
387
+ nullable: false,
388
+ default: 0,
389
+ }),
390
+ __metadata("design:type", Number)
391
+ ], DataStoreFinding.prototype, "valueCount", void 0);
392
+ __decorate([
393
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
394
+ (0, TableColumn_1.default)({
395
+ type: TableColumnType_1.default.Number,
396
+ required: true,
397
+ computed: true,
398
+ canReadOnRelationQuery: true,
399
+ title: "Match Percent",
400
+ description: "The share of sampled values that matched, from 0 to 100.",
401
+ defaultValue: 0,
402
+ isDefaultValueColumn: true,
403
+ }),
404
+ (0, typeorm_1.Column)({
405
+ type: ColumnType_1.default.Number,
406
+ nullable: false,
407
+ default: 0,
408
+ }),
409
+ __metadata("design:type", Number)
410
+ ], DataStoreFinding.prototype, "matchPercent", void 0);
411
+ __decorate([
412
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
413
+ (0, TableColumn_1.default)({
414
+ type: TableColumnType_1.default.Number,
415
+ required: true,
416
+ computed: true,
417
+ canReadOnRelationQuery: true,
418
+ title: "Distinct Values",
419
+ description: "How many different values matched, estimated from hashes that never leave the scan.",
420
+ defaultValue: 0,
421
+ isDefaultValueColumn: true,
422
+ }),
423
+ (0, typeorm_1.Column)({
424
+ type: ColumnType_1.default.Number,
425
+ nullable: false,
426
+ default: 0,
427
+ }),
428
+ __metadata("design:type", Number)
429
+ ], DataStoreFinding.prototype, "distinctValues", void 0);
430
+ __decorate([
431
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
432
+ (0, TableColumn_1.default)({
433
+ type: TableColumnType_1.default.Number,
434
+ required: true,
435
+ computed: true,
436
+ canReadOnRelationQuery: true,
437
+ title: "Test Values",
438
+ description: "How many matches were well-known test values, which are never findings.",
439
+ defaultValue: 0,
440
+ isDefaultValueColumn: true,
441
+ }),
442
+ (0, typeorm_1.Column)({
443
+ type: ColumnType_1.default.Number,
444
+ nullable: false,
445
+ default: 0,
446
+ }),
447
+ __metadata("design:type", Number)
448
+ ], DataStoreFinding.prototype, "testValueCount", void 0);
449
+ __decorate([
450
+ (0, ColumnAccessControl_1.default)(restrictedColumnAccess),
451
+ (0, TableColumn_1.default)({
452
+ type: TableColumnType_1.default.JSON,
453
+ required: false,
454
+ computed: true,
455
+ title: "Masked Samples",
456
+ description: "At most three masked samples, such as j***@e******.com. Never a raw value.",
457
+ }),
458
+ (0, typeorm_1.Column)({
459
+ type: ColumnType_1.default.JSON,
460
+ nullable: true,
461
+ }),
462
+ __metadata("design:type", Array)
463
+ ], DataStoreFinding.prototype, "maskedSamples", void 0);
464
+ __decorate([
465
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
466
+ (0, TableColumn_1.default)({
467
+ type: TableColumnType_1.default.Boolean,
468
+ required: true,
469
+ computed: true,
470
+ canReadOnRelationQuery: true,
471
+ title: "Free Text",
472
+ description: "The location holds free text, so the finding is about values inside it rather than the whole field.",
473
+ defaultValue: false,
474
+ isDefaultValueColumn: true,
475
+ }),
476
+ (0, typeorm_1.Column)({
477
+ type: ColumnType_1.default.Boolean,
478
+ nullable: false,
479
+ default: false,
480
+ }),
481
+ __metadata("design:type", Boolean)
482
+ ], DataStoreFinding.prototype, "isFreeText", void 0);
483
+ __decorate([
484
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
485
+ (0, TableColumn_1.default)({
486
+ type: TableColumnType_1.default.Boolean,
487
+ required: true,
488
+ computed: true,
489
+ canReadOnRelationQuery: true,
490
+ title: "Name Hinted",
491
+ description: "The location's name hints at the data type.",
492
+ defaultValue: false,
493
+ isDefaultValueColumn: true,
494
+ }),
495
+ (0, typeorm_1.Column)({
496
+ type: ColumnType_1.default.Boolean,
497
+ nullable: false,
498
+ default: false,
499
+ }),
500
+ __metadata("design:type", Boolean)
501
+ ], DataStoreFinding.prototype, "isNameHinted", void 0);
502
+ __decorate([
503
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
504
+ (0, TableColumn_1.default)({
505
+ type: TableColumnType_1.default.Boolean,
506
+ required: true,
507
+ computed: true,
508
+ canReadOnRelationQuery: true,
509
+ title: "Found By Name",
510
+ description: "Found from the location's name alone, for a data type no value pattern can confirm.",
511
+ defaultValue: false,
512
+ isDefaultValueColumn: true,
513
+ }),
514
+ (0, typeorm_1.Column)({
515
+ type: ColumnType_1.default.Boolean,
516
+ nullable: false,
517
+ default: false,
518
+ }),
519
+ __metadata("design:type", Boolean)
520
+ ], DataStoreFinding.prototype, "isFoundByName", void 0);
521
+ __decorate([
522
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
523
+ (0, TableColumn_1.default)({
524
+ type: TableColumnType_1.default.Boolean,
525
+ required: true,
526
+ computed: true,
527
+ canReadOnRelationQuery: true,
528
+ title: "Scrubbed",
529
+ description: "For telemetry: a scrub rule already masks this data at ingest.",
530
+ defaultValue: false,
531
+ isDefaultValueColumn: true,
532
+ }),
533
+ (0, typeorm_1.Column)({
534
+ type: ColumnType_1.default.Boolean,
535
+ nullable: false,
536
+ default: false,
537
+ }),
538
+ __metadata("design:type", Boolean)
539
+ ], DataStoreFinding.prototype, "isScrubbed", void 0);
540
+ __decorate([
541
+ (0, ColumnAccessControl_1.default)(peopleEditableColumnAccess),
542
+ (0, TableColumn_1.default)({
543
+ type: TableColumnType_1.default.Boolean,
544
+ required: true,
545
+ canReadOnRelationQuery: true,
546
+ title: "Not Sensitive",
547
+ description: "A person marked the finding as not sensitive. It no longer counts toward the store's sensitivity or checks.",
548
+ defaultValue: false,
549
+ isDefaultValueColumn: true,
550
+ }),
551
+ (0, typeorm_1.Column)({
552
+ type: ColumnType_1.default.Boolean,
553
+ nullable: false,
554
+ default: false,
555
+ }),
556
+ __metadata("design:type", Boolean)
557
+ ], DataStoreFinding.prototype, "isSuppressed", void 0);
558
+ __decorate([
559
+ (0, ColumnAccessControl_1.default)(peopleEditableColumnAccess),
560
+ (0, TableColumn_1.default)({
561
+ type: TableColumnType_1.default.LongText,
562
+ required: false,
563
+ canReadOnRelationQuery: true,
564
+ title: "Why Not Sensitive",
565
+ description: "Why the finding was marked not sensitive.",
566
+ }),
567
+ (0, typeorm_1.Column)({
568
+ type: ColumnType_1.default.LongText,
569
+ length: ColumnLength_1.default.LongText,
570
+ nullable: true,
571
+ }),
572
+ __metadata("design:type", String)
573
+ ], DataStoreFinding.prototype, "suppressedReason", void 0);
574
+ __decorate([
575
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
576
+ (0, TableColumn_1.default)({
577
+ manyToOneRelationColumn: "lastScanId",
578
+ type: TableColumnType_1.default.Entity,
579
+ modelType: DataSecurityScan_1.default,
580
+ title: "Last Scan",
581
+ description: "Relation to the scan that last saw the finding.",
582
+ }),
583
+ (0, typeorm_1.ManyToOne)(() => {
584
+ return DataSecurityScan_1.default;
585
+ }, {
586
+ eager: false,
587
+ nullable: true,
588
+ onDelete: "SET NULL",
589
+ orphanedRowAction: "nullify",
590
+ }),
591
+ (0, typeorm_1.JoinColumn)({ name: "lastScanId" }),
592
+ __metadata("design:type", DataSecurityScan_1.default)
593
+ ], DataStoreFinding.prototype, "lastScan", void 0);
594
+ __decorate([
595
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
596
+ (0, typeorm_1.Index)(),
597
+ (0, TableColumn_1.default)({
598
+ type: TableColumnType_1.default.ObjectID,
599
+ required: false,
600
+ computed: true,
601
+ canReadOnRelationQuery: true,
602
+ title: "Last Scan ID",
603
+ description: "The scan that last saw the finding.",
604
+ }),
605
+ (0, typeorm_1.Column)({
606
+ type: ColumnType_1.default.ObjectID,
607
+ nullable: true,
608
+ transformer: ObjectID_1.default.getDatabaseTransformer(),
609
+ }),
610
+ __metadata("design:type", ObjectID_1.default)
611
+ ], DataStoreFinding.prototype, "lastScanId", void 0);
612
+ __decorate([
613
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
614
+ (0, TableColumn_1.default)({
615
+ type: TableColumnType_1.default.Date,
616
+ required: false,
617
+ computed: true,
618
+ canReadOnRelationQuery: true,
619
+ title: "First Seen At",
620
+ description: "When a scan first found it.",
621
+ }),
622
+ (0, typeorm_1.Column)({
623
+ type: ColumnType_1.default.Date,
624
+ nullable: true,
625
+ }),
626
+ __metadata("design:type", Date)
627
+ ], DataStoreFinding.prototype, "firstSeenAt", void 0);
628
+ __decorate([
629
+ (0, ColumnAccessControl_1.default)(serverWrittenColumnAccess),
630
+ (0, typeorm_1.Index)(),
631
+ (0, TableColumn_1.default)({
632
+ type: TableColumnType_1.default.Date,
633
+ required: false,
634
+ computed: true,
635
+ canReadOnRelationQuery: true,
636
+ title: "Last Seen At",
637
+ description: "When a scan last found it.",
638
+ }),
639
+ (0, typeorm_1.Column)({
640
+ type: ColumnType_1.default.Date,
641
+ nullable: true,
642
+ }),
643
+ __metadata("design:type", Date)
644
+ ], DataStoreFinding.prototype, "lastSeenAt", void 0);
645
+ DataStoreFinding = __decorate([
646
+ (0, EnableDocumentation_1.default)(),
647
+ (0, EnableMCP_1.default)()
648
+ /*
649
+ * A person's verdict on a finding is kept; OneUptime's own writes would bury
650
+ * the log.
651
+ */
652
+ ,
653
+ (0, EnableAuditLog_1.default)({ create: false, update: true, delete: true }),
654
+ (0, TableBillingAccessControl_1.default)({
655
+ create: SubscriptionPlan_1.PlanType.Free,
656
+ read: SubscriptionPlan_1.PlanType.Free,
657
+ update: SubscriptionPlan_1.PlanType.Free,
658
+ delete: SubscriptionPlan_1.PlanType.Free,
659
+ }),
660
+ (0, TenantColumn_1.default)("projectId"),
661
+ (0, CrudApiEndpoint_1.default)(new Route_1.default("/data-store-finding")),
662
+ (0, typeorm_1.Entity)({
663
+ name: "DataStoreFinding",
664
+ }),
665
+ (0, TableMetadata_1.default)({
666
+ tableName: "DataStoreFinding",
667
+ singularName: "Data Store Finding",
668
+ pluralName: "Data Store Findings",
669
+ // What's Inside's and Sensitive Data's icon, so its empty lists look like them.
670
+ icon: IconProp_1.default.Fingerprint,
671
+ tableDescription: "What Data Security found in a store: one data type at one location, with its confidence, counts and masked samples.",
672
+ }),
673
+ (0, TableAccessControl_1.default)({
674
+ create: createPermissions,
675
+ read: readPermissions,
676
+ update: updatePermissions,
677
+ delete: deletePermissions,
678
+ }),
679
+ (0, typeorm_1.Index)(["dataStoreId", "findingKey"], { unique: true }),
680
+ (0, typeorm_1.Index)(["projectId", "dataTypeId"]),
681
+ (0, typeorm_1.Index)(["projectId", "sensitivity"])
682
+ ], DataStoreFinding);
683
+ exports.default = DataStoreFinding;
@@ -0,0 +1,2 @@
1
+ import commonJsModule from "./DataStoreFinding.js";
2
+ export default commonJsModule.default;