@oneuptime/common 12.0.15 → 12.0.17
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.
- package/Models/AnalyticsModels/Index.ts +10 -0
- package/Models/AnalyticsModels/LogCountBaseline.ts +174 -0
- package/Models/AnalyticsModels/SecurityEvent.ts +794 -0
- package/Models/AnalyticsModels/Span.ts +29 -1
- package/Models/AnalyticsModels/SpanCountBaseline.ts +198 -0
- package/Models/DatabaseModels/Alert.ts +42 -0
- package/Models/DatabaseModels/AlertMeasurement.ts +1114 -0
- package/Models/DatabaseModels/AlertMeasurementValue.ts +501 -0
- package/Models/DatabaseModels/AlertStateTimeline.ts +10 -2
- package/Models/DatabaseModels/BillingPaymentMethod.ts +8 -10
- package/Models/DatabaseModels/DetectionRule.ts +568 -0
- package/Models/DatabaseModels/GoogleSecOpsConnection.ts +382 -0
- package/Models/DatabaseModels/Incident.ts +42 -0
- package/Models/DatabaseModels/IncidentMeasurement.ts +1114 -0
- package/Models/DatabaseModels/IncidentMeasurementValue.ts +501 -0
- package/Models/DatabaseModels/IncidentStateTimeline.ts +10 -2
- package/Models/DatabaseModels/IncomingCallPolicyLabelRule.ts +36 -0
- package/Models/DatabaseModels/IncomingCallPolicyOwnerRule.ts +42 -0
- package/Models/DatabaseModels/Index.ts +20 -0
- package/Models/DatabaseModels/Label.ts +11 -0
- package/Models/DatabaseModels/LlmCostBudget.ts +655 -0
- package/Models/DatabaseModels/LlmModelPrice.ts +481 -0
- package/Models/DatabaseModels/LogSavedView.ts +87 -0
- package/Models/DatabaseModels/MarketingConversion.ts +210 -8
- package/Models/DatabaseModels/MetricSavedView.ts +59 -0
- package/Models/DatabaseModels/OnCallDutyPolicyLabelRule.ts +36 -0
- package/Models/DatabaseModels/OnCallDutyPolicyOwnerRule.ts +42 -0
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLabelRule.ts +36 -0
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleOwnerRule.ts +42 -0
- package/Models/DatabaseModels/Probe.ts +21 -0
- package/Models/DatabaseModels/RunbookLabelRule.ts +36 -0
- package/Models/DatabaseModels/RunbookOwnerRule.ts +42 -0
- package/Models/DatabaseModels/ScheduledMaintenanceMeasurement.ts +1104 -0
- package/Models/DatabaseModels/ScheduledMaintenanceMeasurementValue.ts +491 -0
- package/Models/DatabaseModels/ScheduledMaintenanceStateTimeline.ts +10 -2
- package/Models/DatabaseModels/StatusPageLabelRule.ts +36 -0
- package/Models/DatabaseModels/StatusPageOwnerRule.ts +42 -0
- package/Models/DatabaseModels/TableView.ts +15 -0
- package/Models/DatabaseModels/Team.ts +13 -0
- package/Models/DatabaseModels/TeamMember.ts +8 -0
- package/Models/DatabaseModels/TraceSavedView.ts +52 -0
- package/Models/DatabaseModels/WorkflowLabelRule.ts +36 -0
- package/Models/DatabaseModels/WorkflowOwnerRule.ts +42 -0
- package/Server/API/TelemetryAPI.ts +252 -6
- package/Server/API/UserAPI.ts +88 -0
- package/Server/EnvironmentConfig.ts +36 -1
- package/Server/Infrastructure/Postgres/SchemaMigrations/1788000000000-AddDetectionRuleAndGoogleSecOpsConnection.ts +88 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1788100000000-AddMeasurements.ts +457 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1788200000000-AddLlmCostBudget.ts +97 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1788300000000-AddLlmModelPrice.ts +45 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1788400000000-AddMarketingConversionAttribution.ts +105 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1788500000000-RemoveLlmCostBudgetAlertColumns.ts +77 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1788600000000-AddDetectionRuleIncidentColumns.ts +39 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/Index.ts +14 -0
- package/Server/Middleware/IdentityRateLimit.ts +672 -0
- package/Server/Services/AccessTokenService.ts +15 -2
- package/Server/Services/AlertMeasurementService.ts +302 -0
- package/Server/Services/AlertMeasurementValueService.ts +508 -0
- package/Server/Services/AlertService.ts +50 -0
- package/Server/Services/AlertStateTimelineService.ts +54 -0
- package/Server/Services/DetectionRuleService.ts +74 -0
- package/Server/Services/GoogleSecOpsConnectionService.ts +89 -0
- package/Server/Services/IncidentMeasurementService.ts +304 -0
- package/Server/Services/IncidentMeasurementValueService.ts +523 -0
- package/Server/Services/IncidentService.ts +51 -0
- package/Server/Services/IncidentStateTimelineService.ts +54 -0
- package/Server/Services/Index.ts +30 -0
- package/Server/Services/LlmCostBudgetService.ts +93 -0
- package/Server/Services/LlmModelPriceService.ts +202 -0
- package/Server/Services/LogAggregationService.ts +1106 -2
- package/Server/Services/LogCountBaselineService.ts +163 -0
- package/Server/Services/MutableMetricService.ts +30 -9
- package/Server/Services/ScheduledMaintenanceMeasurementService.ts +311 -0
- package/Server/Services/ScheduledMaintenanceMeasurementValueService.ts +546 -0
- package/Server/Services/ScheduledMaintenanceService.ts +53 -0
- package/Server/Services/ScheduledMaintenanceStateTimelineService.ts +188 -1
- package/Server/Services/SecurityEventService.ts +104 -0
- package/Server/Services/SpanCountBaselineService.ts +173 -0
- package/Server/Services/StatusPageService.ts +4 -3
- package/Server/Services/TelemetryUsageBillingService.ts +17 -2
- package/Server/Services/UserService.ts +284 -51
- package/Server/Services/UserTotpAuthService.ts +27 -86
- package/Server/Services/UserWebAuthnService.ts +26 -86
- package/Server/Types/Billing/MeteredPlan/AllMeteredPlans.ts +14 -0
- package/Server/Types/Database/Permissions/TenantPermission.ts +10 -0
- package/Server/Types/Database/QueryHelper.ts +1 -1
- package/Server/Utils/AI/Chat/ObservabilityChatPrompt.ts +1 -1
- package/Server/Utils/AI/Toolbox/Index.ts +6 -0
- package/Server/Utils/AI/Toolbox/SecurityEventTools.ts +349 -0
- package/Server/Utils/AnalyticsDatabase/StatementGenerator.ts +13 -4
- package/Server/Utils/Attribution.ts +130 -34
- package/Server/Utils/Marketing/ConversionUploadProvider.ts +98 -16
- package/Server/Utils/Marketing/Providers/GoogleAds.ts +70 -7
- package/Server/Utils/Marketing/Providers/LinkedIn.ts +54 -16
- package/Server/Utils/Marketing/Providers/Meta.ts +52 -18
- package/Server/Utils/Marketing/Providers/MicrosoftAds.ts +37 -10
- package/Server/Utils/Marketing/Providers/Reddit.ts +45 -15
- package/Server/Utils/Measurement/MeasurementDefinitionValidator.ts +209 -0
- package/Server/Utils/Measurement/MeasurementMetricWriter.ts +189 -0
- package/Server/Utils/Monitor/Criteria/CountAnomaly.ts +182 -0
- package/Server/Utils/Monitor/Criteria/LogMonitorCriteria.ts +132 -0
- package/Server/Utils/Monitor/Criteria/SecurityEventsMonitorCriteria.ts +35 -0
- package/Server/Utils/Monitor/Criteria/TraceMonitorCriteria.ts +132 -0
- package/Server/Utils/Monitor/DataToProcess.ts +2 -0
- package/Server/Utils/Monitor/MonitorCriteriaDataExtractor.ts +14 -0
- package/Server/Utils/Monitor/MonitorCriteriaEvaluator.ts +15 -0
- package/Server/Utils/Monitor/MonitorCriteriaObservationBuilder.ts +20 -0
- package/Server/Utils/Monitor/MonitorResource.ts +16 -0
- package/Server/Utils/Monitor/MonitorStepResourceIdentity.ts +1 -0
- package/Server/Utils/Monitor/MonitorStepsReferenceExtractor.ts +1 -0
- package/Server/Utils/SecurityEvent/DetectionRuleEvaluator.ts +805 -0
- package/Server/Utils/SecurityEvent/GoogleSecOps/GoogleSecOpsClient.ts +262 -0
- package/Server/Utils/SecurityEvent/GoogleSecOps/GoogleSecOpsPoller.ts +212 -0
- package/Server/Utils/SecurityEvent/SecurityEventRow.ts +101 -0
- package/Server/Utils/SecurityEvent/Sigma/SigmaClickhouseCompiler.ts +635 -0
- package/Server/Utils/Telemetry/LlmCostBudgetEvaluator.ts +379 -0
- package/Server/Utils/Telemetry/LlmSpan.ts +83 -4
- package/Server/Utils/Telemetry/LogErrorPatternSql.ts +136 -0
- package/Server/Utils/UserPermission/UserPermission.ts +57 -1
- package/Tests/App/Dashboard/AlertsSideMenu.test.tsx +4 -0
- package/Tests/App/Dashboard/CreatePageEntryPointPermissions.test.tsx +306 -0
- package/Tests/App/Dashboard/DangerZone.test.tsx +11 -0
- package/Tests/App/Dashboard/IncidentsSideMenu.test.tsx +4 -0
- package/Tests/App/Dashboard/LogMonitorAttributeOperatorPreview.test.tsx +459 -0
- package/Tests/App/Dashboard/OverviewCustomFields.test.tsx +24 -0
- package/Tests/App/Dashboard/ScheduledMaintenanceSideMenu.test.tsx +6 -0
- package/Tests/App/Dashboard/SecurityEventsDetectionRulesPage.test.tsx +250 -0
- package/Tests/App/Dashboard/SecurityEventsMonitorStepForm.test.tsx +106 -0
- package/Tests/App/Dashboard/SecurityEventsMonitorsPage.test.tsx +185 -0
- package/Tests/App/Dashboard/SecurityEventsSetupGuide.test.tsx +200 -0
- package/Tests/Models/DatabaseModels/DomainRoleTierCoverage.test.ts +323 -0
- package/Tests/Models/DatabaseModels/ProjectSharedResources.test.ts +386 -0
- package/Tests/Models/DetectionRuleCreateContract.test.ts +35 -0
- package/Tests/Server/API/LogErrorPatternAPI.test.ts +811 -0
- package/Tests/Server/API/UserAuthenticationAPI.test.ts +11 -0
- package/Tests/Server/API/UserProjectsAPI.test.ts +11 -2
- package/Tests/Server/API/UserTwoFactorAuthAdminAPI.test.ts +918 -0
- package/Tests/Server/Infrastructure/LocalCache.test.ts +149 -0
- package/Tests/Server/Services/AccessTokenProjectUserGrant.test.ts +249 -0
- package/Tests/Server/Services/AlertMeasurementService.test.ts +665 -0
- package/Tests/Server/Services/AlertMeasurementValueService.test.ts +389 -0
- package/Tests/Server/Services/DetectionRuleService.test.ts +254 -0
- package/Tests/Server/Services/IncidentMeasurementService.test.ts +394 -0
- package/Tests/Server/Services/IncidentMeasurementValueService.test.ts +816 -0
- package/Tests/Server/Services/LlmCostBudgetService.test.ts +104 -0
- package/Tests/Server/Services/LogAggregationAttributeOperators.test.ts +405 -0
- package/Tests/Server/Services/LogErrorPatternAggregation.test.ts +804 -0
- package/Tests/Server/Services/MutableMetricNameRouting.test.ts +83 -0
- package/Tests/Server/Services/ScheduledMaintenanceMeasurementService.test.ts +750 -0
- package/Tests/Server/Services/ScheduledMaintenanceMeasurementValueService.test.ts +478 -0
- package/Tests/Server/Services/UserAuthenticationService.test.ts +216 -4
- package/Tests/Server/Services/UserTwoFactorAuthAdmin.test.ts +1190 -0
- package/Tests/Server/Types/Database/Permissions/ScopedRoleSharedResourceAccess.test.ts +466 -0
- package/Tests/Server/Types/Database/QueryHelperOperators.test.ts +265 -0
- package/Tests/Server/Types/Database/QueryHelperTextAndStructuralOperators.test.ts +206 -0
- package/Tests/Server/Utils/AnalyticsDatabase/ClusterAwareSchema.test.ts +6 -0
- package/Tests/Server/Utils/AnalyticsDatabase/FractionalAttributeThreshold.test.ts +224 -0
- package/Tests/Server/Utils/AnalyticsDatabase/StatementGenerator.test.ts +172 -2
- package/Tests/Server/Utils/Attribution.test.ts +228 -1
- package/Tests/Server/Utils/Marketing/AdUploadableConversionTypes.test.ts +153 -92
- package/Tests/Server/Utils/Marketing/ConversionUploadProvider.test.ts +123 -6
- package/Tests/Server/Utils/Marketing/GoogleAds.test.ts +253 -1
- package/Tests/Server/Utils/Marketing/LinkedIn.test.ts +282 -0
- package/Tests/Server/Utils/Marketing/Meta.test.ts +304 -0
- package/Tests/Server/Utils/Marketing/MicrosoftAds.test.ts +263 -0
- package/Tests/Server/Utils/Marketing/Reddit.test.ts +259 -0
- package/Tests/Server/Utils/Measurement/MeasurementDefinitionValidator.test.ts +322 -0
- package/Tests/Server/Utils/Measurement/MeasurementMetricWriter.test.ts +373 -0
- package/Tests/Server/Utils/Monitor/Criteria/CountAnomaly.test.ts +221 -0
- package/Tests/Server/Utils/Monitor/Criteria/LogMonitorCriteria.test.ts +236 -0
- package/Tests/Server/Utils/Monitor/Criteria/SecurityEventsMonitorCriteria.test.ts +147 -0
- package/Tests/Server/Utils/Monitor/Criteria/TraceMonitorCriteria.test.ts +274 -0
- package/Tests/Server/Utils/Monitor/SecurityEventsMonitorDataExtractor.test.ts +93 -0
- package/Tests/Server/Utils/SecurityEvent/DetectionRuleEvaluator.test.ts +1098 -0
- package/Tests/Server/Utils/SecurityEvent/GoogleSecOpsClient.test.ts +308 -0
- package/Tests/Server/Utils/SecurityEvent/GoogleSecOpsPoller.test.ts +271 -0
- package/Tests/Server/Utils/SecurityEvent/SecurityEventRow.test.ts +272 -0
- package/Tests/Server/Utils/SecurityEvent/SigmaClickhouseCompiler.test.ts +511 -0
- package/Tests/Server/Utils/Telemetry/LlmCostBudgetEvaluator.test.ts +497 -0
- package/Tests/Server/Utils/Telemetry/LlmSpan.test.ts +380 -0
- package/Tests/Server/Utils/Telemetry/LogErrorPatternSql.test.ts +207 -0
- package/Tests/Server/Utils/UserPermission/ProjectUserGrant.test.ts +293 -0
- package/Tests/Types/Monitor/MonitorStepInfraMonitorUtils.test.ts +194 -0
- package/Tests/Types/Monitor/MonitorStepSecurityEventsMonitor.test.ts +201 -0
- package/Tests/Types/SecurityEvent/OcsfEventClass.test.ts +105 -0
- package/Tests/Types/SecurityEvent/OcsfSeverity.test.ts +111 -0
- package/Tests/Types/Telemetry/LlmCostCatalog.test.ts +516 -0
- package/Tests/UI/Components/ActiveFilterChipsOperatorValues.test.tsx +222 -0
- package/Tests/UI/Components/BulkActionPermissionGating.test.tsx +296 -0
- package/Tests/UI/Components/CardModelDetailPermissionGating.test.tsx +305 -0
- package/Tests/UI/Components/CustomFields/CustomFieldsDetail.test.tsx +23 -0
- package/Tests/UI/Components/DictionaryFilterOperatorDisplay.test.ts +239 -0
- package/Tests/UI/Components/DisabledButtonTooltip.test.tsx +267 -0
- package/Tests/UI/Components/DuplicateModel.test.tsx +37 -0
- package/Tests/UI/Components/ModelCardPermissionGating.test.tsx +348 -0
- package/Tests/UI/Components/ModelDelete.test.tsx +25 -1
- package/Tests/UI/Components/ModelFormCreatePermission.test.tsx +342 -0
- package/Tests/UI/Components/ModelTable/BaseModelTablePermissionGating.test.tsx +680 -0
- package/Tests/UI/Components/OrderedStatesListCreateGate.test.tsx +174 -0
- package/Tests/UI/Components/SavedViewsDropdownSearch.test.tsx +1127 -0
- package/Tests/UI/Components/SavedViewsFacetSection.test.tsx +958 -0
- package/Tests/UI/Components/SavedViewsList.test.ts +699 -0
- package/Tests/UI/Components/SavedViewsSidebarIntegration.test.tsx +640 -0
- package/Tests/UI/Components/SavedViewsSurfaceParity.test.tsx +679 -0
- package/Tests/UI/Components/TableViewLoadFailure.test.tsx +248 -0
- package/Tests/UI/Types/UseComponentOutsideClick.test.tsx +226 -0
- package/Tests/UI/Utils/PermissionGate.test.ts +467 -0
- package/Tests/Utils/Measurement/MeasurementEvaluator.test.ts +639 -0
- package/Tests/Utils/Monitor/MonitorSummarySnapshotUtil.test.ts +1 -0
- package/Tests/Utils/Monitor/NetworkDeviceLinkRuleUtil.test.ts +285 -0
- package/Tests/Utils/NetworkDevice/DeviceHealthStateUtil.test.ts +433 -0
- package/Tests/Utils/SecurityEvent/GenericNormalizer.test.ts +204 -0
- package/Tests/Utils/SecurityEvent/GoogleSecOpsAlertNormalizer.test.ts +252 -0
- package/Tests/Utils/SecurityEvent/NormalizerHelpers.test.ts +274 -0
- package/Tests/Utils/SecurityEvent/OcsfNormalizer.test.ts +208 -0
- package/Tests/Utils/SecurityEvent/SecurityEventNormalizer.test.ts +172 -0
- package/Tests/Utils/SecurityEvent/SigmaRuleParser.test.ts +471 -0
- package/Tests/Utils/SecurityEvent/UdmNormalizer.test.ts +361 -0
- package/Tests/Utils/Telemetry/CrossSignalScope.test.ts +82 -0
- package/Tests/Utils/Telemetry/LogErrorPattern.test.ts +463 -0
- package/Types/AI/AIChatTypes.ts +1 -0
- package/Types/Alerts/AlertMeasurementAnchorType.ts +14 -0
- package/Types/Alerts/AlertStateRole.ts +11 -0
- package/Types/AnalyticsDatabase/AnalyticsTableName.ts +16 -0
- package/Types/Dashboard/Chart/ChartType.ts +1 -0
- package/Types/Dashboard/DashboardComponentType.ts +2 -0
- package/Types/Dashboard/DashboardComponents/DashboardSecurityEventsFlowComponent.ts +18 -0
- package/Types/Dashboard/DashboardComponents/DashboardSecurityEventsListComponent.ts +16 -0
- package/Types/Incident/IncidentMeasurementAnchorType.ts +34 -0
- package/Types/Incident/IncidentStateRole.ts +14 -0
- package/Types/Marketing/Attribution.ts +75 -0
- package/Types/Marketing/MarketingConversion.ts +37 -7
- package/Types/Measurement/MeasurementAggregationType.ts +43 -0
- package/Types/Measurement/MeasurementAnchorKind.ts +23 -0
- package/Types/Measurement/MeasurementOccurrence.ts +14 -0
- package/Types/Measurement/MeasurementStatus.ts +34 -0
- package/Types/MeteredPlan/ProductType.ts +1 -0
- package/Types/Monitor/CriteriaFilter.ts +3 -0
- package/Types/Monitor/MonitorCriteriaInstance.ts +64 -0
- package/Types/Monitor/MonitorStep.ts +28 -0
- package/Types/Monitor/MonitorStepSecurityEventsMonitor.ts +100 -0
- package/Types/Monitor/MonitorType.ts +20 -0
- package/Types/Monitor/SecurityEventsMonitor/SecurityEventsMonitorResponse.ts +17 -0
- package/Types/Permission.ts +399 -2
- package/Types/ScheduledMaintenance/ScheduledMaintenanceMeasurementAnchorType.ts +20 -0
- package/Types/ScheduledMaintenance/ScheduledMaintenanceStateRole.ts +16 -0
- package/Types/SecurityEvent/DetectionFindingConstants.ts +24 -0
- package/Types/SecurityEvent/NormalizedSecurityEvent.ts +92 -0
- package/Types/SecurityEvent/OcsfEventClass.ts +205 -0
- package/Types/SecurityEvent/OcsfSeverity.ts +88 -0
- package/Types/SecurityEvent/SecurityEventFormat.ts +23 -0
- package/Types/SecurityEvent/SigmaRule.ts +70 -0
- package/Types/Telemetry/LlmConventions.ts +20 -1
- package/Types/Telemetry/LlmCostCatalog.ts +557 -0
- package/Types/Telemetry/ServiceType.ts +1 -0
- package/Types/Telemetry/TelemetryRetentionConfig.ts +5 -1
- package/Types/Telemetry/TelemetryType.ts +1 -0
- package/Types/TwoFactorAuthStatus.ts +42 -0
- package/Types/UserAuthenticationStatus.ts +18 -0
- package/UI/Components/ActionButton/ActionButtonSchema.ts +7 -0
- package/UI/Components/BulkUpdate/BulkArchiveActions.tsx +35 -2
- package/UI/Components/BulkUpdate/BulkLabelActions.tsx +34 -1
- package/UI/Components/BulkUpdate/BulkOwnerActions.tsx +45 -1
- package/UI/Components/BulkUpdate/BulkUpdateForm.tsx +3 -0
- package/UI/Components/Button/Button.tsx +37 -2
- package/UI/Components/Card/Card.tsx +6 -0
- package/UI/Components/CustomFields/CustomFieldsDetail.tsx +24 -1
- package/UI/Components/Dictionary/DictionaryFilterOperator.ts +57 -0
- package/UI/Components/DuplicateModel/DuplicateModel.tsx +16 -0
- package/UI/Components/Forms/ModelForm.tsx +54 -2
- package/UI/Components/List/ListRow.tsx +6 -0
- package/UI/Components/LogsViewer/components/ActiveFilterChips.tsx +34 -7
- package/UI/Components/LogsViewer/components/LogsFacetSidebar.tsx +7 -40
- package/UI/Components/LogsViewer/components/SavedViewsDropdown.tsx +155 -3
- package/UI/Components/ModelDelete/ModelDelete.tsx +20 -0
- package/UI/Components/ModelDetail/CardModelDetail.tsx +36 -23
- package/UI/Components/ModelList/ModelList.tsx +21 -2
- package/UI/Components/ModelList/StaticModelList.tsx +11 -0
- package/UI/Components/ModelTable/BaseModelTable.tsx +168 -62
- package/UI/Components/ModelTable/ModelTable.tsx +16 -10
- package/UI/Components/ModelTable/TableView.tsx +36 -4
- package/UI/Components/MoreMenu/MoreMenuItem.tsx +36 -4
- package/UI/Components/OrderedStatesList/Item.tsx +6 -0
- package/UI/Components/OrderedStatesList/OrderedStatesList.tsx +81 -47
- package/UI/Components/ResetObjectID/ResetObjectID.tsx +16 -0
- package/UI/Components/SavedViews/SavedViewsFacetSection.tsx +242 -0
- package/UI/Components/SavedViews/SavedViewsList.ts +168 -0
- package/UI/Components/SavedViews/SavedViewsSearchInput.tsx +46 -0
- package/UI/Components/SavedViews/SavedViewsShowMoreButton.tsx +44 -0
- package/UI/Components/Table/TableRow.tsx +12 -0
- package/UI/Components/TelemetryViewer/components/SavedViewsDropdown.tsx +152 -2
- package/UI/Types/UseComponentOutsideClick.ts +47 -0
- package/UI/Utils/PermissionGate.ts +277 -0
- package/Utils/Dashboard/Components/DashboardSecurityEventsFlowComponent.ts +84 -0
- package/Utils/Dashboard/Components/DashboardSecurityEventsListComponent.ts +110 -0
- package/Utils/Dashboard/Components/Index.ts +14 -0
- package/Utils/Measurement/MeasurementEvaluator.ts +359 -0
- package/Utils/Monitor/MonitorSummarySnapshotUtil.ts +1 -0
- package/Utils/Monitor/NetworkDeviceLinkRuleUtil.ts +93 -11
- package/Utils/NetworkDevice/DeviceHealthStateUtil.ts +231 -0
- package/Utils/SecurityEvent/GenericNormalizer.ts +208 -0
- package/Utils/SecurityEvent/GoogleSecOpsAlertNormalizer.ts +206 -0
- package/Utils/SecurityEvent/NormalizerHelpers.ts +263 -0
- package/Utils/SecurityEvent/OcsfNormalizer.ts +194 -0
- package/Utils/SecurityEvent/SecurityEventNormalizer.ts +82 -0
- package/Utils/SecurityEvent/Sigma/SigmaRuleParser.ts +579 -0
- package/Utils/SecurityEvent/UdmNormalizer.ts +442 -0
- package/Utils/Telemetry/CrossSignalScope.ts +46 -9
- package/Utils/Telemetry/LogErrorPattern.ts +350 -0
- package/build/dist/Models/AnalyticsModels/Index.js +10 -0
- package/build/dist/Models/AnalyticsModels/Index.js.map +1 -1
- package/build/dist/Models/AnalyticsModels/LogCountBaseline.js +159 -0
- package/build/dist/Models/AnalyticsModels/LogCountBaseline.js.map +1 -0
- package/build/dist/Models/AnalyticsModels/SecurityEvent.js +596 -0
- package/build/dist/Models/AnalyticsModels/SecurityEvent.js.map +1 -0
- package/build/dist/Models/AnalyticsModels/Span.js +24 -1
- package/build/dist/Models/AnalyticsModels/Span.js.map +1 -1
- package/build/dist/Models/AnalyticsModels/SpanCountBaseline.js +181 -0
- package/build/dist/Models/AnalyticsModels/SpanCountBaseline.js.map +1 -0
- package/build/dist/Models/DatabaseModels/Alert.js +43 -0
- package/build/dist/Models/DatabaseModels/Alert.js.map +1 -1
- package/build/dist/Models/DatabaseModels/AlertMeasurement.js +1143 -0
- package/build/dist/Models/DatabaseModels/AlertMeasurement.js.map +1 -0
- package/build/dist/Models/DatabaseModels/AlertMeasurementValue.js +523 -0
- package/build/dist/Models/DatabaseModels/AlertMeasurementValue.js.map +1 -0
- package/build/dist/Models/DatabaseModels/AlertStateTimeline.js +9 -2
- package/build/dist/Models/DatabaseModels/AlertStateTimeline.js.map +1 -1
- package/build/dist/Models/DatabaseModels/BillingPaymentMethod.js +10 -11
- package/build/dist/Models/DatabaseModels/BillingPaymentMethod.js.map +1 -1
- package/build/dist/Models/DatabaseModels/DetectionRule.js +598 -0
- package/build/dist/Models/DatabaseModels/DetectionRule.js.map +1 -0
- package/build/dist/Models/DatabaseModels/GoogleSecOpsConnection.js +410 -0
- package/build/dist/Models/DatabaseModels/GoogleSecOpsConnection.js.map +1 -0
- package/build/dist/Models/DatabaseModels/Incident.js +43 -0
- package/build/dist/Models/DatabaseModels/Incident.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentMeasurement.js +1143 -0
- package/build/dist/Models/DatabaseModels/IncidentMeasurement.js.map +1 -0
- package/build/dist/Models/DatabaseModels/IncidentMeasurementValue.js +523 -0
- package/build/dist/Models/DatabaseModels/IncidentMeasurementValue.js.map +1 -0
- package/build/dist/Models/DatabaseModels/IncidentStateTimeline.js +9 -2
- package/build/dist/Models/DatabaseModels/IncidentStateTimeline.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncomingCallPolicyLabelRule.js +36 -0
- package/build/dist/Models/DatabaseModels/IncomingCallPolicyLabelRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncomingCallPolicyOwnerRule.js +42 -0
- package/build/dist/Models/DatabaseModels/IncomingCallPolicyOwnerRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Index.js +20 -0
- package/build/dist/Models/DatabaseModels/Index.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Label.js +11 -0
- package/build/dist/Models/DatabaseModels/Label.js.map +1 -1
- package/build/dist/Models/DatabaseModels/LlmCostBudget.js +681 -0
- package/build/dist/Models/DatabaseModels/LlmCostBudget.js.map +1 -0
- package/build/dist/Models/DatabaseModels/LlmModelPrice.js +503 -0
- package/build/dist/Models/DatabaseModels/LlmModelPrice.js.map +1 -0
- package/build/dist/Models/DatabaseModels/LogSavedView.js +87 -0
- package/build/dist/Models/DatabaseModels/LogSavedView.js.map +1 -1
- package/build/dist/Models/DatabaseModels/MarketingConversion.js +224 -8
- package/build/dist/Models/DatabaseModels/MarketingConversion.js.map +1 -1
- package/build/dist/Models/DatabaseModels/MetricSavedView.js +59 -0
- package/build/dist/Models/DatabaseModels/MetricSavedView.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyLabelRule.js +36 -0
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyLabelRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyOwnerRule.js +42 -0
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyOwnerRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyScheduleLabelRule.js +36 -0
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyScheduleLabelRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyScheduleOwnerRule.js +42 -0
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyScheduleOwnerRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Probe.js +21 -0
- package/build/dist/Models/DatabaseModels/Probe.js.map +1 -1
- package/build/dist/Models/DatabaseModels/RunbookLabelRule.js +36 -0
- package/build/dist/Models/DatabaseModels/RunbookLabelRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/RunbookOwnerRule.js +42 -0
- package/build/dist/Models/DatabaseModels/RunbookOwnerRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceMeasurement.js +1133 -0
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceMeasurement.js.map +1 -0
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceMeasurementValue.js +515 -0
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceMeasurementValue.js.map +1 -0
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceStateTimeline.js +9 -2
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceStateTimeline.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPageLabelRule.js +36 -0
- package/build/dist/Models/DatabaseModels/StatusPageLabelRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPageOwnerRule.js +42 -0
- package/build/dist/Models/DatabaseModels/StatusPageOwnerRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/TableView.js +15 -0
- package/build/dist/Models/DatabaseModels/TableView.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Team.js +13 -0
- package/build/dist/Models/DatabaseModels/Team.js.map +1 -1
- package/build/dist/Models/DatabaseModels/TeamMember.js +8 -0
- package/build/dist/Models/DatabaseModels/TeamMember.js.map +1 -1
- package/build/dist/Models/DatabaseModels/TraceSavedView.js +52 -0
- package/build/dist/Models/DatabaseModels/TraceSavedView.js.map +1 -1
- package/build/dist/Models/DatabaseModels/WorkflowLabelRule.js +36 -0
- package/build/dist/Models/DatabaseModels/WorkflowLabelRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/WorkflowOwnerRule.js +42 -0
- package/build/dist/Models/DatabaseModels/WorkflowOwnerRule.js.map +1 -1
- package/build/dist/Server/API/TelemetryAPI.js +136 -0
- package/build/dist/Server/API/TelemetryAPI.js.map +1 -1
- package/build/dist/Server/API/UserAPI.js +75 -2
- package/build/dist/Server/API/UserAPI.js.map +1 -1
- package/build/dist/Server/EnvironmentConfig.js +29 -1
- package/build/dist/Server/EnvironmentConfig.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1788000000000-AddDetectionRuleAndGoogleSecOpsConnection.js +36 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1788000000000-AddDetectionRuleAndGoogleSecOpsConnection.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1788100000000-AddMeasurements.js +162 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1788100000000-AddMeasurements.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1788200000000-AddLlmCostBudget.js +40 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1788200000000-AddLlmCostBudget.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1788300000000-AddLlmModelPrice.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1788300000000-AddLlmModelPrice.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1788400000000-AddMarketingConversionAttribution.js +52 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1788400000000-AddMarketingConversionAttribution.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1788500000000-RemoveLlmCostBudgetAlertColumns.js +38 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1788500000000-RemoveLlmCostBudgetAlertColumns.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1788600000000-AddDetectionRuleIncidentColumns.js +24 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1788600000000-AddDetectionRuleIncidentColumns.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js +14 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js.map +1 -1
- package/build/dist/Server/Middleware/IdentityRateLimit.js +491 -0
- package/build/dist/Server/Middleware/IdentityRateLimit.js.map +1 -0
- package/build/dist/Server/Services/AccessTokenService.js +13 -2
- package/build/dist/Server/Services/AccessTokenService.js.map +1 -1
- package/build/dist/Server/Services/AlertMeasurementService.js +250 -0
- package/build/dist/Server/Services/AlertMeasurementService.js.map +1 -0
- package/build/dist/Server/Services/AlertMeasurementValueService.js +400 -0
- package/build/dist/Server/Services/AlertMeasurementValueService.js.map +1 -0
- package/build/dist/Server/Services/AlertService.js +37 -0
- package/build/dist/Server/Services/AlertService.js.map +1 -1
- package/build/dist/Server/Services/AlertStateTimelineService.js +48 -0
- package/build/dist/Server/Services/AlertStateTimelineService.js.map +1 -1
- package/build/dist/Server/Services/DetectionRuleService.js +50 -0
- package/build/dist/Server/Services/DetectionRuleService.js.map +1 -0
- package/build/dist/Server/Services/GoogleSecOpsConnectionService.js +55 -0
- package/build/dist/Server/Services/GoogleSecOpsConnectionService.js.map +1 -0
- package/build/dist/Server/Services/IncidentMeasurementService.js +252 -0
- package/build/dist/Server/Services/IncidentMeasurementService.js.map +1 -0
- package/build/dist/Server/Services/IncidentMeasurementValueService.js +413 -0
- package/build/dist/Server/Services/IncidentMeasurementValueService.js.map +1 -0
- package/build/dist/Server/Services/IncidentService.js +41 -0
- package/build/dist/Server/Services/IncidentService.js.map +1 -1
- package/build/dist/Server/Services/IncidentStateTimelineService.js +50 -0
- package/build/dist/Server/Services/IncidentStateTimelineService.js.map +1 -1
- package/build/dist/Server/Services/Index.js +30 -0
- package/build/dist/Server/Services/Index.js.map +1 -1
- package/build/dist/Server/Services/LlmCostBudgetService.js +89 -0
- package/build/dist/Server/Services/LlmCostBudgetService.js.map +1 -0
- package/build/dist/Server/Services/LlmModelPriceService.js +163 -0
- package/build/dist/Server/Services/LlmModelPriceService.js.map +1 -0
- package/build/dist/Server/Services/LogAggregationService.js +709 -0
- package/build/dist/Server/Services/LogAggregationService.js.map +1 -1
- package/build/dist/Server/Services/LogCountBaselineService.js +112 -0
- package/build/dist/Server/Services/LogCountBaselineService.js.map +1 -0
- package/build/dist/Server/Services/MutableMetricService.js +28 -9
- package/build/dist/Server/Services/MutableMetricService.js.map +1 -1
- package/build/dist/Server/Services/ScheduledMaintenanceMeasurementService.js +254 -0
- package/build/dist/Server/Services/ScheduledMaintenanceMeasurementService.js.map +1 -0
- package/build/dist/Server/Services/ScheduledMaintenanceMeasurementValueService.js +434 -0
- package/build/dist/Server/Services/ScheduledMaintenanceMeasurementValueService.js.map +1 -0
- package/build/dist/Server/Services/ScheduledMaintenanceService.js +37 -0
- package/build/dist/Server/Services/ScheduledMaintenanceService.js.map +1 -1
- package/build/dist/Server/Services/ScheduledMaintenanceStateTimelineService.js +134 -0
- package/build/dist/Server/Services/ScheduledMaintenanceStateTimelineService.js.map +1 -1
- package/build/dist/Server/Services/SecurityEventService.js +64 -0
- package/build/dist/Server/Services/SecurityEventService.js.map +1 -0
- package/build/dist/Server/Services/SpanCountBaselineService.js +122 -0
- package/build/dist/Server/Services/SpanCountBaselineService.js.map +1 -0
- package/build/dist/Server/Services/StatusPageService.js +4 -3
- package/build/dist/Server/Services/StatusPageService.js.map +1 -1
- package/build/dist/Server/Services/TelemetryUsageBillingService.js +15 -3
- package/build/dist/Server/Services/TelemetryUsageBillingService.js.map +1 -1
- package/build/dist/Server/Services/UserService.js +262 -42
- package/build/dist/Server/Services/UserService.js.map +1 -1
- package/build/dist/Server/Services/UserTotpAuthService.js +0 -73
- package/build/dist/Server/Services/UserTotpAuthService.js.map +1 -1
- package/build/dist/Server/Services/UserWebAuthnService.js +1 -73
- package/build/dist/Server/Services/UserWebAuthnService.js.map +1 -1
- package/build/dist/Server/Types/Billing/MeteredPlan/AllMeteredPlans.js +13 -0
- package/build/dist/Server/Types/Billing/MeteredPlan/AllMeteredPlans.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/TenantPermission.js +10 -0
- package/build/dist/Server/Types/Database/Permissions/TenantPermission.js.map +1 -1
- package/build/dist/Server/Types/Database/QueryHelper.js +1 -1
- package/build/dist/Server/Types/Database/QueryHelper.js.map +1 -1
- package/build/dist/Server/Utils/AI/Chat/ObservabilityChatPrompt.js +1 -1
- package/build/dist/Server/Utils/AI/Toolbox/Index.js +3 -0
- package/build/dist/Server/Utils/AI/Toolbox/Index.js.map +1 -1
- package/build/dist/Server/Utils/AI/Toolbox/SecurityEventTools.js +257 -0
- package/build/dist/Server/Utils/AI/Toolbox/SecurityEventTools.js.map +1 -0
- package/build/dist/Server/Utils/AnalyticsDatabase/StatementGenerator.js +13 -4
- package/build/dist/Server/Utils/AnalyticsDatabase/StatementGenerator.js.map +1 -1
- package/build/dist/Server/Utils/Attribution.js +77 -33
- package/build/dist/Server/Utils/Attribution.js.map +1 -1
- package/build/dist/Server/Utils/Marketing/ConversionUploadProvider.js +46 -9
- package/build/dist/Server/Utils/Marketing/ConversionUploadProvider.js.map +1 -1
- package/build/dist/Server/Utils/Marketing/Providers/GoogleAds.js +52 -8
- package/build/dist/Server/Utils/Marketing/Providers/GoogleAds.js.map +1 -1
- package/build/dist/Server/Utils/Marketing/Providers/LinkedIn.js +41 -17
- package/build/dist/Server/Utils/Marketing/Providers/LinkedIn.js.map +1 -1
- package/build/dist/Server/Utils/Marketing/Providers/Meta.js +42 -18
- package/build/dist/Server/Utils/Marketing/Providers/Meta.js.map +1 -1
- package/build/dist/Server/Utils/Marketing/Providers/MicrosoftAds.js +24 -11
- package/build/dist/Server/Utils/Marketing/Providers/MicrosoftAds.js.map +1 -1
- package/build/dist/Server/Utils/Marketing/Providers/Reddit.js +34 -15
- package/build/dist/Server/Utils/Marketing/Providers/Reddit.js.map +1 -1
- package/build/dist/Server/Utils/Measurement/MeasurementDefinitionValidator.js +109 -0
- package/build/dist/Server/Utils/Measurement/MeasurementDefinitionValidator.js.map +1 -0
- package/build/dist/Server/Utils/Measurement/MeasurementMetricWriter.js +131 -0
- package/build/dist/Server/Utils/Measurement/MeasurementMetricWriter.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/Criteria/CountAnomaly.js +111 -0
- package/build/dist/Server/Utils/Monitor/Criteria/CountAnomaly.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/Criteria/LogMonitorCriteria.js +84 -1
- package/build/dist/Server/Utils/Monitor/Criteria/LogMonitorCriteria.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/Criteria/SecurityEventsMonitorCriteria.js +35 -0
- package/build/dist/Server/Utils/Monitor/Criteria/SecurityEventsMonitorCriteria.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/Criteria/TraceMonitorCriteria.js +84 -1
- package/build/dist/Server/Utils/Monitor/Criteria/TraceMonitorCriteria.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorCriteriaDataExtractor.js +7 -0
- package/build/dist/Server/Utils/Monitor/MonitorCriteriaDataExtractor.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorCriteriaEvaluator.js +12 -0
- package/build/dist/Server/Utils/Monitor/MonitorCriteriaEvaluator.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorCriteriaObservationBuilder.js +9 -0
- package/build/dist/Server/Utils/Monitor/MonitorCriteriaObservationBuilder.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorResource.js +10 -0
- package/build/dist/Server/Utils/Monitor/MonitorResource.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorStepResourceIdentity.js +6 -5
- package/build/dist/Server/Utils/Monitor/MonitorStepResourceIdentity.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorStepsReferenceExtractor.js +1 -0
- package/build/dist/Server/Utils/Monitor/MonitorStepsReferenceExtractor.js.map +1 -1
- package/build/dist/Server/Utils/SecurityEvent/DetectionRuleEvaluator.js +600 -0
- package/build/dist/Server/Utils/SecurityEvent/DetectionRuleEvaluator.js.map +1 -0
- package/build/dist/Server/Utils/SecurityEvent/GoogleSecOps/GoogleSecOpsClient.js +145 -0
- package/build/dist/Server/Utils/SecurityEvent/GoogleSecOps/GoogleSecOpsClient.js.map +1 -0
- package/build/dist/Server/Utils/SecurityEvent/GoogleSecOps/GoogleSecOpsPoller.js +176 -0
- package/build/dist/Server/Utils/SecurityEvent/GoogleSecOps/GoogleSecOpsPoller.js.map +1 -0
- package/build/dist/Server/Utils/SecurityEvent/SecurityEventRow.js +69 -0
- package/build/dist/Server/Utils/SecurityEvent/SecurityEventRow.js.map +1 -0
- package/build/dist/Server/Utils/SecurityEvent/Sigma/SigmaClickhouseCompiler.js +493 -0
- package/build/dist/Server/Utils/SecurityEvent/Sigma/SigmaClickhouseCompiler.js.map +1 -0
- package/build/dist/Server/Utils/Telemetry/LlmCostBudgetEvaluator.js +317 -0
- package/build/dist/Server/Utils/Telemetry/LlmCostBudgetEvaluator.js.map +1 -0
- package/build/dist/Server/Utils/Telemetry/LlmSpan.js +56 -4
- package/build/dist/Server/Utils/Telemetry/LlmSpan.js.map +1 -1
- package/build/dist/Server/Utils/Telemetry/LogErrorPatternSql.js +112 -0
- package/build/dist/Server/Utils/Telemetry/LogErrorPatternSql.js.map +1 -0
- package/build/dist/Server/Utils/UserPermission/UserPermission.js +46 -1
- package/build/dist/Server/Utils/UserPermission/UserPermission.js.map +1 -1
- package/build/dist/Types/AI/AIChatTypes.js +1 -0
- package/build/dist/Types/AI/AIChatTypes.js.map +1 -1
- package/build/dist/Types/Alerts/AlertMeasurementAnchorType.js +15 -0
- package/build/dist/Types/Alerts/AlertMeasurementAnchorType.js.map +1 -0
- package/build/dist/Types/Alerts/AlertStateRole.js +12 -0
- package/build/dist/Types/Alerts/AlertStateRole.js.map +1 -0
- package/build/dist/Types/AnalyticsDatabase/AnalyticsTableName.js +16 -0
- package/build/dist/Types/AnalyticsDatabase/AnalyticsTableName.js.map +1 -1
- package/build/dist/Types/Dashboard/Chart/ChartType.js +1 -0
- package/build/dist/Types/Dashboard/Chart/ChartType.js.map +1 -1
- package/build/dist/Types/Dashboard/DashboardComponentType.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponentType.js.map +1 -1
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardSecurityEventsFlowComponent.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardSecurityEventsFlowComponent.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardSecurityEventsListComponent.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardSecurityEventsListComponent.js.map +1 -0
- package/build/dist/Types/Incident/IncidentMeasurementAnchorType.js +29 -0
- package/build/dist/Types/Incident/IncidentMeasurementAnchorType.js.map +1 -0
- package/build/dist/Types/Incident/IncidentStateRole.js +15 -0
- package/build/dist/Types/Incident/IncidentStateRole.js.map +1 -0
- package/build/dist/Types/Marketing/Attribution.js +68 -0
- package/build/dist/Types/Marketing/Attribution.js.map +1 -0
- package/build/dist/Types/Marketing/MarketingConversion.js +36 -7
- package/build/dist/Types/Marketing/MarketingConversion.js.map +1 -1
- package/build/dist/Types/Measurement/MeasurementAggregationType.js +40 -0
- package/build/dist/Types/Measurement/MeasurementAggregationType.js.map +1 -0
- package/build/dist/Types/Measurement/MeasurementAnchorKind.js +22 -0
- package/build/dist/Types/Measurement/MeasurementAnchorKind.js.map +1 -0
- package/build/dist/Types/Measurement/MeasurementOccurrence.js +15 -0
- package/build/dist/Types/Measurement/MeasurementOccurrence.js.map +1 -0
- package/build/dist/Types/Measurement/MeasurementStatus.js +32 -0
- package/build/dist/Types/Measurement/MeasurementStatus.js.map +1 -0
- package/build/dist/Types/MeteredPlan/ProductType.js +1 -0
- package/build/dist/Types/MeteredPlan/ProductType.js.map +1 -1
- package/build/dist/Types/Monitor/CriteriaFilter.js +2 -0
- package/build/dist/Types/Monitor/CriteriaFilter.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorCriteriaInstance.js +59 -0
- package/build/dist/Types/Monitor/MonitorCriteriaInstance.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorStep.js +17 -0
- package/build/dist/Types/Monitor/MonitorStep.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorStepSecurityEventsMonitor.js +64 -0
- package/build/dist/Types/Monitor/MonitorStepSecurityEventsMonitor.js.map +1 -0
- package/build/dist/Types/Monitor/MonitorType.js +19 -0
- package/build/dist/Types/Monitor/MonitorType.js.map +1 -1
- package/build/dist/Types/Monitor/SecurityEventsMonitor/SecurityEventsMonitorResponse.js +2 -0
- package/build/dist/Types/Monitor/SecurityEventsMonitor/SecurityEventsMonitorResponse.js.map +1 -0
- package/build/dist/Types/Permission.js +347 -2
- package/build/dist/Types/Permission.js.map +1 -1
- package/build/dist/Types/ScheduledMaintenance/ScheduledMaintenanceMeasurementAnchorType.js +19 -0
- package/build/dist/Types/ScheduledMaintenance/ScheduledMaintenanceMeasurementAnchorType.js.map +1 -0
- package/build/dist/Types/ScheduledMaintenance/ScheduledMaintenanceStateRole.js +17 -0
- package/build/dist/Types/ScheduledMaintenance/ScheduledMaintenanceStateRole.js.map +1 -0
- package/build/dist/Types/SecurityEvent/DetectionFindingConstants.js +18 -0
- package/build/dist/Types/SecurityEvent/DetectionFindingConstants.js.map +1 -0
- package/build/dist/Types/SecurityEvent/NormalizedSecurityEvent.js +2 -0
- package/build/dist/Types/SecurityEvent/NormalizedSecurityEvent.js.map +1 -0
- package/build/dist/Types/SecurityEvent/OcsfEventClass.js +181 -0
- package/build/dist/Types/SecurityEvent/OcsfEventClass.js.map +1 -0
- package/build/dist/Types/SecurityEvent/OcsfSeverity.js +81 -0
- package/build/dist/Types/SecurityEvent/OcsfSeverity.js.map +1 -0
- package/build/dist/Types/SecurityEvent/SecurityEventFormat.js +21 -0
- package/build/dist/Types/SecurityEvent/SecurityEventFormat.js.map +1 -0
- package/build/dist/Types/SecurityEvent/SigmaRule.js +16 -0
- package/build/dist/Types/SecurityEvent/SigmaRule.js.map +1 -0
- package/build/dist/Types/Telemetry/LlmConventions.js +19 -1
- package/build/dist/Types/Telemetry/LlmConventions.js.map +1 -1
- package/build/dist/Types/Telemetry/LlmCostCatalog.js +484 -0
- package/build/dist/Types/Telemetry/LlmCostCatalog.js.map +1 -0
- package/build/dist/Types/Telemetry/ServiceType.js +1 -0
- package/build/dist/Types/Telemetry/ServiceType.js.map +1 -1
- package/build/dist/Types/Telemetry/TelemetryRetentionConfig.js.map +1 -1
- package/build/dist/Types/Telemetry/TelemetryType.js +1 -0
- package/build/dist/Types/Telemetry/TelemetryType.js.map +1 -1
- package/build/dist/Types/TwoFactorAuthStatus.js +41 -0
- package/build/dist/Types/TwoFactorAuthStatus.js.map +1 -0
- package/build/dist/UI/Components/BulkUpdate/BulkArchiveActions.js +16 -2
- package/build/dist/UI/Components/BulkUpdate/BulkArchiveActions.js.map +1 -1
- package/build/dist/UI/Components/BulkUpdate/BulkLabelActions.js +15 -1
- package/build/dist/UI/Components/BulkUpdate/BulkLabelActions.js.map +1 -1
- package/build/dist/UI/Components/BulkUpdate/BulkOwnerActions.js +20 -1
- package/build/dist/UI/Components/BulkUpdate/BulkOwnerActions.js.map +1 -1
- package/build/dist/UI/Components/BulkUpdate/BulkUpdateForm.js +1 -1
- package/build/dist/UI/Components/BulkUpdate/BulkUpdateForm.js.map +1 -1
- package/build/dist/UI/Components/Button/Button.js +22 -1
- package/build/dist/UI/Components/Button/Button.js.map +1 -1
- package/build/dist/UI/Components/Card/Card.js +1 -1
- package/build/dist/UI/Components/Card/Card.js.map +1 -1
- package/build/dist/UI/Components/CustomFields/CustomFieldsDetail.js +14 -1
- package/build/dist/UI/Components/CustomFields/CustomFieldsDetail.js.map +1 -1
- package/build/dist/UI/Components/Dictionary/DictionaryFilterOperator.js +47 -0
- package/build/dist/UI/Components/Dictionary/DictionaryFilterOperator.js.map +1 -1
- package/build/dist/UI/Components/DuplicateModel/DuplicateModel.js +8 -0
- package/build/dist/UI/Components/DuplicateModel/DuplicateModel.js.map +1 -1
- package/build/dist/UI/Components/Forms/ModelForm.js +40 -1
- package/build/dist/UI/Components/Forms/ModelForm.js.map +1 -1
- package/build/dist/UI/Components/List/ListRow.js +4 -1
- package/build/dist/UI/Components/List/ListRow.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/ActiveFilterChips.js +32 -7
- package/build/dist/UI/Components/LogsViewer/components/ActiveFilterChips.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/LogsFacetSidebar.js +2 -17
- package/build/dist/UI/Components/LogsViewer/components/LogsFacetSidebar.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/SavedViewsDropdown.js +93 -4
- package/build/dist/UI/Components/LogsViewer/components/SavedViewsDropdown.js.map +1 -1
- package/build/dist/UI/Components/ModelDelete/ModelDelete.js +13 -0
- package/build/dist/UI/Components/ModelDelete/ModelDelete.js.map +1 -1
- package/build/dist/UI/Components/ModelDetail/CardModelDetail.js +27 -11
- package/build/dist/UI/Components/ModelDetail/CardModelDetail.js.map +1 -1
- package/build/dist/UI/Components/ModelList/ModelList.js +13 -2
- package/build/dist/UI/Components/ModelList/ModelList.js.map +1 -1
- package/build/dist/UI/Components/ModelList/StaticModelList.js +4 -1
- package/build/dist/UI/Components/ModelList/StaticModelList.js.map +1 -1
- package/build/dist/UI/Components/ModelTable/BaseModelTable.js +101 -40
- package/build/dist/UI/Components/ModelTable/BaseModelTable.js.map +1 -1
- package/build/dist/UI/Components/ModelTable/ModelTable.js +9 -7
- package/build/dist/UI/Components/ModelTable/ModelTable.js.map +1 -1
- package/build/dist/UI/Components/ModelTable/TableView.js +32 -4
- package/build/dist/UI/Components/ModelTable/TableView.js.map +1 -1
- package/build/dist/UI/Components/MoreMenu/MoreMenuItem.js +19 -2
- package/build/dist/UI/Components/MoreMenu/MoreMenuItem.js.map +1 -1
- package/build/dist/UI/Components/OrderedStatesList/Item.js +4 -1
- package/build/dist/UI/Components/OrderedStatesList/Item.js.map +1 -1
- package/build/dist/UI/Components/OrderedStatesList/OrderedStatesList.js +33 -32
- package/build/dist/UI/Components/OrderedStatesList/OrderedStatesList.js.map +1 -1
- package/build/dist/UI/Components/ResetObjectID/ResetObjectID.js +8 -0
- package/build/dist/UI/Components/ResetObjectID/ResetObjectID.js.map +1 -1
- package/build/dist/UI/Components/SavedViews/SavedViewsFacetSection.js +98 -0
- package/build/dist/UI/Components/SavedViews/SavedViewsFacetSection.js.map +1 -0
- package/build/dist/UI/Components/SavedViews/SavedViewsList.js +99 -0
- package/build/dist/UI/Components/SavedViews/SavedViewsList.js.map +1 -0
- package/build/dist/UI/Components/SavedViews/SavedViewsSearchInput.js +17 -0
- package/build/dist/UI/Components/SavedViews/SavedViewsSearchInput.js.map +1 -0
- package/build/dist/UI/Components/SavedViews/SavedViewsShowMoreButton.js +15 -0
- package/build/dist/UI/Components/SavedViews/SavedViewsShowMoreButton.js.map +1 -0
- package/build/dist/UI/Components/Table/TableRow.js +8 -2
- package/build/dist/UI/Components/Table/TableRow.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/components/SavedViewsDropdown.js +93 -4
- package/build/dist/UI/Components/TelemetryViewer/components/SavedViewsDropdown.js.map +1 -1
- package/build/dist/UI/Types/UseComponentOutsideClick.js +39 -0
- package/build/dist/UI/Types/UseComponentOutsideClick.js.map +1 -1
- package/build/dist/UI/Utils/PermissionGate.js +164 -0
- package/build/dist/UI/Utils/PermissionGate.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardSecurityEventsFlowComponent.js +70 -0
- package/build/dist/Utils/Dashboard/Components/DashboardSecurityEventsFlowComponent.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardSecurityEventsListComponent.js +92 -0
- package/build/dist/Utils/Dashboard/Components/DashboardSecurityEventsListComponent.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/Index.js +8 -0
- package/build/dist/Utils/Dashboard/Components/Index.js.map +1 -1
- package/build/dist/Utils/Measurement/MeasurementEvaluator.js +210 -0
- package/build/dist/Utils/Measurement/MeasurementEvaluator.js.map +1 -0
- package/build/dist/Utils/Monitor/MonitorSummarySnapshotUtil.js +1 -0
- package/build/dist/Utils/Monitor/MonitorSummarySnapshotUtil.js.map +1 -1
- package/build/dist/Utils/Monitor/NetworkDeviceLinkRuleUtil.js +51 -10
- package/build/dist/Utils/Monitor/NetworkDeviceLinkRuleUtil.js.map +1 -1
- package/build/dist/Utils/NetworkDevice/DeviceHealthStateUtil.js +108 -0
- package/build/dist/Utils/NetworkDevice/DeviceHealthStateUtil.js.map +1 -0
- package/build/dist/Utils/SecurityEvent/GenericNormalizer.js +176 -0
- package/build/dist/Utils/SecurityEvent/GenericNormalizer.js.map +1 -0
- package/build/dist/Utils/SecurityEvent/GoogleSecOpsAlertNormalizer.js +146 -0
- package/build/dist/Utils/SecurityEvent/GoogleSecOpsAlertNormalizer.js.map +1 -0
- package/build/dist/Utils/SecurityEvent/NormalizerHelpers.js +196 -0
- package/build/dist/Utils/SecurityEvent/NormalizerHelpers.js.map +1 -0
- package/build/dist/Utils/SecurityEvent/OcsfNormalizer.js +136 -0
- package/build/dist/Utils/SecurityEvent/OcsfNormalizer.js.map +1 -0
- package/build/dist/Utils/SecurityEvent/SecurityEventNormalizer.js +64 -0
- package/build/dist/Utils/SecurityEvent/SecurityEventNormalizer.js.map +1 -0
- package/build/dist/Utils/SecurityEvent/Sigma/SigmaRuleParser.js +388 -0
- package/build/dist/Utils/SecurityEvent/Sigma/SigmaRuleParser.js.map +1 -0
- package/build/dist/Utils/SecurityEvent/UdmNormalizer.js +328 -0
- package/build/dist/Utils/SecurityEvent/UdmNormalizer.js.map +1 -0
- package/build/dist/Utils/Telemetry/CrossSignalScope.js +29 -7
- package/build/dist/Utils/Telemetry/CrossSignalScope.js.map +1 -1
- package/build/dist/Utils/Telemetry/LogErrorPattern.js +284 -0
- package/build/dist/Utils/Telemetry/LogErrorPattern.js.map +1 -0
- package/package.json +3 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AIChatTypes.js","sourceRoot":"","sources":["../../../../Types/AI/AIChatTypes.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH;;;GAGG;AACH,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"AIChatTypes.js","sourceRoot":"","sources":["../../../../Types/AI/AIChatTypes.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH;;;GAGG;AACH,MAAM,CAAN,IAAY,wBA2BX;AA3BD,WAAY,wBAAwB;IAClC,yC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EAPW,sBAAsB,KAAtB,sBAAsB,QAOjC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Where one end of an alert measurement is located in time.
|
|
3
|
+
* Mirrors IncidentMeasurementAnchorType, minus the incident-only anchors
|
|
4
|
+
* (alerts carry no declaredAt and have no postmortem).
|
|
5
|
+
*/
|
|
6
|
+
var AlertMeasurementAnchorType;
|
|
7
|
+
(function (AlertMeasurementAnchorType) {
|
|
8
|
+
AlertMeasurementAnchorType["ImpactStartedAt"] = "Impact Started At";
|
|
9
|
+
AlertMeasurementAnchorType["CreatedAt"] = "Created At";
|
|
10
|
+
AlertMeasurementAnchorType["TimelineStart"] = "Timeline Start";
|
|
11
|
+
AlertMeasurementAnchorType["StateEntered"] = "State Entered";
|
|
12
|
+
AlertMeasurementAnchorType["StateRoleEntered"] = "State Role Entered";
|
|
13
|
+
})(AlertMeasurementAnchorType || (AlertMeasurementAnchorType = {}));
|
|
14
|
+
export default AlertMeasurementAnchorType;
|
|
15
|
+
//# sourceMappingURL=AlertMeasurementAnchorType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertMeasurementAnchorType.js","sourceRoot":"","sources":["../../../../Types/Alerts/AlertMeasurementAnchorType.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,IAAK,0BAMJ;AAND,WAAK,0BAA0B;IAC7B,mEAAqC,CAAA;IACrC,sDAAwB,CAAA;IACxB,8DAAgC,CAAA;IAChC,4DAA8B,CAAA;IAC9B,qEAAuC,CAAA;AACzC,CAAC,EANI,0BAA0B,KAA1B,0BAA0B,QAM9B;AAED,eAAe,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The roles an AlertState can carry, mirroring isCreatedState /
|
|
3
|
+
* isAcknowledgedState / isResolvedState on the model.
|
|
4
|
+
*/
|
|
5
|
+
var AlertStateRole;
|
|
6
|
+
(function (AlertStateRole) {
|
|
7
|
+
AlertStateRole["Created"] = "Created";
|
|
8
|
+
AlertStateRole["Acknowledged"] = "Acknowledged";
|
|
9
|
+
AlertStateRole["Resolved"] = "Resolved";
|
|
10
|
+
})(AlertStateRole || (AlertStateRole = {}));
|
|
11
|
+
export default AlertStateRole;
|
|
12
|
+
//# sourceMappingURL=AlertStateRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertStateRole.js","sourceRoot":"","sources":["../../../../Types/Alerts/AlertStateRole.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,IAAK,cAIJ;AAJD,WAAK,cAAc;IACjB,qCAAmB,CAAA;IACnB,+CAA6B,CAAA;IAC7B,uCAAqB,CAAA;AACvB,CAAC,EAJI,cAAc,KAAd,cAAc,QAIlB;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
var AnalyticsTableName;
|
|
2
2
|
(function (AnalyticsTableName) {
|
|
3
3
|
AnalyticsTableName["Log"] = "LogItemV3";
|
|
4
|
+
/*
|
|
5
|
+
* SIEM signals normalized to OCSF at ingest (Google SecOps UDM, native
|
|
6
|
+
* OCSF, generic security JSON). Peer of LogItemV3 in layout: same sort
|
|
7
|
+
* key shape, per-row retentionDate TTL, and Map(String,String)
|
|
8
|
+
* attributes with a keys sidecar for arbitrary-field filtering.
|
|
9
|
+
*/
|
|
10
|
+
AnalyticsTableName["SecurityEvent"] = "SecurityEventItemV1";
|
|
4
11
|
AnalyticsTableName["Metric"] = "MetricItemV3";
|
|
5
12
|
AnalyticsTableName["ExceptionInstance"] = "ExceptionItemV3";
|
|
6
13
|
AnalyticsTableName["Span"] = "SpanItemV3";
|
|
@@ -34,6 +41,15 @@ var AnalyticsTableName;
|
|
|
34
41
|
AnalyticsTableName["MetricItemAggMV1mByK8sCluster"] = "MetricItemAggMV1mByK8sCluster";
|
|
35
42
|
AnalyticsTableName["MetricItemAggMV1mByContainer"] = "MetricItemAggMV1mByContainer";
|
|
36
43
|
AnalyticsTableName["MetricBaselineHourly"] = "MetricBaselineHourly";
|
|
44
|
+
/*
|
|
45
|
+
* Hour-of-week volume baselines for Traces and Logs monitors —
|
|
46
|
+
* span/log counts per (project, service, status/severity, day,
|
|
47
|
+
* hour-of-week, minute-of-hour) cell, populated by MVs on
|
|
48
|
+
* SpanItemV3/LogItemV3 inserts. Peers of MetricBaselineHourly for the
|
|
49
|
+
* AnomalouslyHigh/Low criteria on CheckOn.SpanCount / CheckOn.LogCount.
|
|
50
|
+
*/
|
|
51
|
+
AnalyticsTableName["SpanCountBaseline"] = "SpanCountBaseline";
|
|
52
|
+
AnalyticsTableName["LogCountBaseline"] = "LogCountBaseline";
|
|
37
53
|
AnalyticsTableName["MutableMetric"] = "MutableMetricItem";
|
|
38
54
|
/*
|
|
39
55
|
* SLO / Error Budget history rollup. ReplacingMergeTree keyed by
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalyticsTableName.js","sourceRoot":"","sources":["../../../../Types/AnalyticsDatabase/AnalyticsTableName.ts"],"names":[],"mappings":"AAAA,IAAK,
|
|
1
|
+
{"version":3,"file":"AnalyticsTableName.js","sourceRoot":"","sources":["../../../../Types/AnalyticsDatabase/AnalyticsTableName.ts"],"names":[],"mappings":"AAAA,IAAK,kBA6EJ;AA7ED,WAAK,kBAAkB;IACrB,uCAAiB,CAAA;IACjB;;;;;OAKG;IACH,2DAAqC,CAAA;IACrC,6CAAuB,CAAA;IACvB,2DAAqC,CAAA;IACrC,yCAAmB,CAAA;IACnB,iDAA2B,CAAA;IAC3B,mDAA6B,CAAA;IAC7B,+CAAyB,CAAA;IACzB,2DAAqC,CAAA;IACrC,6CAAuB,CAAA;IACvB,6EAAuD,CAAA;IACvD;;;;;OAKG;IACH,6DAAuC,CAAA;IACvC;;;;OAIG;IACH,6EAAuD,CAAA;IACvD;;;;;;OAMG;IACH,+EAAyD,CAAA;IACzD,qFAA+D,CAAA;IAC/D,mFAA6D,CAAA;IAC7D,mEAA6C,CAAA;IAC7C;;;;;;OAMG;IACH,6DAAuC,CAAA;IACvC,2DAAqC,CAAA;IACrC,yDAAmC,CAAA;IACnC;;;;;;;OAOG;IACH,+CAAyB,CAAA;IACzB;;;;;;;;;;;;;OAaG;IACH,iDAA2B,CAAA;IAC3B,2DAAqC,CAAA;AACvC,CAAC,EA7EI,kBAAkB,KAAlB,kBAAkB,QA6EtB;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -7,6 +7,7 @@ var DashboardChartType;
|
|
|
7
7
|
DashboardChartType["Pie"] = "Pie";
|
|
8
8
|
DashboardChartType["Heatmap"] = "Heatmap";
|
|
9
9
|
DashboardChartType["Histogram"] = "Histogram";
|
|
10
|
+
DashboardChartType["Sankey"] = "Sankey";
|
|
10
11
|
})(DashboardChartType || (DashboardChartType = {}));
|
|
11
12
|
export default DashboardChartType;
|
|
12
13
|
//# sourceMappingURL=ChartType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartType.js","sourceRoot":"","sources":["../../../../../Types/Dashboard/Chart/ChartType.ts"],"names":[],"mappings":"AAAA,IAAK,
|
|
1
|
+
{"version":3,"file":"ChartType.js","sourceRoot":"","sources":["../../../../../Types/Dashboard/Chart/ChartType.ts"],"names":[],"mappings":"AAAA,IAAK,kBASJ;AATD,WAAK,kBAAkB;IACrB,mCAAa,CAAA;IACb,iCAAW,CAAA;IACX,mCAAa,CAAA;IACb,kDAA4B,CAAA;IAC5B,iCAAW,CAAA;IACX,yCAAmB,CAAA;IACnB,6CAAuB,CAAA;IACvB,uCAAiB,CAAA;AACnB,CAAC,EATI,kBAAkB,KAAlB,kBAAkB,QAStB;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -19,6 +19,8 @@ var DashboardComponentType;
|
|
|
19
19
|
DashboardComponentType["DataSourceTable"] = "DataSourceTable";
|
|
20
20
|
DashboardComponentType["LogStream"] = "LogStream";
|
|
21
21
|
DashboardComponentType["LogChart"] = "LogChart";
|
|
22
|
+
DashboardComponentType["SecurityEventsList"] = "SecurityEventsList";
|
|
23
|
+
DashboardComponentType["SecurityEventsFlow"] = "SecurityEventsFlow";
|
|
22
24
|
DashboardComponentType["TraceList"] = "TraceList";
|
|
23
25
|
DashboardComponentType["TraceChart"] = "TraceChart";
|
|
24
26
|
DashboardComponentType["TraceTable"] = "TraceTable";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardComponentType.js","sourceRoot":"","sources":["../../../../Types/Dashboard/DashboardComponentType.ts"],"names":[],"mappings":"AAAA,IAAK,
|
|
1
|
+
{"version":3,"file":"DashboardComponentType.js","sourceRoot":"","sources":["../../../../Types/Dashboard/DashboardComponentType.ts"],"names":[],"mappings":"AAAA,IAAK,sBAwDJ;AAxDD,WAAK,sBAAsB;IACzB,yCAAe,CAAA;IACf,yCAAe,CAAA;IACf,uCAAa,CAAA;IACb,yCAAe,CAAA;IACf,yCAAe,CAAA;IACf,yCAAe,CAAA;IACf;;;;;;OAMG;IACH,6DAAmC,CAAA;IACnC,6DAAmC,CAAA;IACnC,6DAAmC,CAAA;IACnC,6DAAmC,CAAA;IACnC,iDAAuB,CAAA;IACvB,+CAAqB,CAAA;IACrB,mEAAyC,CAAA;IACzC,mEAAyC,CAAA;IACzC,iDAAuB,CAAA;IACvB,mDAAyB,CAAA;IACzB,mDAAyB,CAAA;IACzB,uDAA6B,CAAA;IAC7B,iDAAuB,CAAA;IACvB,qDAA2B,CAAA;IAC3B,qCAAW,CAAA;IACX,iEAAuC,CAAA;IACvC,mEAAyC,CAAA;IACzC,6EAAmD,CAAA;IACnD,+EAAqD,CAAA;IACrD,iFAAuD,CAAA;IACvD,6EAAmD,CAAA;IACnD,iEAAuC,CAAA;IACvC,yEAA+C,CAAA;IAC/C,2DAAiC,CAAA;IACjC,qEAA2C,CAAA;IAC3C,6DAAmC,CAAA;IACnC,iEAAuC,CAAA;IACvC,+DAAqC,CAAA;IACrC,2DAAiC,CAAA;IACjC,qEAA2C,CAAA;IAC3C,6DAAmC,CAAA;IACnC,iEAAuC,CAAA;IACvC,+DAAqC,CAAA;IACrC,+CAAqB,CAAA;IACrB,6DAAmC,CAAA;IACnC,+DAAqC,CAAA;IACrC,qEAA2C,CAAA;IAC3C,2EAAiD,CAAA;IACjD,qDAA2B,CAAA;IAC3B,uDAA6B,CAAA;IAC7B,mDAAyB,CAAA;IACzB,uCAAa,CAAA;AACf,CAAC,EAxDI,sBAAsB,KAAtB,sBAAsB,QAwD1B;AAED,eAAe,sBAAsB,CAAC;AAEtC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAA0C;IAC7E,sBAAsB,CAAC,eAAe;IACtC,sBAAsB,CAAC,eAAe;IACtC,sBAAsB,CAAC,eAAe;IACtC,sBAAsB,CAAC,eAAe;CACvC,CAAC;AAEF,MAAM,UAAU,yBAAyB,CACvC,aAAqC;IAErC,OAAO,wBAAwB,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;AAC1D,CAAC"}
|
package/build/dist/Types/Dashboard/DashboardComponents/DashboardSecurityEventsFlowComponent.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardSecurityEventsFlowComponent.js","sourceRoot":"","sources":["../../../../../Types/Dashboard/DashboardComponents/DashboardSecurityEventsFlowComponent.ts"],"names":[],"mappings":""}
|
package/build/dist/Types/Dashboard/DashboardComponents/DashboardSecurityEventsListComponent.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardSecurityEventsListComponent.js","sourceRoot":"","sources":["../../../../../Types/Dashboard/DashboardComponents/DashboardSecurityEventsListComponent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Where one end of an incident measurement is located in time.
|
|
3
|
+
*
|
|
4
|
+
* Deliberately wider than "a state" -- the request that prompted this asked
|
|
5
|
+
* for `Started -> Detected`, and "started" is not a state and never will be.
|
|
6
|
+
* Allowing a timestamp column as an endpoint is what makes Time to Detect
|
|
7
|
+
* expressible at all.
|
|
8
|
+
*/
|
|
9
|
+
var IncidentMeasurementAnchorType;
|
|
10
|
+
(function (IncidentMeasurementAnchorType) {
|
|
11
|
+
// When customer impact actually began. Recorded by a human; never inferred.
|
|
12
|
+
IncidentMeasurementAnchorType["ImpactStartedAt"] = "Impact Started At";
|
|
13
|
+
// When the incident was declared. Defaults to creation time.
|
|
14
|
+
IncidentMeasurementAnchorType["DeclaredAt"] = "Declared At";
|
|
15
|
+
IncidentMeasurementAnchorType["CreatedAt"] = "Created At";
|
|
16
|
+
/*
|
|
17
|
+
* The origin the built-in incident metrics use: the first state timeline
|
|
18
|
+
* entry, falling back to declaredAt and then createdAt. Exists so a
|
|
19
|
+
* definition can reproduce today's numbers exactly.
|
|
20
|
+
*/
|
|
21
|
+
IncidentMeasurementAnchorType["TimelineStart"] = "Timeline Start";
|
|
22
|
+
// A specific state, pinned by id.
|
|
23
|
+
IncidentMeasurementAnchorType["StateEntered"] = "State Entered";
|
|
24
|
+
// Whichever state carries a role -- created, acknowledged or resolved.
|
|
25
|
+
IncidentMeasurementAnchorType["StateRoleEntered"] = "State Role Entered";
|
|
26
|
+
IncidentMeasurementAnchorType["PostmortemPostedAt"] = "Postmortem Posted At";
|
|
27
|
+
})(IncidentMeasurementAnchorType || (IncidentMeasurementAnchorType = {}));
|
|
28
|
+
export default IncidentMeasurementAnchorType;
|
|
29
|
+
//# sourceMappingURL=IncidentMeasurementAnchorType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IncidentMeasurementAnchorType.js","sourceRoot":"","sources":["../../../../Types/Incident/IncidentMeasurementAnchorType.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,IAAK,6BAuBJ;AAvBD,WAAK,6BAA6B;IAChC,4EAA4E;IAC5E,sEAAqC,CAAA;IAErC,6DAA6D;IAC7D,2DAA0B,CAAA;IAE1B,yDAAwB,CAAA;IAExB;;;;OAIG;IACH,iEAAgC,CAAA;IAEhC,kCAAkC;IAClC,+DAA8B,CAAA;IAE9B,uEAAuE;IACvE,wEAAuC,CAAA;IAEvC,4EAA2C,CAAA;AAC7C,CAAC,EAvBI,6BAA6B,KAA7B,6BAA6B,QAuBjC;AAED,eAAe,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The roles an IncidentState can carry, mirroring the isCreatedState /
|
|
3
|
+
* isAcknowledgedState / isResolvedState flags on the model.
|
|
4
|
+
*
|
|
5
|
+
* Resolving by role rather than by state id keeps a measurement working when
|
|
6
|
+
* a project renames or replaces the state that plays that part.
|
|
7
|
+
*/
|
|
8
|
+
var IncidentStateRole;
|
|
9
|
+
(function (IncidentStateRole) {
|
|
10
|
+
IncidentStateRole["Created"] = "Created";
|
|
11
|
+
IncidentStateRole["Acknowledged"] = "Acknowledged";
|
|
12
|
+
IncidentStateRole["Resolved"] = "Resolved";
|
|
13
|
+
})(IncidentStateRole || (IncidentStateRole = {}));
|
|
14
|
+
export default IncidentStateRole;
|
|
15
|
+
//# sourceMappingURL=IncidentStateRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IncidentStateRole.js","sourceRoot":"","sources":["../../../../Types/Incident/IncidentStateRole.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,IAAK,iBAIJ;AAJD,WAAK,iBAAiB;IACpB,wCAAmB,CAAA;IACnB,kDAA6B,CAAA;IAC7B,0CAAqB,CAAA;AACvB,CAAC,EAJI,iBAAiB,KAAjB,iBAAiB,QAIrB;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The visitor-attribution wire contract, shared by every place that reads or
|
|
3
|
+
* writes it.
|
|
4
|
+
*
|
|
5
|
+
* Attribution starts in the browser (Home/Views/head-basic.ejs stores it in
|
|
6
|
+
* localStorage) and reaches the server through two unrelated doors:
|
|
7
|
+
*
|
|
8
|
+
* - the signup form (App/FeatureSet/Accounts/src/Pages/Register.tsx), which
|
|
9
|
+
* posts it onto the User record;
|
|
10
|
+
* - the Cal.com booking webhook (App/API/CalWebhook.ts), which reads it back
|
|
11
|
+
* out of the booking metadata the embed carried. Every page that books —
|
|
12
|
+
* /enterprise/demo, /support, /enterprise/self-hosted — goes through it.
|
|
13
|
+
*
|
|
14
|
+
* Both doors are reachable by an unauthenticated caller, so both must whitelist
|
|
15
|
+
* and length-bound what they accept. Keeping the key lists here rather than in
|
|
16
|
+
* each door means a key added for the browser cannot be silently dropped by one
|
|
17
|
+
* of the readers — which is exactly what happened to UTM parameters on the Cal
|
|
18
|
+
* path, where the webhook parsed click IDs the embed never sent.
|
|
19
|
+
*/
|
|
20
|
+
// Ad-platform click identifiers, in the spelling each platform uses on the URL.
|
|
21
|
+
export const AdClickIdKeys = [
|
|
22
|
+
"gclid",
|
|
23
|
+
"wbraid",
|
|
24
|
+
"gbraid",
|
|
25
|
+
"fbclid",
|
|
26
|
+
"msclkid",
|
|
27
|
+
"li_fat_id",
|
|
28
|
+
"twclid",
|
|
29
|
+
"rdt_cid",
|
|
30
|
+
];
|
|
31
|
+
/*
|
|
32
|
+
* UTM parameters travel as snake_case on a URL and in Cal booking metadata,
|
|
33
|
+
* and as camelCase once they are columns on User/Project/MarketingConversion.
|
|
34
|
+
* Both spellings are accepted on the way in — Cal booking questions and hand
|
|
35
|
+
* written links produce either — and only the camelCase form is stored.
|
|
36
|
+
*/
|
|
37
|
+
export const UtmWireKeyToPropertyKey = {
|
|
38
|
+
utm_source: "utmSource",
|
|
39
|
+
utm_medium: "utmMedium",
|
|
40
|
+
utm_campaign: "utmCampaign",
|
|
41
|
+
utm_term: "utmTerm",
|
|
42
|
+
utm_content: "utmContent",
|
|
43
|
+
};
|
|
44
|
+
export const UtmPropertyKeys = Object.values(UtmWireKeyToPropertyKey);
|
|
45
|
+
/*
|
|
46
|
+
* The landing URL of the attributed visit. Stored separately from the UTM
|
|
47
|
+
* values because it is the only field that survives a campaign whose link
|
|
48
|
+
* carried no UTMs at all (Google Ads auto-tagging sends gclid and nothing
|
|
49
|
+
* else).
|
|
50
|
+
*/
|
|
51
|
+
export const UtmUrlPropertyKey = "utmUrl";
|
|
52
|
+
/*
|
|
53
|
+
* The shape the marketing site writes to localStorage under `firstTouch` and
|
|
54
|
+
* never overwrites. `clickIds` is nested inside it and handled separately.
|
|
55
|
+
*/
|
|
56
|
+
export const FirstTouchStringKeys = [
|
|
57
|
+
...UtmPropertyKeys,
|
|
58
|
+
"landingUrl",
|
|
59
|
+
"referrer",
|
|
60
|
+
"timestamp",
|
|
61
|
+
];
|
|
62
|
+
/*
|
|
63
|
+
* Every attribution value is bounded to this before it is persisted. The utm*
|
|
64
|
+
* columns are LongText, so the bound is not the column width — it is a cap on
|
|
65
|
+
* what an unauthenticated caller can push into the row.
|
|
66
|
+
*/
|
|
67
|
+
export const MaxAttributionValueLength = 500;
|
|
68
|
+
//# sourceMappingURL=Attribution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Attribution.js","sourceRoot":"","sources":["../../../../Types/Marketing/Attribution.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,gFAAgF;AAChF,MAAM,CAAC,MAAM,aAAa,GAAkB;IAC1C,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,SAAS;IACT,WAAW;IACX,QAAQ;IACR,SAAS;CACV,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAA2B;IAC7D,UAAU,EAAE,WAAW;IACvB,UAAU,EAAE,WAAW;IACvB,YAAY,EAAE,aAAa;IAC3B,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAkB,MAAM,CAAC,MAAM,CACzD,uBAAuB,CACxB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAW,QAAQ,CAAC;AAElD;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAkB;IACjD,GAAG,eAAe;IAClB,YAAY;IACZ,UAAU;IACV,WAAW;CACZ,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAW,GAAG,CAAC"}
|
|
@@ -6,18 +6,47 @@ export var MarketingConversionType;
|
|
|
6
6
|
MarketingConversionType["PaidSubscription"] = "PaidSubscription";
|
|
7
7
|
})(MarketingConversionType || (MarketingConversionType = {}));
|
|
8
8
|
/*
|
|
9
|
-
* Conversion types
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
9
|
+
* Conversion types ad platforms may be told about.
|
|
10
|
+
*
|
|
11
|
+
* This list used to hold only SignUp and PaidSubscription because every
|
|
12
|
+
* provider chose its platform conversion action with a two-way branch on
|
|
13
|
+
* isSignUp(), so any third type would have been uploaded as a *purchase*
|
|
14
|
+
* carrying whatever value the row held. That branch is gone: providers now
|
|
15
|
+
* declare a Record<MarketingConversionType, ...> mapping, which the compiler
|
|
16
|
+
* refuses to accept unless every member of the enum above is named. Adding a
|
|
17
|
+
* conversion type is therefore a type error in each provider until that
|
|
18
|
+
* provider says what the type means on its platform.
|
|
19
|
+
*
|
|
20
|
+
* A mapping may legitimately be an empty string, meaning "this deployment has
|
|
21
|
+
* not configured a conversion action for this type yet". That is a config gap,
|
|
22
|
+
* not a modelling gap: the worker leaves such rows pending rather than
|
|
23
|
+
* skipping them, so they upload once the id is set.
|
|
14
24
|
*/
|
|
15
|
-
export const AdUploadableMarketingConversionTypes = [
|
|
25
|
+
export const AdUploadableMarketingConversionTypes = [
|
|
26
|
+
MarketingConversionType.SignUp,
|
|
27
|
+
MarketingConversionType.MeetingBooked,
|
|
28
|
+
MarketingConversionType.PaidSubscription,
|
|
29
|
+
];
|
|
30
|
+
/*
|
|
31
|
+
* Types that represent a sales-led lead rather than a completed self-serve
|
|
32
|
+
* transaction. They carry no revenue of their own — a booked meeting is not
|
|
33
|
+
* money — so providers must not attach a conversion value to them even when
|
|
34
|
+
* the row happens to have one, and platforms that demand a value for their
|
|
35
|
+
* purchase-shaped events must not be handed these as purchases.
|
|
36
|
+
*
|
|
37
|
+
* Every sales-led step is a booked meeting. The enterprise licence request is
|
|
38
|
+
* not a separate type: asking about a licence and booking an architecture
|
|
39
|
+
* assessment are the same conversation, reached through the same Cal embed, so
|
|
40
|
+
* they are the same conversion.
|
|
41
|
+
*/
|
|
42
|
+
export const LeadMarketingConversionTypes = [
|
|
43
|
+
MarketingConversionType.MeetingBooked,
|
|
44
|
+
];
|
|
16
45
|
export var MarketingConversionUploadStatus;
|
|
17
46
|
(function (MarketingConversionUploadStatus) {
|
|
18
47
|
MarketingConversionUploadStatus["Uploaded"] = "Uploaded";
|
|
19
48
|
MarketingConversionUploadStatus["Failed"] = "Failed";
|
|
20
|
-
// No
|
|
49
|
+
// No identifier relevant to this ad platform — nothing to upload.
|
|
21
50
|
MarketingConversionUploadStatus["Skipped"] = "Skipped";
|
|
22
51
|
})(MarketingConversionUploadStatus || (MarketingConversionUploadStatus = {}));
|
|
23
52
|
//# sourceMappingURL=MarketingConversion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarketingConversion.js","sourceRoot":"","sources":["../../../../Types/Marketing/MarketingConversion.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,uBAKX;AALD,WAAY,uBAAuB;IACjC,4CAAiB,CAAA;IACjB,oFAAoF;IACpF,0DAA+B,CAAA;IAC/B,gEAAqC,CAAA;AACvC,CAAC,EALW,uBAAuB,KAAvB,uBAAuB,QAKlC;AAED
|
|
1
|
+
{"version":3,"file":"MarketingConversion.js","sourceRoot":"","sources":["../../../../Types/Marketing/MarketingConversion.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,uBAKX;AALD,WAAY,uBAAuB;IACjC,4CAAiB,CAAA;IACjB,oFAAoF;IACpF,0DAA+B,CAAA;IAC/B,gEAAqC,CAAA;AACvC,CAAC,EALW,uBAAuB,KAAvB,uBAAuB,QAKlC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAC/C;IACE,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,aAAa;IACrC,uBAAuB,CAAC,gBAAgB;CACzC,CAAC;AAEJ;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAmC;IAC1E,uBAAuB,CAAC,aAAa;CACtC,CAAC;AAEF,MAAM,CAAN,IAAY,+BAKX;AALD,WAAY,+BAA+B;IACzC,wDAAqB,CAAA;IACrB,oDAAiB,CAAA;IACjB,kEAAkE;IAClE,sDAAmB,CAAA;AACrB,CAAC,EALW,+BAA+B,KAA/B,+BAA+B,QAK1C"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import AggregationType from "../BaseDatabase/AggregationType";
|
|
2
|
+
/*
|
|
3
|
+
* The aggregation a measurement's chart should default to.
|
|
4
|
+
*
|
|
5
|
+
* Kept as a narrow subset of AggregationType: summing durations across
|
|
6
|
+
* incidents produces a number with no meaning, so Sum is deliberately absent.
|
|
7
|
+
*/
|
|
8
|
+
var MeasurementAggregationType;
|
|
9
|
+
(function (MeasurementAggregationType) {
|
|
10
|
+
MeasurementAggregationType["Avg"] = "Avg";
|
|
11
|
+
MeasurementAggregationType["Max"] = "Max";
|
|
12
|
+
MeasurementAggregationType["Min"] = "Min";
|
|
13
|
+
MeasurementAggregationType["P50"] = "P50";
|
|
14
|
+
MeasurementAggregationType["P90"] = "P90";
|
|
15
|
+
MeasurementAggregationType["P95"] = "P95";
|
|
16
|
+
MeasurementAggregationType["P99"] = "P99";
|
|
17
|
+
})(MeasurementAggregationType || (MeasurementAggregationType = {}));
|
|
18
|
+
export class MeasurementAggregationTypeUtil {
|
|
19
|
+
static toAggregationType(type) {
|
|
20
|
+
switch (type) {
|
|
21
|
+
case MeasurementAggregationType.Max:
|
|
22
|
+
return AggregationType.Max;
|
|
23
|
+
case MeasurementAggregationType.Min:
|
|
24
|
+
return AggregationType.Min;
|
|
25
|
+
case MeasurementAggregationType.P50:
|
|
26
|
+
return AggregationType.P50;
|
|
27
|
+
case MeasurementAggregationType.P90:
|
|
28
|
+
return AggregationType.P90;
|
|
29
|
+
case MeasurementAggregationType.P95:
|
|
30
|
+
return AggregationType.P95;
|
|
31
|
+
case MeasurementAggregationType.P99:
|
|
32
|
+
return AggregationType.P99;
|
|
33
|
+
case MeasurementAggregationType.Avg:
|
|
34
|
+
default:
|
|
35
|
+
return AggregationType.Avg;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export default MeasurementAggregationType;
|
|
40
|
+
//# sourceMappingURL=MeasurementAggregationType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MeasurementAggregationType.js","sourceRoot":"","sources":["../../../../Types/Measurement/MeasurementAggregationType.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,iCAAiC,CAAC;AAE9D;;;;;GAKG;AACH,IAAK,0BAQJ;AARD,WAAK,0BAA0B;IAC7B,yCAAW,CAAA;IACX,yCAAW,CAAA;IACX,yCAAW,CAAA;IACX,yCAAW,CAAA;IACX,yCAAW,CAAA;IACX,yCAAW,CAAA;IACX,yCAAW,CAAA;AACb,CAAC,EARI,0BAA0B,KAA1B,0BAA0B,QAQ9B;AAED,MAAM,OAAO,8BAA8B;IAClC,MAAM,CAAC,iBAAiB,CAC7B,IAA4C;QAE5C,QAAQ,IAAI,EAAE,CAAC;YACb,KAAK,0BAA0B,CAAC,GAAG;gBACjC,OAAO,eAAe,CAAC,GAAG,CAAC;YAC7B,KAAK,0BAA0B,CAAC,GAAG;gBACjC,OAAO,eAAe,CAAC,GAAG,CAAC;YAC7B,KAAK,0BAA0B,CAAC,GAAG;gBACjC,OAAO,eAAe,CAAC,GAAG,CAAC;YAC7B,KAAK,0BAA0B,CAAC,GAAG;gBACjC,OAAO,eAAe,CAAC,GAAG,CAAC;YAC7B,KAAK,0BAA0B,CAAC,GAAG;gBACjC,OAAO,eAAe,CAAC,GAAG,CAAC;YAC7B,KAAK,0BAA0B,CAAC,GAAG;gBACjC,OAAO,eAAe,CAAC,GAAG,CAAC;YAC7B,KAAK,0BAA0B,CAAC,GAAG,CAAC;YACpC;gBACE,OAAO,eAAe,CAAC,GAAG,CAAC;QAC/B,CAAC;IACH,CAAC;CACF;AAED,eAAe,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The three ways a measurement endpoint can be located in time.
|
|
3
|
+
*
|
|
4
|
+
* Domain services translate their own anchor-type enum into one of these
|
|
5
|
+
* before handing the definition to MeasurementEvaluator, which is what lets
|
|
6
|
+
* one evaluator serve incidents, alerts and scheduled maintenance events.
|
|
7
|
+
*/
|
|
8
|
+
var MeasurementAnchorKind;
|
|
9
|
+
(function (MeasurementAnchorKind) {
|
|
10
|
+
// A timestamp column on the entity itself, already resolved by the caller.
|
|
11
|
+
MeasurementAnchorKind["Timestamp"] = "Timestamp";
|
|
12
|
+
// The moment a specific state was entered, located by state id.
|
|
13
|
+
MeasurementAnchorKind["StateEntered"] = "State Entered";
|
|
14
|
+
/*
|
|
15
|
+
* The moment a state carrying a given role was entered -- "whichever state
|
|
16
|
+
* is the acknowledged one". Resolves by flag rather than pinning an id, so
|
|
17
|
+
* it keeps working when a project renames or replaces the state.
|
|
18
|
+
*/
|
|
19
|
+
MeasurementAnchorKind["StateRoleEntered"] = "State Role Entered";
|
|
20
|
+
})(MeasurementAnchorKind || (MeasurementAnchorKind = {}));
|
|
21
|
+
export default MeasurementAnchorKind;
|
|
22
|
+
//# sourceMappingURL=MeasurementAnchorKind.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MeasurementAnchorKind.js","sourceRoot":"","sources":["../../../../Types/Measurement/MeasurementAnchorKind.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,IAAK,qBAaJ;AAbD,WAAK,qBAAqB;IACxB,2EAA2E;IAC3E,gDAAuB,CAAA;IAEvB,gEAAgE;IAChE,uDAA8B,CAAA;IAE9B;;;;OAIG;IACH,gEAAuC,CAAA;AACzC,CAAC,EAbI,qBAAqB,KAArB,qBAAqB,QAazB;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Which entry to use when a state is entered more than once -- the reopen knob.
|
|
3
|
+
*
|
|
4
|
+
* `First` reproduces the behaviour of the built-in metrics, which resolve a
|
|
5
|
+
* state with `.find()` over a timeline sorted ascending. `Last` is the opt-in
|
|
6
|
+
* selector for teams who want a reopened incident's measurement to move to the
|
|
7
|
+
* final resolution rather than pinning to the first one.
|
|
8
|
+
*/
|
|
9
|
+
var MeasurementOccurrence;
|
|
10
|
+
(function (MeasurementOccurrence) {
|
|
11
|
+
MeasurementOccurrence["First"] = "First";
|
|
12
|
+
MeasurementOccurrence["Last"] = "Last";
|
|
13
|
+
})(MeasurementOccurrence || (MeasurementOccurrence = {}));
|
|
14
|
+
export default MeasurementOccurrence;
|
|
15
|
+
//# sourceMappingURL=MeasurementOccurrence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MeasurementOccurrence.js","sourceRoot":"","sources":["../../../../Types/Measurement/MeasurementOccurrence.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,IAAK,qBAGJ;AAHD,WAAK,qBAAqB;IACxB,wCAAe,CAAA;IACf,sCAAa,CAAA;AACf,CAAC,EAHI,qBAAqB,KAArB,qBAAqB,QAGzB;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The outcome of evaluating a measurement definition against one entity.
|
|
3
|
+
*
|
|
4
|
+
* A measurement is a named duration between two anchors. Every one of these
|
|
5
|
+
* values is a deliberate alternative to writing a number that looks plausible
|
|
6
|
+
* and is wrong -- which is the failure mode this feature exists to remove.
|
|
7
|
+
*/
|
|
8
|
+
var MeasurementStatus;
|
|
9
|
+
(function (MeasurementStatus) {
|
|
10
|
+
// Both anchors resolved and the duration is meaningful.
|
|
11
|
+
MeasurementStatus["Recorded"] = "Recorded";
|
|
12
|
+
/*
|
|
13
|
+
* An anchor has not happened yet but still can. The entity is mid-flight.
|
|
14
|
+
* This is the only status that is expected to change on its own.
|
|
15
|
+
*/
|
|
16
|
+
MeasurementStatus["Pending"] = "Pending";
|
|
17
|
+
/*
|
|
18
|
+
* An anchor can never resolve for this entity -- the state was skipped, the
|
|
19
|
+
* timestamp was never recorded, or the referenced state has been deleted.
|
|
20
|
+
* No metric point is written, so a skipped milestone does not pull an
|
|
21
|
+
* average towards zero.
|
|
22
|
+
*/
|
|
23
|
+
MeasurementStatus["NotApplicable"] = "Not Applicable";
|
|
24
|
+
/*
|
|
25
|
+
* Both anchors resolved but the end precedes the start. This is the "field
|
|
26
|
+
* whose value looks wrong" -- it means someone's recorded timestamps
|
|
27
|
+
* disagree with each other, and it is surfaced rather than clamped to zero.
|
|
28
|
+
*/
|
|
29
|
+
MeasurementStatus["Invalid"] = "Invalid";
|
|
30
|
+
})(MeasurementStatus || (MeasurementStatus = {}));
|
|
31
|
+
export default MeasurementStatus;
|
|
32
|
+
//# sourceMappingURL=MeasurementStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MeasurementStatus.js","sourceRoot":"","sources":["../../../../Types/Measurement/MeasurementStatus.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,IAAK,iBAwBJ;AAxBD,WAAK,iBAAiB;IACpB,wDAAwD;IACxD,0CAAqB,CAAA;IAErB;;;OAGG;IACH,wCAAmB,CAAA;IAEnB;;;;;OAKG;IACH,qDAAgC,CAAA;IAEhC;;;;OAIG;IACH,wCAAmB,CAAA;AACrB,CAAC,EAxBI,iBAAiB,KAAjB,iBAAiB,QAwBrB;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -5,6 +5,7 @@ var ProductType;
|
|
|
5
5
|
ProductType["Metrics"] = "Metrics";
|
|
6
6
|
ProductType["Profiles"] = "Profiles";
|
|
7
7
|
ProductType["SessionReplay"] = "Session Replay";
|
|
8
|
+
ProductType["SecurityEvents"] = "Security Events";
|
|
8
9
|
ProductType["ActiveMonitoring"] = "Active Monitoring";
|
|
9
10
|
})(ProductType || (ProductType = {}));
|
|
10
11
|
export default ProductType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductType.js","sourceRoot":"","sources":["../../../../Types/MeteredPlan/ProductType.ts"],"names":[],"mappings":"AAAA,IAAK,
|
|
1
|
+
{"version":3,"file":"ProductType.js","sourceRoot":"","sources":["../../../../Types/MeteredPlan/ProductType.ts"],"names":[],"mappings":"AAAA,IAAK,WAQJ;AARD,WAAK,WAAW;IACd,4BAAa,CAAA;IACb,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;IACnB,oCAAqB,CAAA;IACrB,+CAAgC,CAAA;IAChC,iDAAkC,CAAA;IAClC,qDAAsC,CAAA;AACxC,CAAC,EARI,WAAW,KAAX,WAAW,QAQf;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -43,6 +43,8 @@ export var CheckOn;
|
|
|
43
43
|
CheckOn["BrowserType"] = "Browser Type";
|
|
44
44
|
// Log monitors.
|
|
45
45
|
CheckOn["LogCount"] = "Log Count";
|
|
46
|
+
// Security event monitors.
|
|
47
|
+
CheckOn["SecurityEventCount"] = "Security Event Count";
|
|
46
48
|
// Trace monitors.
|
|
47
49
|
CheckOn["SpanCount"] = "Span Count";
|
|
48
50
|
// Exception monitors.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CriteriaFilter.js","sourceRoot":"","sources":["../../../../Types/Monitor/CriteriaFilter.ts"],"names":[],"mappings":"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CAAC,MAAM,EAAE,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IACzD,gBAAgB,EAAE,GAAG,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC1C,uBAAuB,EAAE,GAAG,CAAC,MAAM,CAAC;QAClC,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3C,oBAAoB,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7C,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACxC,CAAC,CAAC,QAAQ,EAAE;CACd,CAAC,CAAC"}
|
|
@@ -83,6 +83,35 @@ class MonitorCriteriaInstance extends DatabaseProperty {
|
|
|
83
83
|
};
|
|
84
84
|
return monitorCriteriaInstance;
|
|
85
85
|
}
|
|
86
|
+
if (arg.monitorType === MonitorType.SecurityEvents) {
|
|
87
|
+
const monitorCriteriaInstance = new MonitorCriteriaInstance();
|
|
88
|
+
/*
|
|
89
|
+
* Inverse of the Logs default on purpose: silence is the healthy
|
|
90
|
+
* state for a security-events monitor. Zero matching events means
|
|
91
|
+
* all clear; matches are what the offline/alerting criteria fires
|
|
92
|
+
* on.
|
|
93
|
+
*/
|
|
94
|
+
monitorCriteriaInstance.data = {
|
|
95
|
+
id: ObjectID.generate().toString(),
|
|
96
|
+
monitorStatusId: arg.monitorStatusId,
|
|
97
|
+
filterCondition: FilterCondition.Any,
|
|
98
|
+
filters: [
|
|
99
|
+
{
|
|
100
|
+
checkOn: CheckOn.SecurityEventCount,
|
|
101
|
+
filterType: FilterType.EqualTo,
|
|
102
|
+
value: 0, // no matching security events - all clear.
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
incidents: [],
|
|
106
|
+
alerts: [],
|
|
107
|
+
changeMonitorStatus: true,
|
|
108
|
+
createIncidents: false,
|
|
109
|
+
createAlerts: false,
|
|
110
|
+
name: `Check if ${arg.monitorName} is clear`,
|
|
111
|
+
description: `This criteria checks that ${arg.monitorName} has no matching security events`,
|
|
112
|
+
};
|
|
113
|
+
return monitorCriteriaInstance;
|
|
114
|
+
}
|
|
86
115
|
if (arg.monitorType === MonitorType.Logs) {
|
|
87
116
|
const monitorCriteriaInstance = new MonitorCriteriaInstance();
|
|
88
117
|
monitorCriteriaInstance.data = {
|
|
@@ -829,6 +858,36 @@ class MonitorCriteriaInstance extends DatabaseProperty {
|
|
|
829
858
|
description: `This criteria checks if the ${arg.monitorName} is offline`,
|
|
830
859
|
};
|
|
831
860
|
}
|
|
861
|
+
if (arg.monitorType === MonitorType.SecurityEvents) {
|
|
862
|
+
monitorCriteriaInstance.data = {
|
|
863
|
+
id: ObjectID.generate().toString(),
|
|
864
|
+
monitorStatusId: arg.monitorStatusId,
|
|
865
|
+
filterCondition: FilterCondition.Any,
|
|
866
|
+
filters: [
|
|
867
|
+
{
|
|
868
|
+
checkOn: CheckOn.SecurityEventCount,
|
|
869
|
+
filterType: FilterType.GreaterThan,
|
|
870
|
+
value: 0, // matching security events were found.
|
|
871
|
+
},
|
|
872
|
+
],
|
|
873
|
+
incidents: [],
|
|
874
|
+
alerts: [
|
|
875
|
+
{
|
|
876
|
+
title: `${arg.monitorName} detected security events`,
|
|
877
|
+
description: `${arg.monitorName} found matching security events.`,
|
|
878
|
+
alertSeverityId: arg.alertSeverityId,
|
|
879
|
+
autoResolveAlert: true,
|
|
880
|
+
id: ObjectID.generate().toString(),
|
|
881
|
+
onCallPolicyIds: [],
|
|
882
|
+
},
|
|
883
|
+
],
|
|
884
|
+
createAlerts: true,
|
|
885
|
+
changeMonitorStatus: true,
|
|
886
|
+
createIncidents: false,
|
|
887
|
+
name: `Check if ${arg.monitorName} found security events`,
|
|
888
|
+
description: `This criteria fires when ${arg.monitorName} finds matching security events`,
|
|
889
|
+
};
|
|
890
|
+
}
|
|
832
891
|
if (arg.monitorType === MonitorType.Logs) {
|
|
833
892
|
monitorCriteriaInstance.data = {
|
|
834
893
|
id: ObjectID.generate().toString(),
|