@oneuptime/common 14.0.94 → 14.0.96
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/ExceptionInstance.d.mts +2 -0
- package/Models/AnalyticsModels/ExceptionInstance.d.ts +2 -0
- package/Models/AnalyticsModels/ExceptionInstance.js +7 -0
- package/Models/AnalyticsModels/Log.d.mts +2 -0
- package/Models/AnalyticsModels/Log.d.ts +2 -0
- package/Models/AnalyticsModels/Log.js +7 -0
- package/Models/AnalyticsModels/SecurityEvent.d.mts +8 -0
- package/Models/AnalyticsModels/SecurityEvent.d.ts +8 -0
- package/Models/AnalyticsModels/SecurityEvent.js +55 -0
- package/Models/AnalyticsModels/Span.d.mts +4 -0
- package/Models/AnalyticsModels/Span.d.ts +4 -0
- package/Models/AnalyticsModels/Span.js +63 -0
- package/Models/DatabaseModels/CustomNotificationChannel.d.mts +16 -0
- package/Models/DatabaseModels/CustomNotificationChannel.d.ts +16 -0
- package/Models/DatabaseModels/CustomNotificationChannel.js +337 -0
- package/Models/DatabaseModels/CustomNotificationChannel.mjs +2 -0
- package/Models/DatabaseModels/DashboardPlaylist.d.mts +16 -0
- package/Models/DatabaseModels/DashboardPlaylist.d.ts +16 -0
- package/Models/DatabaseModels/DashboardPlaylist.js +314 -0
- package/Models/DatabaseModels/DashboardPlaylist.mjs +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.js +14 -37
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.d.mts +1 -0
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.d.ts +1 -0
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.js +27 -3
- package/Models/DatabaseModels/DetectionRuleException.d.mts +25 -0
- package/Models/DatabaseModels/DetectionRuleException.d.ts +25 -0
- package/Models/DatabaseModels/DetectionRuleException.js +412 -0
- package/Models/DatabaseModels/DetectionRuleException.mjs +2 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
- package/Models/DatabaseModels/GlobalConfig.js +107 -0
- package/Models/DatabaseModels/Index.js +8 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +2 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +2 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +40 -0
- package/Models/DatabaseModels/SecurityTelemetrySource.d.mts +21 -0
- package/Models/DatabaseModels/SecurityTelemetrySource.d.ts +21 -0
- package/Models/DatabaseModels/SecurityTelemetrySource.js +357 -0
- package/Models/DatabaseModels/SecurityTelemetrySource.mjs +2 -0
- package/Models/DatabaseModels/TeamComplianceSetting.js +2 -2
- package/Models/DatabaseModels/TeamPermission.js +5 -7
- package/Models/DatabaseModels/UserNotificationRule.d.mts +3 -0
- package/Models/DatabaseModels/UserNotificationRule.d.ts +3 -0
- package/Models/DatabaseModels/UserNotificationRule.js +67 -0
- package/Models/DatabaseModels/UserNotificationSetting.d.mts +1 -0
- package/Models/DatabaseModels/UserNotificationSetting.d.ts +1 -0
- package/Models/DatabaseModels/UserNotificationSetting.js +26 -0
- package/Models/DatabaseModels/UserOnCallLogTimeline.d.mts +3 -0
- package/Models/DatabaseModels/UserOnCallLogTimeline.d.ts +3 -0
- package/Models/DatabaseModels/UserOnCallLogTimeline.js +53 -0
- package/Types/AI/AIChatPermissionMode.js +11 -5
- package/Types/AI/ResourceCardFacts.d.mts +11 -0
- package/Types/AI/ResourceCardFacts.d.ts +11 -0
- package/Types/AI/ResourceCardFacts.js +80 -0
- package/Types/AI/ResourceCardFacts.mjs +4 -0
- package/Types/AnalyticsDatabase/TableColumn.d.mts +4 -0
- package/Types/AnalyticsDatabase/TableColumn.d.ts +4 -0
- package/Types/AnalyticsDatabase/TableColumn.js +7 -0
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.d.mts +2 -0
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.d.ts +2 -0
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.js +4 -0
- package/Types/Backup/BackupDestinationCatalog.d.mts +2 -0
- package/Types/Backup/BackupDestinationCatalog.d.ts +2 -0
- package/Types/Backup/BackupDestinationCatalog.js +8 -0
- package/Types/CallAndSMS/CallAndSmsGatewayPayload.d.mts +25 -0
- package/Types/CallAndSMS/CallAndSmsGatewayPayload.d.ts +25 -0
- package/Types/CallAndSMS/CallAndSmsGatewayPayload.js +86 -0
- package/Types/CallAndSMS/CallAndSmsGatewayPayload.mjs +6 -0
- package/Types/CallAndSMS/CallAndSmsProvider.d.mts +23 -0
- package/Types/CallAndSMS/CallAndSmsProvider.d.ts +23 -0
- package/Types/CallAndSMS/CallAndSmsProvider.js +107 -0
- package/Types/CallAndSMS/CallAndSmsProvider.mjs +7 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.mts +2 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.ts +2 -0
- package/Types/CloudConnection/CloudConnectionCatalog.js +4 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.mts +95 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.ts +95 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.js +236 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.mjs +16 -0
- package/Types/Dashboard/DashboardPlaylist.d.mts +21 -0
- package/Types/Dashboard/DashboardPlaylist.d.ts +21 -0
- package/Types/Dashboard/DashboardPlaylist.js +197 -0
- package/Types/Dashboard/DashboardPlaylist.mjs +19 -0
- package/Types/Database/TableColumn.d.mts +8 -0
- package/Types/Database/TableColumn.d.ts +8 -0
- package/Types/Database/TableColumn.js +69 -23
- package/Types/Database/TableColumn.mjs +1 -0
- package/Types/HeldPermissions.d.mts +2 -0
- package/Types/HeldPermissions.d.ts +2 -0
- package/Types/HeldPermissions.js +32 -8
- package/Types/Icon/IconProp.d.mts +3 -0
- package/Types/Icon/IconProp.d.ts +3 -0
- package/Types/Icon/IconProp.js +4 -0
- package/Types/JSONFunctions.js +16 -1
- package/Types/LlmObservability/LlmConnectionCatalog.d.mts +2 -0
- package/Types/LlmObservability/LlmConnectionCatalog.d.ts +2 -0
- package/Types/LlmObservability/LlmConnectionCatalog.js +8 -0
- package/Types/Monitor/MonitorType.js +5 -4
- package/Types/Monitor/TelemetryAlertRule.d.mts +111 -0
- package/Types/Monitor/TelemetryAlertRule.d.ts +111 -0
- package/Types/Monitor/TelemetryAlertRule.js +886 -0
- package/Types/Monitor/TelemetryAlertRule.mjs +5 -0
- package/Types/Monitor/TelemetryRulePreview.d.mts +57 -0
- package/Types/Monitor/TelemetryRulePreview.d.ts +57 -0
- package/Types/Monitor/TelemetryRulePreview.js +190 -0
- package/Types/Monitor/TelemetryRulePreview.mjs +6 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.mts +23 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.ts +23 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.js +105 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.mjs +9 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.mts +3 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.ts +3 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.js +23 -8
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.mjs +2 -0
- package/Types/OnCallDutyPolicy/OnCallPolicyAiHold.d.mts +47 -0
- package/Types/OnCallDutyPolicy/OnCallPolicyAiHold.d.ts +47 -0
- package/Types/OnCallDutyPolicy/OnCallPolicyAiHold.js +122 -0
- package/Types/OnCallDutyPolicy/OnCallPolicyAiHold.mjs +12 -0
- package/Types/OnCallDutyPolicy/OnCallRuleWhenToPage.d.mts +2 -1
- package/Types/OnCallDutyPolicy/OnCallRuleWhenToPage.d.ts +2 -1
- package/Types/OnCallDutyPolicy/OnCallRuleWhenToPage.js +10 -1
- package/Types/Permission.d.mts +10 -0
- package/Types/Permission.d.ts +10 -0
- package/Types/Permission.js +83 -19
- package/Types/ProviderLogo/ProviderLogo.d.mts +87 -0
- package/Types/ProviderLogo/ProviderLogo.d.ts +87 -0
- package/Types/ProviderLogo/ProviderLogo.js +215 -0
- package/Types/ProviderLogo/ProviderLogo.mjs +6 -0
- package/Types/PushNotification/PushNotificationsTurnedOff.d.mts +3 -0
- package/Types/PushNotification/PushNotificationsTurnedOff.d.ts +3 -0
- package/Types/PushNotification/PushNotificationsTurnedOff.js +32 -0
- package/Types/PushNotification/PushNotificationsTurnedOff.mjs +4 -0
- package/Types/RollingTime/RollingTimeUtil.js +20 -10
- package/Types/Runbook/RunbookTriggerType.d.mts +2 -1
- package/Types/Runbook/RunbookTriggerType.d.ts +2 -1
- package/Types/Runbook/RunbookTriggerType.js +5 -1
- package/Types/SecurityCase/SecurityCaseContext.d.mts +188 -0
- package/Types/SecurityCase/SecurityCaseContext.d.ts +188 -0
- package/Types/SecurityCase/SecurityCaseContext.js +165 -0
- package/Types/SecurityCase/SecurityCaseContext.mjs +30 -0
- package/Types/SecurityCase/SecurityEntityRisk.d.mts +11 -0
- package/Types/SecurityCase/SecurityEntityRisk.d.ts +11 -0
- package/Types/SecurityCase/SecurityEntityRisk.js +9 -1
- package/Types/SecurityCase/SecurityEntityRisk.mjs +1 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.d.mts +2 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.d.ts +2 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.js +9 -0
- package/Types/SecurityEvent/Destinations/SecurityEventDestinationCatalog.d.mts +2 -0
- package/Types/SecurityEvent/Destinations/SecurityEventDestinationCatalog.d.ts +2 -0
- package/Types/SecurityEvent/Destinations/SecurityEventDestinationCatalog.js +5 -0
- package/Types/SecurityEvent/DetectionRetrohunt.d.mts +38 -0
- package/Types/SecurityEvent/DetectionRetrohunt.d.ts +38 -0
- package/Types/SecurityEvent/DetectionRetrohunt.js +147 -0
- package/Types/SecurityEvent/DetectionRetrohunt.mjs +10 -0
- package/Types/SecurityEvent/DetectionRuleDataKind.d.mts +5 -1
- package/Types/SecurityEvent/DetectionRuleDataKind.d.ts +5 -1
- package/Types/SecurityEvent/DetectionRuleDataKind.js +42 -0
- package/Types/SecurityEvent/DetectionRuleException.d.mts +65 -0
- package/Types/SecurityEvent/DetectionRuleException.d.ts +65 -0
- package/Types/SecurityEvent/DetectionRuleException.js +441 -0
- package/Types/SecurityEvent/DetectionRuleException.mjs +24 -0
- package/Types/SecurityEvent/DetectionRuleLibrary.js +330 -0
- package/Types/SecurityEvent/NormalizedSecurityEvent.d.mts +5 -0
- package/Types/SecurityEvent/NormalizedSecurityEvent.d.ts +5 -0
- package/Types/SecurityEvent/SecurityAttackCampaign.d.mts +31 -0
- package/Types/SecurityEvent/SecurityAttackCampaign.d.ts +31 -0
- package/Types/SecurityEvent/SecurityAttackCampaign.js +81 -0
- package/Types/SecurityEvent/SecurityAttackCampaign.mjs +8 -0
- package/Types/SecurityEvent/SecurityEventRequestOutcome.d.mts +28 -0
- package/Types/SecurityEvent/SecurityEventRequestOutcome.d.ts +28 -0
- package/Types/SecurityEvent/SecurityEventRequestOutcome.js +78 -0
- package/Types/SecurityEvent/SecurityEventRequestOutcome.mjs +6 -0
- package/Types/SecurityEvent/SecurityTelemetrySource.d.mts +39 -0
- package/Types/SecurityEvent/SecurityTelemetrySource.d.ts +39 -0
- package/Types/SecurityEvent/SecurityTelemetrySource.js +127 -0
- package/Types/SecurityEvent/SecurityTelemetrySource.mjs +12 -0
- package/Types/SecurityEvent/TurnOnRecommended.d.mts +2 -0
- package/Types/SecurityEvent/TurnOnRecommended.d.ts +2 -0
- package/Types/SecurityEvent/TurnOnRecommended.js +7 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.mts +7 -1
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.ts +7 -1
- package/Types/SecurityPlaybook/SecurityPlaybookAction.js +46 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.mjs +1 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.mts +10 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.ts +10 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStep.js +37 -1
- package/Types/SecurityPlaybook/SecurityPlaybookStep.mjs +1 -0
- package/Types/SecurityPlaybook/SecurityPlaybookTemplates.js +17 -0
- package/Types/Team/ComplianceNotificationChannel.d.mts +2 -1
- package/Types/Team/ComplianceNotificationChannel.d.ts +2 -1
- package/Types/Team/ComplianceNotificationChannel.js +10 -1
- package/Types/Team/ComplianceRule.d.mts +8 -3
- package/Types/Team/ComplianceRule.d.ts +8 -3
- package/Types/Team/ComplianceRule.js +34 -22
- package/Types/Team/TeamComplianceStatus.d.mts +1 -0
- package/Types/Team/TeamComplianceStatus.d.ts +1 -0
- package/Types/Telemetry/OpenTelemetryGuides.d.mts +52 -0
- package/Types/Telemetry/OpenTelemetryGuides.d.ts +52 -0
- package/Types/Telemetry/OpenTelemetryGuides.js +419 -0
- package/Types/Telemetry/OpenTelemetryGuides.mjs +17 -0
- package/Types/Telemetry/TelemetrySavedViewState.d.mts +1 -0
- package/Types/Telemetry/TelemetrySavedViewState.d.ts +1 -0
- package/Types/Telemetry/TraceHealth.d.mts +24 -0
- package/Types/Telemetry/TraceHealth.d.ts +24 -0
- package/Types/Telemetry/TraceHealth.js +97 -0
- package/Types/Telemetry/TraceHealth.mjs +4 -0
- package/Types/Telemetry/TraceSpanType.d.mts +90 -0
- package/Types/Telemetry/TraceSpanType.d.ts +90 -0
- package/Types/Telemetry/TraceSpanType.js +238 -0
- package/Types/Telemetry/TraceSpanType.mjs +19 -0
- package/Types/Theme/ThemePreference.d.mts +26 -0
- package/Types/Theme/ThemePreference.d.ts +26 -0
- package/Types/Theme/ThemePreference.js +104 -0
- package/Types/Theme/ThemePreference.mjs +12 -0
- package/Types/Workflow/Component.d.mts +3 -0
- package/Types/Workflow/Component.d.ts +3 -0
- package/Types/Workflow/Components/Discord.js +2 -0
- package/Types/Workflow/Components/Mattermost.js +2 -0
- package/Types/Workflow/Components/MicrosoftTeams.js +2 -0
- package/Types/Workflow/Components/Slack.js +2 -0
- package/Types/Workflow/Components/Telegram.js +2 -0
- package/Types/Workflow/Components.js +6 -0
- package/Types/Workflow/Templates.js +5 -3
- package/Utils/ColorContrast.d.mts +0 -3
- package/Utils/ColorContrast.d.ts +0 -3
- package/Utils/ColorContrast.js +3 -41
- package/Utils/ColorContrast.mjs +0 -2
- package/Utils/NameInitials.d.mts +5 -0
- package/Utils/NameInitials.d.ts +5 -0
- package/Utils/NameInitials.js +92 -0
- package/Utils/NameInitials.mjs +6 -0
- package/Utils/OldestKeyCursor.d.mts +7 -0
- package/Utils/OldestKeyCursor.d.ts +7 -0
- package/Utils/OldestKeyCursor.js +68 -0
- package/Utils/OldestKeyCursor.mjs +2 -0
- package/Utils/Schema/OpenApiMetadataRegistry.d.mts +4 -0
- package/Utils/Schema/OpenApiMetadataRegistry.d.ts +4 -0
- package/Utils/Schema/OpenApiMetadataRegistry.js +20 -0
- package/Utils/Schema/OpenApiMetadataRegistry.mjs +2 -0
- package/Utils/Schema/Zod.js +6 -0
- package/Utils/SecurityCase/SecurityCaseImpactFacts.d.mts +41 -0
- package/Utils/SecurityCase/SecurityCaseImpactFacts.d.ts +41 -0
- package/Utils/SecurityCase/SecurityCaseImpactFacts.js +215 -0
- package/Utils/SecurityCase/SecurityCaseImpactFacts.mjs +6 -0
- package/Utils/SecurityCase/SecurityCaseStoryItems.d.mts +46 -0
- package/Utils/SecurityCase/SecurityCaseStoryItems.d.ts +46 -0
- package/Utils/SecurityCase/SecurityCaseStoryItems.js +327 -0
- package/Utils/SecurityCase/SecurityCaseStoryItems.mjs +17 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.mts +5 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.ts +5 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.js +22 -2
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.mjs +2 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.d.mts +20 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.d.ts +20 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.js +347 -31
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.mjs +11 -0
- package/Utils/SecurityEvent/RequestFollowUp.d.mts +4 -0
- package/Utils/SecurityEvent/RequestFollowUp.d.ts +4 -0
- package/Utils/SecurityEvent/RequestFollowUp.js +127 -0
- package/Utils/SecurityEvent/RequestFollowUp.mjs +3 -0
- package/Utils/SecurityEvent/RequestOutcome.d.mts +80 -0
- package/Utils/SecurityEvent/RequestOutcome.d.ts +80 -0
- package/Utils/SecurityEvent/RequestOutcome.js +371 -0
- package/Utils/SecurityEvent/RequestOutcome.mjs +18 -0
- package/Utils/SecurityEvent/TelemetryScan/AuditLogSignals.d.mts +76 -0
- package/Utils/SecurityEvent/TelemetryScan/AuditLogSignals.d.ts +76 -0
- package/Utils/SecurityEvent/TelemetryScan/AuditLogSignals.js +348 -0
- package/Utils/SecurityEvent/TelemetryScan/AuditLogSignals.mjs +15 -0
- package/Utils/SecurityEvent/TelemetryScan/FlowSignals.d.mts +61 -0
- package/Utils/SecurityEvent/TelemetryScan/FlowSignals.d.ts +61 -0
- package/Utils/SecurityEvent/TelemetryScan/FlowSignals.js +260 -0
- package/Utils/SecurityEvent/TelemetryScan/FlowSignals.mjs +17 -0
- package/Utils/SecurityEvent/TelemetryScan/RumSignals.d.mts +30 -0
- package/Utils/SecurityEvent/TelemetryScan/RumSignals.d.ts +30 -0
- package/Utils/SecurityEvent/TelemetryScan/RumSignals.js +134 -0
- package/Utils/SecurityEvent/TelemetryScan/RumSignals.mjs +8 -0
- package/Utils/SecurityEvent/TelemetryScan/TelemetrySecurityEvent.d.mts +40 -0
- package/Utils/SecurityEvent/TelemetryScan/TelemetrySecurityEvent.d.ts +40 -0
- package/Utils/SecurityEvent/TelemetryScan/TelemetrySecurityEvent.js +190 -0
- package/Utils/SecurityEvent/TelemetryScan/TelemetrySecurityEvent.mjs +6 -0
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.d.mts +57 -0
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.d.ts +57 -0
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.js +491 -0
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.mjs +27 -0
- package/Utils/Telemetry/EntrySpan.d.mts +8 -0
- package/Utils/Telemetry/EntrySpan.d.ts +8 -0
- package/Utils/Telemetry/EntrySpan.js +53 -0
- package/Utils/Telemetry/EntrySpan.mjs +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ALL_PROVIDER_LOGOS = exports.PROVIDER_LOGO_NAMES = void 0;
|
|
4
|
+
exports.isProviderLogo = isProviderLogo;
|
|
5
|
+
exports.getProviderLogoName = getProviderLogoName;
|
|
6
|
+
/*
|
|
7
|
+
* THE OTHER COMPANIES' PRODUCTS ONEUPTIME SHOWS BY THEIR OWN LOGO.
|
|
8
|
+
*
|
|
9
|
+
* Wherever the product names a service someone connects, sends to, imports
|
|
10
|
+
* from or instruments with - Amazon S3 in the audit log export, Slack on a
|
|
11
|
+
* workspace page, PagerDuty in Import from another tool, Python in the
|
|
12
|
+
* telemetry guide - it shows that service's official logo next to its name,
|
|
13
|
+
* so it is recognised at a glance. A generic thing (a webhook, syslog, any
|
|
14
|
+
* S3-compatible storage) keeps a generic icon.
|
|
15
|
+
*
|
|
16
|
+
* Each value names one logo: the file of the same name in
|
|
17
|
+
* Common/UI/Images/ProviderLogos (with a "-dark" file where the brand has a
|
|
18
|
+
* mark of its own for dark backgrounds), drawn by
|
|
19
|
+
* Common/UI/Components/ProviderLogo. Where each mark comes from, and the
|
|
20
|
+
* brand's rules for using it, are in that folder's README.
|
|
21
|
+
*
|
|
22
|
+
* React-free and free of the images themselves, so catalogs the server
|
|
23
|
+
* reads too (audit log destinations, security connectors, cloud and AI
|
|
24
|
+
* connections) can name a logo.
|
|
25
|
+
*/
|
|
26
|
+
var ProviderLogo;
|
|
27
|
+
(function (ProviderLogo) {
|
|
28
|
+
// Storage
|
|
29
|
+
ProviderLogo["AmazonS3"] = "amazon-s3";
|
|
30
|
+
ProviderLogo["GoogleCloudStorage"] = "google-cloud-storage";
|
|
31
|
+
ProviderLogo["AzureBlobStorage"] = "azure-blob-storage";
|
|
32
|
+
ProviderLogo["Cloudflare"] = "cloudflare";
|
|
33
|
+
ProviderLogo["Backblaze"] = "backblaze";
|
|
34
|
+
ProviderLogo["Wasabi"] = "wasabi";
|
|
35
|
+
ProviderLogo["MinIO"] = "minio";
|
|
36
|
+
// Security
|
|
37
|
+
ProviderLogo["MicrosoftSentinel"] = "microsoft-sentinel";
|
|
38
|
+
ProviderLogo["MicrosoftDefender"] = "microsoft-defender";
|
|
39
|
+
ProviderLogo["CrowdStrike"] = "crowdstrike";
|
|
40
|
+
ProviderLogo["Splunk"] = "splunk";
|
|
41
|
+
ProviderLogo["Elastic"] = "elastic";
|
|
42
|
+
ProviderLogo["AwsSecurityHub"] = "aws-security-hub";
|
|
43
|
+
ProviderLogo["Okta"] = "okta";
|
|
44
|
+
ProviderLogo["GoogleSecurityOperations"] = "google-security-operations";
|
|
45
|
+
// Clouds
|
|
46
|
+
ProviderLogo["Aws"] = "aws";
|
|
47
|
+
ProviderLogo["Azure"] = "azure";
|
|
48
|
+
ProviderLogo["GoogleCloud"] = "google-cloud";
|
|
49
|
+
// AI
|
|
50
|
+
ProviderLogo["OpenAI"] = "openai";
|
|
51
|
+
ProviderLogo["Anthropic"] = "anthropic";
|
|
52
|
+
ProviderLogo["AzureOpenAI"] = "azure-openai";
|
|
53
|
+
ProviderLogo["AmazonBedrock"] = "amazon-bedrock";
|
|
54
|
+
ProviderLogo["GoogleVertexAI"] = "google-vertex-ai";
|
|
55
|
+
ProviderLogo["Claude"] = "claude";
|
|
56
|
+
ProviderLogo["MicrosoftCopilot"] = "microsoft-copilot";
|
|
57
|
+
ProviderLogo["Groq"] = "groq";
|
|
58
|
+
ProviderLogo["MistralAI"] = "mistral-ai";
|
|
59
|
+
ProviderLogo["Ollama"] = "ollama";
|
|
60
|
+
// Calendars and networks
|
|
61
|
+
ProviderLogo["GoogleCalendar"] = "google-calendar";
|
|
62
|
+
// Cisco Meraki: Meraki is Cisco's, and is shown by Cisco's logo.
|
|
63
|
+
ProviderLogo["Cisco"] = "cisco";
|
|
64
|
+
// Video calls and chat
|
|
65
|
+
ProviderLogo["Zoom"] = "zoom";
|
|
66
|
+
ProviderLogo["GoogleMeet"] = "google-meet";
|
|
67
|
+
ProviderLogo["MicrosoftTeams"] = "microsoft-teams";
|
|
68
|
+
ProviderLogo["Slack"] = "slack";
|
|
69
|
+
ProviderLogo["Discord"] = "discord";
|
|
70
|
+
ProviderLogo["Telegram"] = "telegram";
|
|
71
|
+
ProviderLogo["Mattermost"] = "mattermost";
|
|
72
|
+
// On-call, incident, uptime and status page tools
|
|
73
|
+
ProviderLogo["Opsgenie"] = "opsgenie";
|
|
74
|
+
ProviderLogo["PagerDuty"] = "pagerduty";
|
|
75
|
+
ProviderLogo["IncidentIo"] = "incident-io";
|
|
76
|
+
ProviderLogo["Grafana"] = "grafana";
|
|
77
|
+
ProviderLogo["AtlassianStatuspage"] = "atlassian-statuspage";
|
|
78
|
+
ProviderLogo["BetterStack"] = "better-stack";
|
|
79
|
+
ProviderLogo["Pingdom"] = "pingdom";
|
|
80
|
+
ProviderLogo["UptimeKuma"] = "uptime-kuma";
|
|
81
|
+
ProviderLogo["UptimeRobot"] = "uptimerobot";
|
|
82
|
+
ProviderLogo["StatusCake"] = "statuscake";
|
|
83
|
+
// Telemetry: the standard, its collectors, and the languages it instruments
|
|
84
|
+
ProviderLogo["OpenTelemetry"] = "opentelemetry";
|
|
85
|
+
ProviderLogo["FluentBit"] = "fluent-bit";
|
|
86
|
+
ProviderLogo["Fluentd"] = "fluentd";
|
|
87
|
+
ProviderLogo["Kubernetes"] = "kubernetes";
|
|
88
|
+
ProviderLogo["NodeJs"] = "nodejs";
|
|
89
|
+
ProviderLogo["Python"] = "python";
|
|
90
|
+
ProviderLogo["Go"] = "go";
|
|
91
|
+
ProviderLogo["Java"] = "java";
|
|
92
|
+
ProviderLogo["DotNet"] = "dotnet";
|
|
93
|
+
ProviderLogo["Rust"] = "rust";
|
|
94
|
+
ProviderLogo["Php"] = "php";
|
|
95
|
+
ProviderLogo["Ruby"] = "ruby";
|
|
96
|
+
ProviderLogo["Elixir"] = "elixir";
|
|
97
|
+
ProviderLogo["CPlusPlus"] = "cplusplus";
|
|
98
|
+
ProviderLogo["Swift"] = "swift";
|
|
99
|
+
ProviderLogo["React"] = "react";
|
|
100
|
+
ProviderLogo["Angular"] = "angular";
|
|
101
|
+
// The frameworks and runtimes the OpenTelemetry guides are written for
|
|
102
|
+
ProviderLogo["Express"] = "express";
|
|
103
|
+
ProviderLogo["NestJs"] = "nestjs";
|
|
104
|
+
ProviderLogo["NextJs"] = "nextjs";
|
|
105
|
+
ProviderLogo["Fastify"] = "fastify";
|
|
106
|
+
ProviderLogo["Koa"] = "koa";
|
|
107
|
+
ProviderLogo["Hapi"] = "hapi";
|
|
108
|
+
ProviderLogo["Bun"] = "bun";
|
|
109
|
+
ProviderLogo["Deno"] = "deno";
|
|
110
|
+
ProviderLogo["Django"] = "django";
|
|
111
|
+
ProviderLogo["Flask"] = "flask";
|
|
112
|
+
ProviderLogo["FastAPI"] = "fastapi";
|
|
113
|
+
ProviderLogo["Celery"] = "celery";
|
|
114
|
+
ProviderLogo["SpringBoot"] = "spring-boot";
|
|
115
|
+
ProviderLogo["Quarkus"] = "quarkus";
|
|
116
|
+
ProviderLogo["Kotlin"] = "kotlin";
|
|
117
|
+
ProviderLogo["Ktor"] = "ktor";
|
|
118
|
+
})(ProviderLogo || (ProviderLogo = {}));
|
|
119
|
+
exports.default = ProviderLogo;
|
|
120
|
+
/*
|
|
121
|
+
* The name each logo is read out as (its image's accessible name): the
|
|
122
|
+
* product's own name, as its maker writes it. A product name is a brand,
|
|
123
|
+
* never translated.
|
|
124
|
+
*/
|
|
125
|
+
exports.PROVIDER_LOGO_NAMES = {
|
|
126
|
+
[ProviderLogo.AmazonS3]: "Amazon S3",
|
|
127
|
+
[ProviderLogo.GoogleCloudStorage]: "Google Cloud Storage",
|
|
128
|
+
[ProviderLogo.AzureBlobStorage]: "Azure Blob Storage",
|
|
129
|
+
[ProviderLogo.Cloudflare]: "Cloudflare",
|
|
130
|
+
[ProviderLogo.Backblaze]: "Backblaze",
|
|
131
|
+
[ProviderLogo.Wasabi]: "Wasabi",
|
|
132
|
+
[ProviderLogo.MinIO]: "MinIO",
|
|
133
|
+
[ProviderLogo.MicrosoftSentinel]: "Microsoft Sentinel",
|
|
134
|
+
[ProviderLogo.MicrosoftDefender]: "Microsoft Defender",
|
|
135
|
+
[ProviderLogo.CrowdStrike]: "CrowdStrike",
|
|
136
|
+
[ProviderLogo.Splunk]: "Splunk",
|
|
137
|
+
[ProviderLogo.Elastic]: "Elastic",
|
|
138
|
+
[ProviderLogo.AwsSecurityHub]: "AWS Security Hub",
|
|
139
|
+
[ProviderLogo.Okta]: "Okta",
|
|
140
|
+
[ProviderLogo.GoogleSecurityOperations]: "Google Security Operations",
|
|
141
|
+
[ProviderLogo.Aws]: "Amazon Web Services",
|
|
142
|
+
[ProviderLogo.Azure]: "Microsoft Azure",
|
|
143
|
+
[ProviderLogo.GoogleCloud]: "Google Cloud",
|
|
144
|
+
[ProviderLogo.OpenAI]: "OpenAI",
|
|
145
|
+
[ProviderLogo.Anthropic]: "Anthropic",
|
|
146
|
+
[ProviderLogo.AzureOpenAI]: "Azure OpenAI",
|
|
147
|
+
[ProviderLogo.AmazonBedrock]: "Amazon Bedrock",
|
|
148
|
+
[ProviderLogo.GoogleVertexAI]: "Vertex AI",
|
|
149
|
+
[ProviderLogo.Claude]: "Claude",
|
|
150
|
+
[ProviderLogo.MicrosoftCopilot]: "Microsoft Copilot",
|
|
151
|
+
[ProviderLogo.Groq]: "Groq",
|
|
152
|
+
[ProviderLogo.MistralAI]: "Mistral AI",
|
|
153
|
+
[ProviderLogo.Ollama]: "Ollama",
|
|
154
|
+
[ProviderLogo.GoogleCalendar]: "Google Calendar",
|
|
155
|
+
[ProviderLogo.Cisco]: "Cisco",
|
|
156
|
+
[ProviderLogo.Zoom]: "Zoom",
|
|
157
|
+
[ProviderLogo.GoogleMeet]: "Google Meet",
|
|
158
|
+
[ProviderLogo.MicrosoftTeams]: "Microsoft Teams",
|
|
159
|
+
[ProviderLogo.Slack]: "Slack",
|
|
160
|
+
[ProviderLogo.Discord]: "Discord",
|
|
161
|
+
[ProviderLogo.Telegram]: "Telegram",
|
|
162
|
+
[ProviderLogo.Mattermost]: "Mattermost",
|
|
163
|
+
[ProviderLogo.Opsgenie]: "Opsgenie",
|
|
164
|
+
[ProviderLogo.PagerDuty]: "PagerDuty",
|
|
165
|
+
[ProviderLogo.IncidentIo]: "incident.io",
|
|
166
|
+
[ProviderLogo.Grafana]: "Grafana",
|
|
167
|
+
[ProviderLogo.AtlassianStatuspage]: "Statuspage",
|
|
168
|
+
[ProviderLogo.BetterStack]: "Better Stack",
|
|
169
|
+
[ProviderLogo.Pingdom]: "Pingdom",
|
|
170
|
+
[ProviderLogo.UptimeKuma]: "Uptime Kuma",
|
|
171
|
+
[ProviderLogo.UptimeRobot]: "UptimeRobot",
|
|
172
|
+
[ProviderLogo.StatusCake]: "StatusCake",
|
|
173
|
+
[ProviderLogo.OpenTelemetry]: "OpenTelemetry",
|
|
174
|
+
[ProviderLogo.FluentBit]: "Fluent Bit",
|
|
175
|
+
[ProviderLogo.Fluentd]: "Fluentd",
|
|
176
|
+
[ProviderLogo.Kubernetes]: "Kubernetes",
|
|
177
|
+
[ProviderLogo.NodeJs]: "Node.js",
|
|
178
|
+
[ProviderLogo.Python]: "Python",
|
|
179
|
+
[ProviderLogo.Go]: "Go",
|
|
180
|
+
[ProviderLogo.Java]: "Java",
|
|
181
|
+
[ProviderLogo.DotNet]: ".NET",
|
|
182
|
+
[ProviderLogo.Rust]: "Rust",
|
|
183
|
+
[ProviderLogo.Php]: "PHP",
|
|
184
|
+
[ProviderLogo.Ruby]: "Ruby",
|
|
185
|
+
[ProviderLogo.Elixir]: "Elixir",
|
|
186
|
+
[ProviderLogo.CPlusPlus]: "C++",
|
|
187
|
+
[ProviderLogo.Swift]: "Swift",
|
|
188
|
+
[ProviderLogo.React]: "React",
|
|
189
|
+
[ProviderLogo.Angular]: "Angular",
|
|
190
|
+
[ProviderLogo.Express]: "Express",
|
|
191
|
+
[ProviderLogo.NestJs]: "NestJS",
|
|
192
|
+
[ProviderLogo.NextJs]: "Next.js",
|
|
193
|
+
[ProviderLogo.Fastify]: "Fastify",
|
|
194
|
+
[ProviderLogo.Koa]: "Koa",
|
|
195
|
+
[ProviderLogo.Hapi]: "hapi",
|
|
196
|
+
[ProviderLogo.Bun]: "Bun",
|
|
197
|
+
[ProviderLogo.Deno]: "Deno",
|
|
198
|
+
[ProviderLogo.Django]: "Django",
|
|
199
|
+
[ProviderLogo.Flask]: "Flask",
|
|
200
|
+
[ProviderLogo.FastAPI]: "FastAPI",
|
|
201
|
+
[ProviderLogo.Celery]: "Celery",
|
|
202
|
+
[ProviderLogo.SpringBoot]: "Spring Boot",
|
|
203
|
+
[ProviderLogo.Quarkus]: "Quarkus",
|
|
204
|
+
[ProviderLogo.Kotlin]: "Kotlin",
|
|
205
|
+
[ProviderLogo.Ktor]: "Ktor",
|
|
206
|
+
};
|
|
207
|
+
exports.ALL_PROVIDER_LOGOS = Object.values(ProviderLogo);
|
|
208
|
+
function isProviderLogo(value) {
|
|
209
|
+
return (typeof value === "string" &&
|
|
210
|
+
exports.ALL_PROVIDER_LOGOS.includes(value));
|
|
211
|
+
}
|
|
212
|
+
// The name a logo is read out as; empty for anything that is not one.
|
|
213
|
+
function getProviderLogoName(logo) {
|
|
214
|
+
return isProviderLogo(logo) ? exports.PROVIDER_LOGO_NAMES[logo] : "";
|
|
215
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import commonJsModule from "./ProviderLogo.js";
|
|
2
|
+
export default commonJsModule.default;
|
|
3
|
+
export const ALL_PROVIDER_LOGOS = commonJsModule.ALL_PROVIDER_LOGOS;
|
|
4
|
+
export const PROVIDER_LOGO_NAMES = commonJsModule.PROVIDER_LOGO_NAMES;
|
|
5
|
+
export const getProviderLogoName = commonJsModule.getProviderLogoName;
|
|
6
|
+
export const isProviderLogo = commonJsModule.isProviderLogo;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* PUSH NOTIFICATIONS TURNED OFF FOR THE WHOLE SERVER.
|
|
4
|
+
*
|
|
5
|
+
* A master admin can turn off push notifications for the server (Admin
|
|
6
|
+
* Dashboard > Settings > Push Notifications, GlobalConfig.
|
|
7
|
+
* disablePushNotifications): for an installation whose rules let nothing
|
|
8
|
+
* leave through Expo, the push relay or a browser's push service, which
|
|
9
|
+
* reaches people through a custom channel - often its own app - instead.
|
|
10
|
+
*
|
|
11
|
+
* Then nothing is pushed, no device can be registered, and everything that
|
|
12
|
+
* would have been says so in these words: the push sender on a person's
|
|
13
|
+
* on-call log, the device routes when they refuse, readiness, and the
|
|
14
|
+
* dashboards. A server admin turns it back on, so that is who each one names.
|
|
15
|
+
*
|
|
16
|
+
* Pure, with no Node or browser APIs.
|
|
17
|
+
*/
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.PUSH_TURNED_OFF_READINESS_CLAUSE = exports.PUSH_NOTIFICATION_NOT_SENT_TURNED_OFF_REASON = exports.PUSH_NOTIFICATIONS_TURNED_OFF_MESSAGE = void 0;
|
|
20
|
+
// What a person reads about it, wherever push would have been.
|
|
21
|
+
exports.PUSH_NOTIFICATIONS_TURNED_OFF_MESSAGE = "Push notifications are turned off on this server. Your administrator can turn them on in the Admin Dashboard, under Settings > Push Notifications.";
|
|
22
|
+
/*
|
|
23
|
+
* What a push that was not sent says on the on-call log, as the senders word
|
|
24
|
+
* a message they deliberately did not send (BlockedProjectNotifications).
|
|
25
|
+
*/
|
|
26
|
+
exports.PUSH_NOTIFICATION_NOT_SENT_TURNED_OFF_REASON = `Push notification not sent: ${exports.PUSH_NOTIFICATIONS_TURNED_OFF_MESSAGE}`;
|
|
27
|
+
/*
|
|
28
|
+
* What readiness says of a responder whose every verified method is a push
|
|
29
|
+
* device, while push is off: who can turn it back on, as the project
|
|
30
|
+
* switches' sentences say who can turn on theirs.
|
|
31
|
+
*/
|
|
32
|
+
exports.PUSH_TURNED_OFF_READINESS_CLAUSE = "push notifications are turned off on this server - a server admin can turn them on in the Admin Dashboard, under Settings > Push Notifications";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import commonJsModule from "./PushNotificationsTurnedOff.js";
|
|
2
|
+
export const PUSH_NOTIFICATIONS_TURNED_OFF_MESSAGE = commonJsModule.PUSH_NOTIFICATIONS_TURNED_OFF_MESSAGE;
|
|
3
|
+
export const PUSH_NOTIFICATION_NOT_SENT_TURNED_OFF_REASON = commonJsModule.PUSH_NOTIFICATION_NOT_SENT_TURNED_OFF_REASON;
|
|
4
|
+
export const PUSH_TURNED_OFF_READINESS_CLAUSE = commonJsModule.PUSH_TURNED_OFF_READINESS_CLAUSE;
|
|
@@ -47,35 +47,45 @@ class RollingTimeUtil {
|
|
|
47
47
|
if (rollingTime === RollingTime_1.default.Past12Hours) {
|
|
48
48
|
startDate = Date_1.default.addRemoveHours(endDate, -12);
|
|
49
49
|
}
|
|
50
|
+
/*
|
|
51
|
+
* Days are fixed lengths, 24 hours a day, not calendar days: in a zone
|
|
52
|
+
* whose clocks change inside the window, N calendar days back is an hour
|
|
53
|
+
* more or less than N days. Past 1, 3 and 7 Days and Past 180 Days sit
|
|
54
|
+
* exactly on the edge of a bucket width (AggregationIntervalUtil), so in
|
|
55
|
+
* London after the clocks went back on 2026-10-25 Past 3 Days was
|
|
56
|
+
* bucketed by the hour instead of every 30 minutes - in the browser, and
|
|
57
|
+
* on any server not in UTC - and getWindowInMs, which steps back from
|
|
58
|
+
* 1970-01-01, read Past 90 and 180 Days an hour long in New York.
|
|
59
|
+
*/
|
|
50
60
|
if (rollingTime === RollingTime_1.default.Past1Hours) {
|
|
51
|
-
startDate = Date_1.default.
|
|
61
|
+
startDate = Date_1.default.addRemoveHours(endDate, -24);
|
|
52
62
|
}
|
|
53
63
|
if (rollingTime === RollingTime_1.default.Past2Days) {
|
|
54
|
-
startDate = Date_1.default.
|
|
64
|
+
startDate = Date_1.default.addRemoveHours(endDate, -2 * 24);
|
|
55
65
|
}
|
|
56
66
|
if (rollingTime === RollingTime_1.default.Past3Days) {
|
|
57
|
-
startDate = Date_1.default.
|
|
67
|
+
startDate = Date_1.default.addRemoveHours(endDate, -3 * 24);
|
|
58
68
|
}
|
|
59
69
|
if (rollingTime === RollingTime_1.default.Past7Days) {
|
|
60
|
-
startDate = Date_1.default.
|
|
70
|
+
startDate = Date_1.default.addRemoveHours(endDate, -7 * 24);
|
|
61
71
|
}
|
|
62
72
|
if (rollingTime === RollingTime_1.default.Past14Days) {
|
|
63
|
-
startDate = Date_1.default.
|
|
73
|
+
startDate = Date_1.default.addRemoveHours(endDate, -14 * 24);
|
|
64
74
|
}
|
|
65
75
|
if (rollingTime === RollingTime_1.default.Past30Days) {
|
|
66
|
-
startDate = Date_1.default.
|
|
76
|
+
startDate = Date_1.default.addRemoveHours(endDate, -30 * 24);
|
|
67
77
|
}
|
|
68
78
|
if (rollingTime === RollingTime_1.default.Past60Days) {
|
|
69
|
-
startDate = Date_1.default.
|
|
79
|
+
startDate = Date_1.default.addRemoveHours(endDate, -60 * 24);
|
|
70
80
|
}
|
|
71
81
|
if (rollingTime === RollingTime_1.default.Past90Days) {
|
|
72
|
-
startDate = Date_1.default.
|
|
82
|
+
startDate = Date_1.default.addRemoveHours(endDate, -90 * 24);
|
|
73
83
|
}
|
|
74
84
|
if (rollingTime === RollingTime_1.default.Past180Days) {
|
|
75
|
-
startDate = Date_1.default.
|
|
85
|
+
startDate = Date_1.default.addRemoveHours(endDate, -180 * 24);
|
|
76
86
|
}
|
|
77
87
|
if (rollingTime === RollingTime_1.default.Past365Days) {
|
|
78
|
-
startDate = Date_1.default.
|
|
88
|
+
startDate = Date_1.default.addRemoveHours(endDate, -365 * 24);
|
|
79
89
|
}
|
|
80
90
|
return new InBetween_1.default(startDate, endDate);
|
|
81
91
|
}
|
|
@@ -4,7 +4,8 @@ declare enum RunbookTriggerType {
|
|
|
4
4
|
AutoRemediation = "AutoRemediation",
|
|
5
5
|
AI = "AI",
|
|
6
6
|
Schedule = "Schedule",
|
|
7
|
-
Webhook = "Webhook"
|
|
7
|
+
Webhook = "Webhook",
|
|
8
|
+
SecurityPlaybook = "SecurityPlaybook"
|
|
8
9
|
}
|
|
9
10
|
export declare const RUNBOOK_TRIGGER_TYPES: ReadonlyArray<RunbookTriggerType>;
|
|
10
11
|
export declare const UNATTENDED_RUNBOOK_TRIGGER_TYPES: ReadonlyArray<RunbookTriggerType>;
|
|
@@ -4,7 +4,8 @@ declare enum RunbookTriggerType {
|
|
|
4
4
|
AutoRemediation = "AutoRemediation",
|
|
5
5
|
AI = "AI",
|
|
6
6
|
Schedule = "Schedule",
|
|
7
|
-
Webhook = "Webhook"
|
|
7
|
+
Webhook = "Webhook",
|
|
8
|
+
SecurityPlaybook = "SecurityPlaybook"
|
|
8
9
|
}
|
|
9
10
|
export declare const RUNBOOK_TRIGGER_TYPES: ReadonlyArray<RunbookTriggerType>;
|
|
10
11
|
export declare const UNATTENDED_RUNBOOK_TRIGGER_TYPES: ReadonlyArray<RunbookTriggerType>;
|
|
@@ -19,7 +19,9 @@ exports.isRunbookTriggerType = isRunbookTriggerType;
|
|
|
19
19
|
* approved its plan;
|
|
20
20
|
* - AI: OneUptime AI, acting for the person it was talking to;
|
|
21
21
|
* - Schedule: the runbook's own schedule (its Triggers page);
|
|
22
|
-
* - Webhook: a POST to the runbook's webhook URL (its Triggers page)
|
|
22
|
+
* - Webhook: a POST to the runbook's webhook URL (its Triggers page);
|
|
23
|
+
* - SecurityPlaybook: a security playbook's Run a runbook step, for a
|
|
24
|
+
* security case, once a person approved the step if it waited for one.
|
|
23
25
|
*
|
|
24
26
|
* Runs started before this column existed have none; they are read the way
|
|
25
27
|
* they always were (the record they are linked to, the person who started
|
|
@@ -37,6 +39,7 @@ var RunbookTriggerType;
|
|
|
37
39
|
RunbookTriggerType["AI"] = "AI";
|
|
38
40
|
RunbookTriggerType["Schedule"] = "Schedule";
|
|
39
41
|
RunbookTriggerType["Webhook"] = "Webhook";
|
|
42
|
+
RunbookTriggerType["SecurityPlaybook"] = "SecurityPlaybook";
|
|
40
43
|
})(RunbookTriggerType || (RunbookTriggerType = {}));
|
|
41
44
|
exports.RUNBOOK_TRIGGER_TYPES = [
|
|
42
45
|
RunbookTriggerType.Manual,
|
|
@@ -45,6 +48,7 @@ exports.RUNBOOK_TRIGGER_TYPES = [
|
|
|
45
48
|
RunbookTriggerType.AI,
|
|
46
49
|
RunbookTriggerType.Schedule,
|
|
47
50
|
RunbookTriggerType.Webhook,
|
|
51
|
+
RunbookTriggerType.SecurityPlaybook,
|
|
48
52
|
];
|
|
49
53
|
// The triggers that start a run with nobody watching: no person clicked.
|
|
50
54
|
exports.UNATTENDED_RUNBOOK_TRIGGER_TYPES = [RunbookTriggerType.Schedule, RunbookTriggerType.Webhook];
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { SecurityConnectionCertainty, SecurityConnectionChangeJson, SecurityConnectionKind, SecurityConnectionRecordListJson } from "./SecurityConnection.mjs";
|
|
2
|
+
export declare const SECURITY_CASE_CONTEXT_API_PATH: string;
|
|
3
|
+
export declare const SECURITY_CASE_STORY_API_PATH: string;
|
|
4
|
+
export declare const SECURITY_CASE_IMPACT_API_PATH: string;
|
|
5
|
+
export declare enum SecurityCaseStoryItemKind {
|
|
6
|
+
CaseOpened = "CaseOpened",
|
|
7
|
+
Detection = "Detection",
|
|
8
|
+
Events = "Events",
|
|
9
|
+
Exception = "Exception",
|
|
10
|
+
Change = "Change",
|
|
11
|
+
Incident = "Incident",
|
|
12
|
+
Alert = "Alert",
|
|
13
|
+
PlaybookRun = "PlaybookRun",
|
|
14
|
+
Note = "Note",
|
|
15
|
+
Milestone = "Milestone"
|
|
16
|
+
}
|
|
17
|
+
export declare enum SecurityCaseStoryMilestone {
|
|
18
|
+
Acknowledged = "Acknowledged",
|
|
19
|
+
Contained = "Contained",
|
|
20
|
+
Closed = "Closed"
|
|
21
|
+
}
|
|
22
|
+
export declare enum SecurityCaseStorySource {
|
|
23
|
+
Detections = "Detections",
|
|
24
|
+
Events = "Events",
|
|
25
|
+
Exceptions = "Exceptions",
|
|
26
|
+
Changes = "Changes",
|
|
27
|
+
Incidents = "Incidents",
|
|
28
|
+
Alerts = "Alerts",
|
|
29
|
+
PlaybookRuns = "PlaybookRuns",
|
|
30
|
+
Notes = "Notes"
|
|
31
|
+
}
|
|
32
|
+
export declare enum SecurityCaseStoryFilter {
|
|
33
|
+
All = "All",
|
|
34
|
+
Attack = "Attack",
|
|
35
|
+
Changes = "Changes",
|
|
36
|
+
IncidentsAndAlerts = "IncidentsAndAlerts",
|
|
37
|
+
Response = "Response"
|
|
38
|
+
}
|
|
39
|
+
export declare const SECURITY_CASE_STORY_FILTER_OF_KIND: Readonly<Record<SecurityCaseStoryItemKind, SecurityCaseStoryFilter>>;
|
|
40
|
+
export interface SecurityCaseStoryLinksJson {
|
|
41
|
+
detectionId?: string | undefined;
|
|
42
|
+
eventUid?: string | undefined;
|
|
43
|
+
traceId?: string | undefined;
|
|
44
|
+
spanId?: string | undefined;
|
|
45
|
+
sessionId?: string | undefined;
|
|
46
|
+
exceptionId?: string | undefined;
|
|
47
|
+
exceptionFingerprint?: string | undefined;
|
|
48
|
+
incidentId?: string | undefined;
|
|
49
|
+
alertId?: string | undefined;
|
|
50
|
+
playbookRunId?: string | undefined;
|
|
51
|
+
resource?: {
|
|
52
|
+
kind: SecurityConnectionKind;
|
|
53
|
+
id: string;
|
|
54
|
+
name: string;
|
|
55
|
+
} | undefined;
|
|
56
|
+
observable?: string | undefined;
|
|
57
|
+
}
|
|
58
|
+
export interface SecurityCaseStoryItemJson {
|
|
59
|
+
key: string;
|
|
60
|
+
kind: SecurityCaseStoryItemKind;
|
|
61
|
+
time: string;
|
|
62
|
+
endTime?: string | undefined;
|
|
63
|
+
title: string;
|
|
64
|
+
detail?: string | undefined;
|
|
65
|
+
severityName?: string | undefined;
|
|
66
|
+
requestOutcome?: string | undefined;
|
|
67
|
+
outcomes?: Record<string, number> | undefined;
|
|
68
|
+
count?: number | undefined;
|
|
69
|
+
className?: string | undefined;
|
|
70
|
+
stateName?: string | undefined;
|
|
71
|
+
stateColor?: string | undefined;
|
|
72
|
+
number?: string | undefined;
|
|
73
|
+
actorName?: string | undefined;
|
|
74
|
+
milestone?: SecurityCaseStoryMilestone | undefined;
|
|
75
|
+
links: SecurityCaseStoryLinksJson;
|
|
76
|
+
}
|
|
77
|
+
export interface SecurityCaseStoryJson {
|
|
78
|
+
windowStart: string;
|
|
79
|
+
windowEnd: string;
|
|
80
|
+
items: Array<SecurityCaseStoryItemJson>;
|
|
81
|
+
truncatedSources: Array<SecurityCaseStorySource>;
|
|
82
|
+
unreadableSources: Array<SecurityCaseStorySource>;
|
|
83
|
+
failedSources: Array<SecurityCaseStorySource>;
|
|
84
|
+
}
|
|
85
|
+
export declare const SECURITY_CASE_STORY_MAX_ITEMS: number;
|
|
86
|
+
export declare const SECURITY_CASE_STORY_MAX_EVENTS: number;
|
|
87
|
+
export declare const SECURITY_CASE_STORY_MAX_DETECTIONS: number;
|
|
88
|
+
export declare const SECURITY_CASE_STORY_MAX_EXCEPTIONS: number;
|
|
89
|
+
export declare const SECURITY_CASE_STORY_MAX_CHANGES: number;
|
|
90
|
+
export declare const SECURITY_CASE_STORY_MAX_INCIDENTS: number;
|
|
91
|
+
export declare const SECURITY_CASE_STORY_MAX_ALERTS: number;
|
|
92
|
+
export declare const SECURITY_CASE_STORY_MAX_PLAYBOOK_RUNS: number;
|
|
93
|
+
export declare const SECURITY_CASE_STORY_MAX_NOTES: number;
|
|
94
|
+
export declare const SECURITY_CASE_STORY_RUN_GAP_IN_MINUTES: number;
|
|
95
|
+
export declare const SECURITY_CASE_STORY_MAX_TEXT_LENGTH: number;
|
|
96
|
+
export declare enum SecurityCaseImpactSource {
|
|
97
|
+
Records = "Records",
|
|
98
|
+
Dependencies = "Dependencies",
|
|
99
|
+
Monitors = "Monitors",
|
|
100
|
+
StatusPages = "StatusPages",
|
|
101
|
+
Owners = "Owners",
|
|
102
|
+
Changes = "Changes",
|
|
103
|
+
NetworkFlows = "NetworkFlows",
|
|
104
|
+
Events = "Events"
|
|
105
|
+
}
|
|
106
|
+
export interface SecurityCaseImpactPeerJson {
|
|
107
|
+
key: string;
|
|
108
|
+
name: string;
|
|
109
|
+
type: string;
|
|
110
|
+
callCount: number | null;
|
|
111
|
+
errorCount: number | null;
|
|
112
|
+
}
|
|
113
|
+
export interface SecurityCaseImpactOwnersJson {
|
|
114
|
+
teams: Array<{
|
|
115
|
+
id: string;
|
|
116
|
+
name: string;
|
|
117
|
+
}>;
|
|
118
|
+
users: Array<{
|
|
119
|
+
id: string;
|
|
120
|
+
name: string;
|
|
121
|
+
}>;
|
|
122
|
+
}
|
|
123
|
+
export interface SecurityCaseImpactRecordJson {
|
|
124
|
+
kind: SecurityConnectionKind;
|
|
125
|
+
id: string;
|
|
126
|
+
name: string;
|
|
127
|
+
certainty: SecurityConnectionCertainty;
|
|
128
|
+
inventoryItemId?: string | undefined;
|
|
129
|
+
calls: Array<SecurityCaseImpactPeerJson> | null;
|
|
130
|
+
calledBy: Array<SecurityCaseImpactPeerJson> | null;
|
|
131
|
+
runsOn: Array<SecurityCaseImpactPeerJson> | null;
|
|
132
|
+
monitors: SecurityConnectionRecordListJson | null;
|
|
133
|
+
owners: SecurityCaseImpactOwnersJson | null;
|
|
134
|
+
lastChange: (SecurityConnectionChangeJson & {
|
|
135
|
+
version?: string | undefined;
|
|
136
|
+
isBeforeFirstDetection: boolean;
|
|
137
|
+
}) | null;
|
|
138
|
+
}
|
|
139
|
+
export interface SecurityCaseImpactStatusPageJson {
|
|
140
|
+
id: string;
|
|
141
|
+
name: string;
|
|
142
|
+
monitorIds: Array<string>;
|
|
143
|
+
}
|
|
144
|
+
export interface SecurityCaseFlowPeerJson {
|
|
145
|
+
caseAddress: string;
|
|
146
|
+
peerAddress: string;
|
|
147
|
+
direction: "out" | "in";
|
|
148
|
+
bytes: number;
|
|
149
|
+
packets: number;
|
|
150
|
+
lastSeen: string | null;
|
|
151
|
+
}
|
|
152
|
+
export declare enum SecurityCaseInternetExposure {
|
|
153
|
+
Yes = "Yes",
|
|
154
|
+
Unknown = "Unknown"
|
|
155
|
+
}
|
|
156
|
+
export declare enum SecurityCaseExposureEvidenceKind {
|
|
157
|
+
PublicRequestReachedApp = "PublicRequestReachedApp",
|
|
158
|
+
PublicAddress = "PublicAddress"
|
|
159
|
+
}
|
|
160
|
+
export interface SecurityCaseExposureEvidenceJson {
|
|
161
|
+
kind: SecurityCaseExposureEvidenceKind;
|
|
162
|
+
address: string;
|
|
163
|
+
recordName?: string | undefined;
|
|
164
|
+
time?: string | undefined;
|
|
165
|
+
requestOutcome?: string | undefined;
|
|
166
|
+
}
|
|
167
|
+
export interface SecurityCaseImpactJson {
|
|
168
|
+
windowStart: string;
|
|
169
|
+
windowEnd: string;
|
|
170
|
+
firstDetectedAt: string | null;
|
|
171
|
+
records: Array<SecurityCaseImpactRecordJson>;
|
|
172
|
+
hasMoreRecords: boolean;
|
|
173
|
+
statusPages: Array<SecurityCaseImpactStatusPageJson> | null;
|
|
174
|
+
flowPeers: Array<SecurityCaseFlowPeerJson> | null;
|
|
175
|
+
internet: {
|
|
176
|
+
exposure: SecurityCaseInternetExposure;
|
|
177
|
+
evidence: Array<SecurityCaseExposureEvidenceJson>;
|
|
178
|
+
};
|
|
179
|
+
unreadableSources: Array<SecurityCaseImpactSource>;
|
|
180
|
+
failedSources: Array<SecurityCaseImpactSource>;
|
|
181
|
+
}
|
|
182
|
+
export declare const SECURITY_CASE_IMPACT_MAX_PEERS: number;
|
|
183
|
+
export declare const SECURITY_CASE_IMPACT_MAX_FLOW_PEERS: number;
|
|
184
|
+
export declare const SECURITY_CASE_IMPACT_MAX_FLOW_ADDRESSES: number;
|
|
185
|
+
export declare const SECURITY_CASE_IMPACT_MAX_STATUS_PAGES: number;
|
|
186
|
+
export declare const SECURITY_CASE_IMPACT_MAX_OWNERS: number;
|
|
187
|
+
export declare const SECURITY_CASE_IMPACT_MAX_EVIDENCE: number;
|
|
188
|
+
export declare const SECURITY_CASE_IMPACT_DEPENDENCY_WINDOW_IN_DAYS: number;
|