@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,39 @@
|
|
|
1
|
+
export declare enum SecurityTelemetrySourceKind {
|
|
2
|
+
Traces = "traces",
|
|
3
|
+
NetworkFlows = "network-flows",
|
|
4
|
+
AuditLog = "audit-log",
|
|
5
|
+
RumSessions = "rum-sessions"
|
|
6
|
+
}
|
|
7
|
+
export interface SecurityTelemetrySourceDefinition {
|
|
8
|
+
kind: SecurityTelemetrySourceKind;
|
|
9
|
+
serviceName: string;
|
|
10
|
+
vendorName: string;
|
|
11
|
+
productName: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const SECURITY_TELEMETRY_VENDOR_NAME: string;
|
|
14
|
+
export declare const SECURITY_TELEMETRY_SOURCES: ReadonlyArray<SecurityTelemetrySourceDefinition>;
|
|
15
|
+
export declare const SECURITY_TELEMETRY_SOURCE_KINDS: ReadonlyArray<SecurityTelemetrySourceKind>;
|
|
16
|
+
export declare function isSecurityTelemetrySourceKind(value: unknown): value is SecurityTelemetrySourceKind;
|
|
17
|
+
export declare function getSecurityTelemetrySourceDefinition(kind: SecurityTelemetrySourceKind): SecurityTelemetrySourceDefinition;
|
|
18
|
+
export declare const SECURITY_TELEMETRY_SIGNAL_ATTRIBUTE: string;
|
|
19
|
+
export declare enum SecurityTelemetrySignal {
|
|
20
|
+
WebAttack = "web-attack",
|
|
21
|
+
ServerSideRequestForgery = "ssrf",
|
|
22
|
+
PromptInjection = "prompt-injection",
|
|
23
|
+
PortScan = "port-scan",
|
|
24
|
+
NetworkSweep = "network-sweep",
|
|
25
|
+
ThreatIntelTraffic = "threat-intel-traffic",
|
|
26
|
+
LargeOutboundTransfer = "large-outbound-transfer",
|
|
27
|
+
ApiKeyCreated = "api-key-created",
|
|
28
|
+
ApiKeyDeleted = "api-key-deleted",
|
|
29
|
+
RoleChanged = "role-changed",
|
|
30
|
+
TeamChanged = "team-changed",
|
|
31
|
+
McpClientAuthorized = "mcp-client-authorized",
|
|
32
|
+
PacketCaptureDownloaded = "packet-capture-downloaded",
|
|
33
|
+
SecurityControlChanged = "security-control-changed",
|
|
34
|
+
MassDelete = "mass-delete",
|
|
35
|
+
UserInTwoCountries = "user-in-two-countries"
|
|
36
|
+
}
|
|
37
|
+
export declare const SECURITY_TELEMETRY_SIGNALS: ReadonlyArray<SecurityTelemetrySignal>;
|
|
38
|
+
export declare const SECURITY_TELEMETRY_SIGNAL_SOURCES: Record<SecurityTelemetrySignal, SecurityTelemetrySourceKind>;
|
|
39
|
+
export declare function isSecurityTelemetrySignal(value: unknown): value is SecurityTelemetrySignal;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare enum SecurityTelemetrySourceKind {
|
|
2
|
+
Traces = "traces",
|
|
3
|
+
NetworkFlows = "network-flows",
|
|
4
|
+
AuditLog = "audit-log",
|
|
5
|
+
RumSessions = "rum-sessions"
|
|
6
|
+
}
|
|
7
|
+
export interface SecurityTelemetrySourceDefinition {
|
|
8
|
+
kind: SecurityTelemetrySourceKind;
|
|
9
|
+
serviceName: string;
|
|
10
|
+
vendorName: string;
|
|
11
|
+
productName: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const SECURITY_TELEMETRY_VENDOR_NAME: string;
|
|
14
|
+
export declare const SECURITY_TELEMETRY_SOURCES: ReadonlyArray<SecurityTelemetrySourceDefinition>;
|
|
15
|
+
export declare const SECURITY_TELEMETRY_SOURCE_KINDS: ReadonlyArray<SecurityTelemetrySourceKind>;
|
|
16
|
+
export declare function isSecurityTelemetrySourceKind(value: unknown): value is SecurityTelemetrySourceKind;
|
|
17
|
+
export declare function getSecurityTelemetrySourceDefinition(kind: SecurityTelemetrySourceKind): SecurityTelemetrySourceDefinition;
|
|
18
|
+
export declare const SECURITY_TELEMETRY_SIGNAL_ATTRIBUTE: string;
|
|
19
|
+
export declare enum SecurityTelemetrySignal {
|
|
20
|
+
WebAttack = "web-attack",
|
|
21
|
+
ServerSideRequestForgery = "ssrf",
|
|
22
|
+
PromptInjection = "prompt-injection",
|
|
23
|
+
PortScan = "port-scan",
|
|
24
|
+
NetworkSweep = "network-sweep",
|
|
25
|
+
ThreatIntelTraffic = "threat-intel-traffic",
|
|
26
|
+
LargeOutboundTransfer = "large-outbound-transfer",
|
|
27
|
+
ApiKeyCreated = "api-key-created",
|
|
28
|
+
ApiKeyDeleted = "api-key-deleted",
|
|
29
|
+
RoleChanged = "role-changed",
|
|
30
|
+
TeamChanged = "team-changed",
|
|
31
|
+
McpClientAuthorized = "mcp-client-authorized",
|
|
32
|
+
PacketCaptureDownloaded = "packet-capture-downloaded",
|
|
33
|
+
SecurityControlChanged = "security-control-changed",
|
|
34
|
+
MassDelete = "mass-delete",
|
|
35
|
+
UserInTwoCountries = "user-in-two-countries"
|
|
36
|
+
}
|
|
37
|
+
export declare const SECURITY_TELEMETRY_SIGNALS: ReadonlyArray<SecurityTelemetrySignal>;
|
|
38
|
+
export declare const SECURITY_TELEMETRY_SIGNAL_SOURCES: Record<SecurityTelemetrySignal, SecurityTelemetrySourceKind>;
|
|
39
|
+
export declare function isSecurityTelemetrySignal(value: unknown): value is SecurityTelemetrySignal;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SECURITY_TELEMETRY_SIGNAL_SOURCES = exports.SECURITY_TELEMETRY_SIGNALS = exports.SecurityTelemetrySignal = exports.SECURITY_TELEMETRY_SIGNAL_ATTRIBUTE = exports.SECURITY_TELEMETRY_SOURCE_KINDS = exports.SECURITY_TELEMETRY_SOURCES = exports.SECURITY_TELEMETRY_VENDOR_NAME = exports.SecurityTelemetrySourceKind = void 0;
|
|
4
|
+
exports.isSecurityTelemetrySourceKind = isSecurityTelemetrySourceKind;
|
|
5
|
+
exports.getSecurityTelemetrySourceDefinition = getSecurityTelemetrySourceDefinition;
|
|
6
|
+
exports.isSecurityTelemetrySignal = isSecurityTelemetrySignal;
|
|
7
|
+
/*
|
|
8
|
+
* "Your OneUptime data" as security sources: the telemetry beyond logs that
|
|
9
|
+
* OneUptime already holds for a project, read for what an attack leaves in
|
|
10
|
+
* it - the way "Your logs" (SecurityLogFormat) reads the logs.
|
|
11
|
+
*
|
|
12
|
+
* traces requests whose URL carries an attack, requests that
|
|
13
|
+
* send the app to a cloud metadata address, and prompts to
|
|
14
|
+
* an LLM that try to override its instructions;
|
|
15
|
+
* network flows one address scanning ports or hosts, traffic with an
|
|
16
|
+
* address threat intel knows, large transfers out;
|
|
17
|
+
* audit log API keys, roles, teams, MCP clients and packet captures
|
|
18
|
+
* changed in OneUptime itself, and many deletes at once;
|
|
19
|
+
* session replay one signed-in user in two countries within the hour.
|
|
20
|
+
*
|
|
21
|
+
* One switch per kind per project (SecurityTelemetrySource), read every
|
|
22
|
+
* minute by Server/Utils/SecurityEvent/TelemetryScan. Every event a kind
|
|
23
|
+
* finds is attributed to the kind's own "OneUptime ..." service and carries
|
|
24
|
+
* the vendor "OneUptime" and the kind's product, which is how the rule
|
|
25
|
+
* library tells the project sends it (DetectionRuleDataKind).
|
|
26
|
+
*/
|
|
27
|
+
var SecurityTelemetrySourceKind;
|
|
28
|
+
(function (SecurityTelemetrySourceKind) {
|
|
29
|
+
SecurityTelemetrySourceKind["Traces"] = "traces";
|
|
30
|
+
SecurityTelemetrySourceKind["NetworkFlows"] = "network-flows";
|
|
31
|
+
SecurityTelemetrySourceKind["AuditLog"] = "audit-log";
|
|
32
|
+
SecurityTelemetrySourceKind["RumSessions"] = "rum-sessions";
|
|
33
|
+
})(SecurityTelemetrySourceKind || (exports.SecurityTelemetrySourceKind = SecurityTelemetrySourceKind = {}));
|
|
34
|
+
exports.SECURITY_TELEMETRY_VENDOR_NAME = "OneUptime";
|
|
35
|
+
exports.SECURITY_TELEMETRY_SOURCES = [
|
|
36
|
+
{
|
|
37
|
+
kind: SecurityTelemetrySourceKind.Traces,
|
|
38
|
+
serviceName: "OneUptime Traces",
|
|
39
|
+
vendorName: exports.SECURITY_TELEMETRY_VENDOR_NAME,
|
|
40
|
+
productName: "OneUptime Traces",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
kind: SecurityTelemetrySourceKind.NetworkFlows,
|
|
44
|
+
serviceName: "OneUptime Network Flows",
|
|
45
|
+
vendorName: exports.SECURITY_TELEMETRY_VENDOR_NAME,
|
|
46
|
+
productName: "OneUptime Network Flows",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
kind: SecurityTelemetrySourceKind.AuditLog,
|
|
50
|
+
serviceName: "OneUptime Audit Log",
|
|
51
|
+
vendorName: exports.SECURITY_TELEMETRY_VENDOR_NAME,
|
|
52
|
+
productName: "OneUptime Audit Log",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
kind: SecurityTelemetrySourceKind.RumSessions,
|
|
56
|
+
serviceName: "OneUptime Session Replay",
|
|
57
|
+
vendorName: exports.SECURITY_TELEMETRY_VENDOR_NAME,
|
|
58
|
+
productName: "OneUptime Session Replay",
|
|
59
|
+
},
|
|
60
|
+
];
|
|
61
|
+
exports.SECURITY_TELEMETRY_SOURCE_KINDS = exports.SECURITY_TELEMETRY_SOURCES.map((definition) => {
|
|
62
|
+
return definition.kind;
|
|
63
|
+
});
|
|
64
|
+
function isSecurityTelemetrySourceKind(value) {
|
|
65
|
+
return (typeof value === "string" &&
|
|
66
|
+
exports.SECURITY_TELEMETRY_SOURCE_KINDS.includes(value));
|
|
67
|
+
}
|
|
68
|
+
function getSecurityTelemetrySourceDefinition(kind) {
|
|
69
|
+
return exports.SECURITY_TELEMETRY_SOURCES.find((definition) => {
|
|
70
|
+
return definition.kind === kind;
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
/*
|
|
74
|
+
* What an event of a telemetry source is, on every one it stores: the rule
|
|
75
|
+
* library's rules for these sources match it, and a search reads it
|
|
76
|
+
* (`@oneuptime.signal:port-scan`). The source itself goes under the key
|
|
77
|
+
* "Your logs" uses (SECURITY_LOG_SOURCE_ATTRIBUTE, "oneuptime.source"), with
|
|
78
|
+
* the kind as its value.
|
|
79
|
+
*/
|
|
80
|
+
exports.SECURITY_TELEMETRY_SIGNAL_ATTRIBUTE = "oneuptime.signal";
|
|
81
|
+
var SecurityTelemetrySignal;
|
|
82
|
+
(function (SecurityTelemetrySignal) {
|
|
83
|
+
// Traces.
|
|
84
|
+
SecurityTelemetrySignal["WebAttack"] = "web-attack";
|
|
85
|
+
SecurityTelemetrySignal["ServerSideRequestForgery"] = "ssrf";
|
|
86
|
+
SecurityTelemetrySignal["PromptInjection"] = "prompt-injection";
|
|
87
|
+
// Network flows.
|
|
88
|
+
SecurityTelemetrySignal["PortScan"] = "port-scan";
|
|
89
|
+
SecurityTelemetrySignal["NetworkSweep"] = "network-sweep";
|
|
90
|
+
SecurityTelemetrySignal["ThreatIntelTraffic"] = "threat-intel-traffic";
|
|
91
|
+
SecurityTelemetrySignal["LargeOutboundTransfer"] = "large-outbound-transfer";
|
|
92
|
+
// OneUptime's own audit log.
|
|
93
|
+
SecurityTelemetrySignal["ApiKeyCreated"] = "api-key-created";
|
|
94
|
+
SecurityTelemetrySignal["ApiKeyDeleted"] = "api-key-deleted";
|
|
95
|
+
SecurityTelemetrySignal["RoleChanged"] = "role-changed";
|
|
96
|
+
SecurityTelemetrySignal["TeamChanged"] = "team-changed";
|
|
97
|
+
SecurityTelemetrySignal["McpClientAuthorized"] = "mcp-client-authorized";
|
|
98
|
+
SecurityTelemetrySignal["PacketCaptureDownloaded"] = "packet-capture-downloaded";
|
|
99
|
+
SecurityTelemetrySignal["SecurityControlChanged"] = "security-control-changed";
|
|
100
|
+
SecurityTelemetrySignal["MassDelete"] = "mass-delete";
|
|
101
|
+
// Session replay.
|
|
102
|
+
SecurityTelemetrySignal["UserInTwoCountries"] = "user-in-two-countries";
|
|
103
|
+
})(SecurityTelemetrySignal || (exports.SecurityTelemetrySignal = SecurityTelemetrySignal = {}));
|
|
104
|
+
exports.SECURITY_TELEMETRY_SIGNALS = Object.values(SecurityTelemetrySignal);
|
|
105
|
+
// Which source finds each signal.
|
|
106
|
+
exports.SECURITY_TELEMETRY_SIGNAL_SOURCES = {
|
|
107
|
+
[SecurityTelemetrySignal.WebAttack]: SecurityTelemetrySourceKind.Traces,
|
|
108
|
+
[SecurityTelemetrySignal.ServerSideRequestForgery]: SecurityTelemetrySourceKind.Traces,
|
|
109
|
+
[SecurityTelemetrySignal.PromptInjection]: SecurityTelemetrySourceKind.Traces,
|
|
110
|
+
[SecurityTelemetrySignal.PortScan]: SecurityTelemetrySourceKind.NetworkFlows,
|
|
111
|
+
[SecurityTelemetrySignal.NetworkSweep]: SecurityTelemetrySourceKind.NetworkFlows,
|
|
112
|
+
[SecurityTelemetrySignal.ThreatIntelTraffic]: SecurityTelemetrySourceKind.NetworkFlows,
|
|
113
|
+
[SecurityTelemetrySignal.LargeOutboundTransfer]: SecurityTelemetrySourceKind.NetworkFlows,
|
|
114
|
+
[SecurityTelemetrySignal.ApiKeyCreated]: SecurityTelemetrySourceKind.AuditLog,
|
|
115
|
+
[SecurityTelemetrySignal.ApiKeyDeleted]: SecurityTelemetrySourceKind.AuditLog,
|
|
116
|
+
[SecurityTelemetrySignal.RoleChanged]: SecurityTelemetrySourceKind.AuditLog,
|
|
117
|
+
[SecurityTelemetrySignal.TeamChanged]: SecurityTelemetrySourceKind.AuditLog,
|
|
118
|
+
[SecurityTelemetrySignal.McpClientAuthorized]: SecurityTelemetrySourceKind.AuditLog,
|
|
119
|
+
[SecurityTelemetrySignal.PacketCaptureDownloaded]: SecurityTelemetrySourceKind.AuditLog,
|
|
120
|
+
[SecurityTelemetrySignal.SecurityControlChanged]: SecurityTelemetrySourceKind.AuditLog,
|
|
121
|
+
[SecurityTelemetrySignal.MassDelete]: SecurityTelemetrySourceKind.AuditLog,
|
|
122
|
+
[SecurityTelemetrySignal.UserInTwoCountries]: SecurityTelemetrySourceKind.RumSessions,
|
|
123
|
+
};
|
|
124
|
+
function isSecurityTelemetrySignal(value) {
|
|
125
|
+
return (typeof value === "string" &&
|
|
126
|
+
exports.SECURITY_TELEMETRY_SIGNALS.includes(value));
|
|
127
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import commonJsModule from "./SecurityTelemetrySource.js";
|
|
2
|
+
export const SECURITY_TELEMETRY_SIGNALS = commonJsModule.SECURITY_TELEMETRY_SIGNALS;
|
|
3
|
+
export const SECURITY_TELEMETRY_SIGNAL_ATTRIBUTE = commonJsModule.SECURITY_TELEMETRY_SIGNAL_ATTRIBUTE;
|
|
4
|
+
export const SECURITY_TELEMETRY_SIGNAL_SOURCES = commonJsModule.SECURITY_TELEMETRY_SIGNAL_SOURCES;
|
|
5
|
+
export const SECURITY_TELEMETRY_SOURCES = commonJsModule.SECURITY_TELEMETRY_SOURCES;
|
|
6
|
+
export const SECURITY_TELEMETRY_SOURCE_KINDS = commonJsModule.SECURITY_TELEMETRY_SOURCE_KINDS;
|
|
7
|
+
export const SECURITY_TELEMETRY_VENDOR_NAME = commonJsModule.SECURITY_TELEMETRY_VENDOR_NAME;
|
|
8
|
+
export const SecurityTelemetrySignal = commonJsModule.SecurityTelemetrySignal;
|
|
9
|
+
export const SecurityTelemetrySourceKind = commonJsModule.SecurityTelemetrySourceKind;
|
|
10
|
+
export const getSecurityTelemetrySourceDefinition = commonJsModule.getSecurityTelemetrySourceDefinition;
|
|
11
|
+
export const isSecurityTelemetrySignal = commonJsModule.isSecurityTelemetrySignal;
|
|
12
|
+
export const isSecurityTelemetrySourceKind = commonJsModule.isSecurityTelemetrySourceKind;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare enum TurnOnRecommendedPart {
|
|
2
2
|
Logs = "logs",
|
|
3
|
+
TelemetrySources = "telemetry-sources",
|
|
3
4
|
Rule = "rule",
|
|
4
5
|
Playbook = "playbook"
|
|
5
6
|
}
|
|
@@ -25,6 +26,7 @@ export interface TurnOnRecommendedResult {
|
|
|
25
26
|
rulesAdded: number;
|
|
26
27
|
rulesTurnedOn: number;
|
|
27
28
|
logsTurnedOn: boolean;
|
|
29
|
+
telemetrySourcesTurnedOn: number;
|
|
28
30
|
playbookAdded: boolean;
|
|
29
31
|
playbookTurnedOn: boolean;
|
|
30
32
|
problems: Array<TurnOnRecommendedProblem>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare enum TurnOnRecommendedPart {
|
|
2
2
|
Logs = "logs",
|
|
3
|
+
TelemetrySources = "telemetry-sources",
|
|
3
4
|
Rule = "rule",
|
|
4
5
|
Playbook = "playbook"
|
|
5
6
|
}
|
|
@@ -25,6 +26,7 @@ export interface TurnOnRecommendedResult {
|
|
|
25
26
|
rulesAdded: number;
|
|
26
27
|
rulesTurnedOn: number;
|
|
27
28
|
logsTurnedOn: boolean;
|
|
29
|
+
telemetrySourcesTurnedOn: number;
|
|
28
30
|
playbookAdded: boolean;
|
|
29
31
|
playbookTurnedOn: boolean;
|
|
30
32
|
problems: Array<TurnOnRecommendedProblem>;
|
|
@@ -16,6 +16,12 @@ var TurnOnRecommendedPart;
|
|
|
16
16
|
(function (TurnOnRecommendedPart) {
|
|
17
17
|
// Find security events in your logs.
|
|
18
18
|
TurnOnRecommendedPart["Logs"] = "logs";
|
|
19
|
+
/*
|
|
20
|
+
* Find security events in the rest of your OneUptime data: traces,
|
|
21
|
+
* network flows, the audit log, session replays. The problem's name is
|
|
22
|
+
* the kind (SecurityTelemetrySourceKind); empty when none could be read.
|
|
23
|
+
*/
|
|
24
|
+
TurnOnRecommendedPart["TelemetrySources"] = "telemetry-sources";
|
|
19
25
|
// A recommended detection rule; with no name, the recommended rules as a whole.
|
|
20
26
|
TurnOnRecommendedPart["Rule"] = "rule";
|
|
21
27
|
// The Enrich New Cases playbook.
|
|
@@ -43,6 +49,7 @@ var TurnOnRecommendedReason;
|
|
|
43
49
|
})(TurnOnRecommendedReason || (exports.TurnOnRecommendedReason = TurnOnRecommendedReason = {}));
|
|
44
50
|
exports.TURN_ON_RECOMMENDED_PARTS = [
|
|
45
51
|
TurnOnRecommendedPart.Logs,
|
|
52
|
+
TurnOnRecommendedPart.TelemetrySources,
|
|
46
53
|
TurnOnRecommendedPart.Rule,
|
|
47
54
|
TurnOnRecommendedPart.Playbook,
|
|
48
55
|
];
|
|
@@ -9,9 +9,11 @@ export declare enum SecurityPlaybookActionType {
|
|
|
9
9
|
AddCaseLabels = "Add Case Labels",
|
|
10
10
|
CheckThreatIntel = "Check Threat Intel",
|
|
11
11
|
LookUpEntityActivity = "Look Up Entity Activity",
|
|
12
|
+
PreserveEvidence = "Preserve Evidence",
|
|
12
13
|
EmailPeople = "Email People",
|
|
13
14
|
PostToSlack = "Post to Slack",
|
|
14
15
|
PostToMicrosoftTeams = "Post to Microsoft Teams",
|
|
16
|
+
PostStatusPageAnnouncement = "Post Status Page Announcement",
|
|
15
17
|
PageOnCall = "Page On-Call",
|
|
16
18
|
DeclareIncident = "Declare Incident",
|
|
17
19
|
SuspendOktaUser = "Suspend Okta User",
|
|
@@ -22,7 +24,9 @@ export declare enum SecurityPlaybookActionType {
|
|
|
22
24
|
LiftCrowdStrikeContainment = "Lift CrowdStrike Containment",
|
|
23
25
|
ReleaseDefenderDevice = "Release Defender Device",
|
|
24
26
|
SendWebhook = "Send Webhook",
|
|
25
|
-
RunWorkflow = "Run Workflow"
|
|
27
|
+
RunWorkflow = "Run Workflow",
|
|
28
|
+
RunRunbook = "Run Runbook",
|
|
29
|
+
FixWithAi = "Fix With AI"
|
|
26
30
|
}
|
|
27
31
|
export declare enum SecurityPlaybookActionCategory {
|
|
28
32
|
Case = "Case",
|
|
@@ -43,10 +47,12 @@ export interface SecurityPlaybookActionDefinition {
|
|
|
43
47
|
connectionProvider?: SecurityEventConnectorProvider | undefined;
|
|
44
48
|
entityType?: SecurityEntityType | undefined;
|
|
45
49
|
undoes?: SecurityPlaybookActionType | undefined;
|
|
50
|
+
needsApprovalByDefault?: boolean | undefined;
|
|
46
51
|
}
|
|
47
52
|
export declare const SECURITY_PLAYBOOK_ACTIONS: ReadonlyArray<SecurityPlaybookActionDefinition>;
|
|
48
53
|
export declare function getSecurityPlaybookAction(type: SecurityPlaybookActionType | string | undefined | null): SecurityPlaybookActionDefinition | undefined;
|
|
49
54
|
export declare function actsOnSecurityEntities(definition: SecurityPlaybookActionDefinition | undefined): boolean;
|
|
55
|
+
export declare function doesActionNeedApprovalByDefault(definition: SecurityPlaybookActionDefinition | undefined): boolean;
|
|
50
56
|
export declare function getSecurityPlaybookUndoAction(type: SecurityPlaybookActionType | string | undefined | null): SecurityPlaybookActionDefinition | undefined;
|
|
51
57
|
export declare const SECURITY_PLAYBOOK_INSIDE_CATEGORIES: ReadonlyArray<SecurityPlaybookActionCategory>;
|
|
52
58
|
export declare function doStepsStayInsideOneUptime(steps: unknown): boolean;
|
|
@@ -9,9 +9,11 @@ export declare enum SecurityPlaybookActionType {
|
|
|
9
9
|
AddCaseLabels = "Add Case Labels",
|
|
10
10
|
CheckThreatIntel = "Check Threat Intel",
|
|
11
11
|
LookUpEntityActivity = "Look Up Entity Activity",
|
|
12
|
+
PreserveEvidence = "Preserve Evidence",
|
|
12
13
|
EmailPeople = "Email People",
|
|
13
14
|
PostToSlack = "Post to Slack",
|
|
14
15
|
PostToMicrosoftTeams = "Post to Microsoft Teams",
|
|
16
|
+
PostStatusPageAnnouncement = "Post Status Page Announcement",
|
|
15
17
|
PageOnCall = "Page On-Call",
|
|
16
18
|
DeclareIncident = "Declare Incident",
|
|
17
19
|
SuspendOktaUser = "Suspend Okta User",
|
|
@@ -22,7 +24,9 @@ export declare enum SecurityPlaybookActionType {
|
|
|
22
24
|
LiftCrowdStrikeContainment = "Lift CrowdStrike Containment",
|
|
23
25
|
ReleaseDefenderDevice = "Release Defender Device",
|
|
24
26
|
SendWebhook = "Send Webhook",
|
|
25
|
-
RunWorkflow = "Run Workflow"
|
|
27
|
+
RunWorkflow = "Run Workflow",
|
|
28
|
+
RunRunbook = "Run Runbook",
|
|
29
|
+
FixWithAi = "Fix With AI"
|
|
26
30
|
}
|
|
27
31
|
export declare enum SecurityPlaybookActionCategory {
|
|
28
32
|
Case = "Case",
|
|
@@ -43,10 +47,12 @@ export interface SecurityPlaybookActionDefinition {
|
|
|
43
47
|
connectionProvider?: SecurityEventConnectorProvider | undefined;
|
|
44
48
|
entityType?: SecurityEntityType | undefined;
|
|
45
49
|
undoes?: SecurityPlaybookActionType | undefined;
|
|
50
|
+
needsApprovalByDefault?: boolean | undefined;
|
|
46
51
|
}
|
|
47
52
|
export declare const SECURITY_PLAYBOOK_ACTIONS: ReadonlyArray<SecurityPlaybookActionDefinition>;
|
|
48
53
|
export declare function getSecurityPlaybookAction(type: SecurityPlaybookActionType | string | undefined | null): SecurityPlaybookActionDefinition | undefined;
|
|
49
54
|
export declare function actsOnSecurityEntities(definition: SecurityPlaybookActionDefinition | undefined): boolean;
|
|
55
|
+
export declare function doesActionNeedApprovalByDefault(definition: SecurityPlaybookActionDefinition | undefined): boolean;
|
|
50
56
|
export declare function getSecurityPlaybookUndoAction(type: SecurityPlaybookActionType | string | undefined | null): SecurityPlaybookActionDefinition | undefined;
|
|
51
57
|
export declare const SECURITY_PLAYBOOK_INSIDE_CATEGORIES: ReadonlyArray<SecurityPlaybookActionCategory>;
|
|
52
58
|
export declare function doStepsStayInsideOneUptime(steps: unknown): boolean;
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.SECURITY_PLAYBOOK_INSIDE_CATEGORIES = exports.SECURITY_PLAYBOOK_ACTIONS = exports.SECURITY_PLAYBOOK_ACTION_CATEGORIES = exports.SecurityPlaybookActionCategory = exports.SecurityPlaybookActionType = void 0;
|
|
7
7
|
exports.getSecurityPlaybookAction = getSecurityPlaybookAction;
|
|
8
8
|
exports.actsOnSecurityEntities = actsOnSecurityEntities;
|
|
9
|
+
exports.doesActionNeedApprovalByDefault = doesActionNeedApprovalByDefault;
|
|
9
10
|
exports.getSecurityPlaybookUndoAction = getSecurityPlaybookUndoAction;
|
|
10
11
|
exports.doStepsStayInsideOneUptime = doStepsStayInsideOneUptime;
|
|
11
12
|
exports.isSecurityPlaybookActionType = isSecurityPlaybookActionType;
|
|
@@ -29,10 +30,12 @@ var SecurityPlaybookActionType;
|
|
|
29
30
|
// Investigate
|
|
30
31
|
SecurityPlaybookActionType["CheckThreatIntel"] = "Check Threat Intel";
|
|
31
32
|
SecurityPlaybookActionType["LookUpEntityActivity"] = "Look Up Entity Activity";
|
|
33
|
+
SecurityPlaybookActionType["PreserveEvidence"] = "Preserve Evidence";
|
|
32
34
|
// Notify
|
|
33
35
|
SecurityPlaybookActionType["EmailPeople"] = "Email People";
|
|
34
36
|
SecurityPlaybookActionType["PostToSlack"] = "Post to Slack";
|
|
35
37
|
SecurityPlaybookActionType["PostToMicrosoftTeams"] = "Post to Microsoft Teams";
|
|
38
|
+
SecurityPlaybookActionType["PostStatusPageAnnouncement"] = "Post Status Page Announcement";
|
|
36
39
|
// Escalate
|
|
37
40
|
SecurityPlaybookActionType["PageOnCall"] = "Page On-Call";
|
|
38
41
|
SecurityPlaybookActionType["DeclareIncident"] = "Declare Incident";
|
|
@@ -47,6 +50,8 @@ var SecurityPlaybookActionType;
|
|
|
47
50
|
// Automate
|
|
48
51
|
SecurityPlaybookActionType["SendWebhook"] = "Send Webhook";
|
|
49
52
|
SecurityPlaybookActionType["RunWorkflow"] = "Run Workflow";
|
|
53
|
+
SecurityPlaybookActionType["RunRunbook"] = "Run Runbook";
|
|
54
|
+
SecurityPlaybookActionType["FixWithAi"] = "Fix With AI";
|
|
50
55
|
})(SecurityPlaybookActionType || (exports.SecurityPlaybookActionType = SecurityPlaybookActionType = {}));
|
|
51
56
|
var SecurityPlaybookActionCategory;
|
|
52
57
|
(function (SecurityPlaybookActionCategory) {
|
|
@@ -123,6 +128,14 @@ exports.SECURITY_PLAYBOOK_ACTIONS = [
|
|
|
123
128
|
icon: IconProp_1.default.Search,
|
|
124
129
|
isDisruptive: false,
|
|
125
130
|
},
|
|
131
|
+
{
|
|
132
|
+
type: SecurityPlaybookActionType.PreserveEvidence,
|
|
133
|
+
title: "Preserve the evidence",
|
|
134
|
+
description: "Keep the session replays of the requests behind the case past their retention, and note on the case the traces, sessions and exceptions those requests link to.",
|
|
135
|
+
category: SecurityPlaybookActionCategory.Investigate,
|
|
136
|
+
icon: IconProp_1.default.Archive,
|
|
137
|
+
isDisruptive: false,
|
|
138
|
+
},
|
|
126
139
|
{
|
|
127
140
|
type: SecurityPlaybookActionType.EmailPeople,
|
|
128
141
|
title: "Email people",
|
|
@@ -147,6 +160,15 @@ exports.SECURITY_PLAYBOOK_ACTIONS = [
|
|
|
147
160
|
icon: IconProp_1.default.MicrosoftTeams,
|
|
148
161
|
isDisruptive: false,
|
|
149
162
|
},
|
|
163
|
+
{
|
|
164
|
+
type: SecurityPlaybookActionType.PostStatusPageAnnouncement,
|
|
165
|
+
title: "Post a status page announcement",
|
|
166
|
+
description: "Publish an announcement on your status pages, for an attack your customers should hear about from you first. Waits for approval unless you turn that off.",
|
|
167
|
+
category: SecurityPlaybookActionCategory.Notify,
|
|
168
|
+
icon: IconProp_1.default.Announcement,
|
|
169
|
+
isDisruptive: false,
|
|
170
|
+
needsApprovalByDefault: true,
|
|
171
|
+
},
|
|
150
172
|
{
|
|
151
173
|
type: SecurityPlaybookActionType.PageOnCall,
|
|
152
174
|
title: "Page on-call",
|
|
@@ -252,6 +274,23 @@ exports.SECURITY_PLAYBOOK_ACTIONS = [
|
|
|
252
274
|
icon: IconProp_1.default.Workflow,
|
|
253
275
|
isDisruptive: false,
|
|
254
276
|
},
|
|
277
|
+
{
|
|
278
|
+
type: SecurityPlaybookActionType.RunRunbook,
|
|
279
|
+
title: "Run a runbook",
|
|
280
|
+
description: "Start one of your OneUptime runbooks with the case's users, hosts and addresses as its inputs: block an address, stop a process, cordon a node. Waits for approval unless you turn that off.",
|
|
281
|
+
category: SecurityPlaybookActionCategory.Automate,
|
|
282
|
+
icon: IconProp_1.default.CommandLine,
|
|
283
|
+
isDisruptive: false,
|
|
284
|
+
needsApprovalByDefault: true,
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
type: SecurityPlaybookActionType.FixWithAi,
|
|
288
|
+
title: "Fix the code with AI",
|
|
289
|
+
description: "Ask OneUptime AI to fix the code behind the exceptions the case's requests threw, as a pull request on the repository that holds it.",
|
|
290
|
+
category: SecurityPlaybookActionCategory.Automate,
|
|
291
|
+
icon: IconProp_1.default.Sparkles,
|
|
292
|
+
isDisruptive: false,
|
|
293
|
+
},
|
|
255
294
|
];
|
|
256
295
|
function getSecurityPlaybookAction(type) {
|
|
257
296
|
return exports.SECURITY_PLAYBOOK_ACTIONS.find((action) => {
|
|
@@ -262,6 +301,13 @@ function getSecurityPlaybookAction(type) {
|
|
|
262
301
|
function actsOnSecurityEntities(definition) {
|
|
263
302
|
return Boolean((definition === null || definition === void 0 ? void 0 : definition.connectionProvider) && definition.entityType);
|
|
264
303
|
}
|
|
304
|
+
/*
|
|
305
|
+
* Whether a new step of this action starts needing approval: a containment
|
|
306
|
+
* step, and a step that runs commands or speaks to customers.
|
|
307
|
+
*/
|
|
308
|
+
function doesActionNeedApprovalByDefault(definition) {
|
|
309
|
+
return Boolean((definition === null || definition === void 0 ? void 0 : definition.isDisruptive) || (definition === null || definition === void 0 ? void 0 : definition.needsApprovalByDefault));
|
|
310
|
+
}
|
|
265
311
|
/*
|
|
266
312
|
* The action that undoes a containment action - Unsuspend for Suspend - or
|
|
267
313
|
* undefined for one nothing undoes (a session that was ended stays ended).
|
|
@@ -6,6 +6,7 @@ export const SecurityPlaybookActionCategory = commonJsModule.SecurityPlaybookAct
|
|
|
6
6
|
export const SecurityPlaybookActionType = commonJsModule.SecurityPlaybookActionType;
|
|
7
7
|
export const actsOnSecurityEntities = commonJsModule.actsOnSecurityEntities;
|
|
8
8
|
export const doStepsStayInsideOneUptime = commonJsModule.doStepsStayInsideOneUptime;
|
|
9
|
+
export const doesActionNeedApprovalByDefault = commonJsModule.doesActionNeedApprovalByDefault;
|
|
9
10
|
export const getSecurityPlaybookAction = commonJsModule.getSecurityPlaybookAction;
|
|
10
11
|
export const getSecurityPlaybookUndoAction = commonJsModule.getSecurityPlaybookUndoAction;
|
|
11
12
|
export const isSecurityPlaybookActionType = commonJsModule.isSecurityPlaybookActionType;
|
|
@@ -70,12 +70,22 @@ export interface SendWebhookConfig {
|
|
|
70
70
|
export interface RunWorkflowConfig {
|
|
71
71
|
workflowId: string;
|
|
72
72
|
}
|
|
73
|
+
export interface RunRunbookConfig {
|
|
74
|
+
runbookId: string;
|
|
75
|
+
}
|
|
76
|
+
export interface PostStatusPageAnnouncementConfig {
|
|
77
|
+
statusPageIds: Array<string>;
|
|
78
|
+
announcementTitle: string;
|
|
79
|
+
announcementDescription: string;
|
|
80
|
+
notifySubscribers?: boolean | undefined;
|
|
81
|
+
}
|
|
73
82
|
export declare const TURN_OFF_CONTAINMENT_APPROVAL_PERMISSIONS: ReadonlyArray<Permission>;
|
|
74
83
|
export declare const SECURITY_PLAYBOOK_MAX_STEPS: number;
|
|
75
84
|
export declare const SECURITY_PLAYBOOK_NOTE_MAX_LENGTH: number;
|
|
76
85
|
export declare const ENTITY_ACTIVITY_LOOKBACK_MIN_HOURS: number;
|
|
77
86
|
export declare const ENTITY_ACTIVITY_LOOKBACK_MAX_HOURS: number;
|
|
78
87
|
export declare const ENTITY_ACTIVITY_LOOKBACK_DEFAULT_HOURS: number;
|
|
88
|
+
export declare const ANNOUNCEMENT_TITLE_MAX_LENGTH: number;
|
|
79
89
|
export declare function normalizeSecurityPlaybookStepConfig(action: SecurityPlaybookActionType, rawConfig: JSONObject, label: string): JSONObject;
|
|
80
90
|
export declare function doesStepNeedApproval(step: SecurityPlaybookStep): boolean;
|
|
81
91
|
export declare function parseSecurityPlaybookSteps(value: unknown): Array<SecurityPlaybookStep>;
|
|
@@ -70,12 +70,22 @@ export interface SendWebhookConfig {
|
|
|
70
70
|
export interface RunWorkflowConfig {
|
|
71
71
|
workflowId: string;
|
|
72
72
|
}
|
|
73
|
+
export interface RunRunbookConfig {
|
|
74
|
+
runbookId: string;
|
|
75
|
+
}
|
|
76
|
+
export interface PostStatusPageAnnouncementConfig {
|
|
77
|
+
statusPageIds: Array<string>;
|
|
78
|
+
announcementTitle: string;
|
|
79
|
+
announcementDescription: string;
|
|
80
|
+
notifySubscribers?: boolean | undefined;
|
|
81
|
+
}
|
|
73
82
|
export declare const TURN_OFF_CONTAINMENT_APPROVAL_PERMISSIONS: ReadonlyArray<Permission>;
|
|
74
83
|
export declare const SECURITY_PLAYBOOK_MAX_STEPS: number;
|
|
75
84
|
export declare const SECURITY_PLAYBOOK_NOTE_MAX_LENGTH: number;
|
|
76
85
|
export declare const ENTITY_ACTIVITY_LOOKBACK_MIN_HOURS: number;
|
|
77
86
|
export declare const ENTITY_ACTIVITY_LOOKBACK_MAX_HOURS: number;
|
|
78
87
|
export declare const ENTITY_ACTIVITY_LOOKBACK_DEFAULT_HOURS: number;
|
|
88
|
+
export declare const ANNOUNCEMENT_TITLE_MAX_LENGTH: number;
|
|
79
89
|
export declare function normalizeSecurityPlaybookStepConfig(action: SecurityPlaybookActionType, rawConfig: JSONObject, label: string): JSONObject;
|
|
80
90
|
export declare function doesStepNeedApproval(step: SecurityPlaybookStep): boolean;
|
|
81
91
|
export declare function parseSecurityPlaybookSteps(value: unknown): Array<SecurityPlaybookStep>;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ENTITY_ACTIVITY_LOOKBACK_DEFAULT_HOURS = exports.ENTITY_ACTIVITY_LOOKBACK_MAX_HOURS = exports.ENTITY_ACTIVITY_LOOKBACK_MIN_HOURS = exports.SECURITY_PLAYBOOK_NOTE_MAX_LENGTH = exports.SECURITY_PLAYBOOK_MAX_STEPS = exports.TURN_OFF_CONTAINMENT_APPROVAL_PERMISSIONS = exports.DefenderIsolationType = void 0;
|
|
6
|
+
exports.ANNOUNCEMENT_TITLE_MAX_LENGTH = exports.ENTITY_ACTIVITY_LOOKBACK_DEFAULT_HOURS = exports.ENTITY_ACTIVITY_LOOKBACK_MAX_HOURS = exports.ENTITY_ACTIVITY_LOOKBACK_MIN_HOURS = exports.SECURITY_PLAYBOOK_NOTE_MAX_LENGTH = exports.SECURITY_PLAYBOOK_MAX_STEPS = exports.TURN_OFF_CONTAINMENT_APPROVAL_PERMISSIONS = exports.DefenderIsolationType = void 0;
|
|
7
7
|
exports.normalizeSecurityPlaybookStepConfig = normalizeSecurityPlaybookStepConfig;
|
|
8
8
|
exports.doesStepNeedApproval = doesStepNeedApproval;
|
|
9
9
|
exports.parseSecurityPlaybookSteps = parseSecurityPlaybookSteps;
|
|
@@ -24,6 +24,8 @@ exports.SECURITY_PLAYBOOK_NOTE_MAX_LENGTH = 10000;
|
|
|
24
24
|
exports.ENTITY_ACTIVITY_LOOKBACK_MIN_HOURS = 1;
|
|
25
25
|
exports.ENTITY_ACTIVITY_LOOKBACK_MAX_HOURS = 720;
|
|
26
26
|
exports.ENTITY_ACTIVITY_LOOKBACK_DEFAULT_HOURS = 24;
|
|
27
|
+
// A status page announcement's title is a short text column.
|
|
28
|
+
exports.ANNOUNCEMENT_TITLE_MAX_LENGTH = 100;
|
|
27
29
|
// An http(s) URL with a host: what a webhook step can post to.
|
|
28
30
|
const WEBHOOK_URL = /^https?:\/\/[^\s/?#]+[^\s]*$/i;
|
|
29
31
|
function stepLabel(index, action) {
|
|
@@ -210,6 +212,40 @@ function normalizeSecurityPlaybookStepConfig(action, rawConfig, label) {
|
|
|
210
212
|
return {
|
|
211
213
|
workflowId: requireId(rawConfig, "workflowId", label, "the workflow to run"),
|
|
212
214
|
};
|
|
215
|
+
case SecurityPlaybookAction_1.SecurityPlaybookActionType.RunRunbook:
|
|
216
|
+
return {
|
|
217
|
+
runbookId: requireId(rawConfig, "runbookId", label, "the runbook to run"),
|
|
218
|
+
};
|
|
219
|
+
case SecurityPlaybookAction_1.SecurityPlaybookActionType.PostStatusPageAnnouncement: {
|
|
220
|
+
const statusPageIds = readIdList(rawConfig, "statusPageIds");
|
|
221
|
+
const announcementTitle = readText(rawConfig, "announcementTitle");
|
|
222
|
+
const announcementDescription = readText(rawConfig, "announcementDescription");
|
|
223
|
+
if (statusPageIds.length === 0) {
|
|
224
|
+
throw new BadDataException_1.default(`${label}: choose the status pages to post on.`);
|
|
225
|
+
}
|
|
226
|
+
if (!announcementTitle) {
|
|
227
|
+
throw new BadDataException_1.default(`${label}: write the announcement's title.`);
|
|
228
|
+
}
|
|
229
|
+
if (announcementTitle.length > exports.ANNOUNCEMENT_TITLE_MAX_LENGTH) {
|
|
230
|
+
throw new BadDataException_1.default(`${label}: the title is longer than ${exports.ANNOUNCEMENT_TITLE_MAX_LENGTH} characters.`);
|
|
231
|
+
}
|
|
232
|
+
if (!announcementDescription) {
|
|
233
|
+
throw new BadDataException_1.default(`${label}: write what the announcement says.`);
|
|
234
|
+
}
|
|
235
|
+
if (announcementDescription.length > exports.SECURITY_PLAYBOOK_NOTE_MAX_LENGTH) {
|
|
236
|
+
throw new BadDataException_1.default(`${label}: the announcement is longer than ${exports.SECURITY_PLAYBOOK_NOTE_MAX_LENGTH} characters.`);
|
|
237
|
+
}
|
|
238
|
+
return {
|
|
239
|
+
statusPageIds,
|
|
240
|
+
announcementTitle,
|
|
241
|
+
announcementDescription,
|
|
242
|
+
notifySubscribers: rawConfig["notifySubscribers"] === true,
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
// Nothing to set: each reads what it acts on from the case.
|
|
246
|
+
case SecurityPlaybookAction_1.SecurityPlaybookActionType.PreserveEvidence:
|
|
247
|
+
case SecurityPlaybookAction_1.SecurityPlaybookActionType.FixWithAi:
|
|
248
|
+
return {};
|
|
213
249
|
}
|
|
214
250
|
}
|
|
215
251
|
function readApprovalTurnedOff(value) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import commonJsModule from "./SecurityPlaybookStep.js";
|
|
2
|
+
export const ANNOUNCEMENT_TITLE_MAX_LENGTH = commonJsModule.ANNOUNCEMENT_TITLE_MAX_LENGTH;
|
|
2
3
|
export const DefenderIsolationType = commonJsModule.DefenderIsolationType;
|
|
3
4
|
export const ENTITY_ACTIVITY_LOOKBACK_DEFAULT_HOURS = commonJsModule.ENTITY_ACTIVITY_LOOKBACK_DEFAULT_HOURS;
|
|
4
5
|
export const ENTITY_ACTIVITY_LOOKBACK_MAX_HOURS = commonJsModule.ENTITY_ACTIVITY_LOOKBACK_MAX_HOURS;
|
|
@@ -75,6 +75,23 @@ exports.SECURITY_PLAYBOOK_TEMPLATE_DEFINITIONS = [
|
|
|
75
75
|
];
|
|
76
76
|
},
|
|
77
77
|
},
|
|
78
|
+
{
|
|
79
|
+
key: "attack-evidence",
|
|
80
|
+
title: "Keep the Evidence of an Attack",
|
|
81
|
+
description: "As a case opens: keep the session replays of the requests behind it, note their traces and exceptions, ask OneUptime AI to fix the code an attack broke, and leave a response checklist.",
|
|
82
|
+
icon: IconProp_1.default.Archive,
|
|
83
|
+
trigger: SecurityPlaybookTrigger_1.default.CaseOpened,
|
|
84
|
+
minimumPriorityLevel: SecurityCasePriorityLevel_1.default.High,
|
|
85
|
+
getSteps: () => {
|
|
86
|
+
return [
|
|
87
|
+
step(SecurityPlaybookAction_1.SecurityPlaybookActionType.PreserveEvidence, {}, { continueOnFailure: true }),
|
|
88
|
+
step(SecurityPlaybookAction_1.SecurityPlaybookActionType.FixWithAi, {}, { continueOnFailure: true }),
|
|
89
|
+
step(SecurityPlaybookAction_1.SecurityPlaybookActionType.AddCaseNote, {
|
|
90
|
+
note: "Response checklist for {{case.number}}:\n\n- [ ] Open the traces in the evidence note: did any request reach the app, or the database?\n- [ ] Watch the session replays: what did the attacker do before and after?\n- [ ] Block the source: add a Run a runbook step to this playbook, with a runbook that blocks an address.\n- [ ] Review the AI's fix before it is merged.",
|
|
91
|
+
}),
|
|
92
|
+
];
|
|
93
|
+
},
|
|
94
|
+
},
|
|
78
95
|
];
|
|
79
96
|
function getSecurityPlaybookTemplateDefinition(key) {
|
|
80
97
|
return exports.SECURITY_PLAYBOOK_TEMPLATE_DEFINITIONS.find((template) => {
|
|
@@ -7,8 +7,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7
7
|
* string values are stored, so they must never be renamed.
|
|
8
8
|
*
|
|
9
9
|
* Every channel a UserNotificationRule can point at is here, because a
|
|
10
|
-
* compliance rule that could only ask about
|
|
10
|
+
* compliance rule that could only ask about some of them would report a
|
|
11
11
|
* member whose pager is Telegram as unreachable when they are not.
|
|
12
|
+
*
|
|
13
|
+
* Nine of them are a method each member owns (a phone, a push device, a
|
|
14
|
+
* webhook...). CustomChannel is different: a custom channel
|
|
15
|
+
* (CustomNotificationChannel, #5332) is the installation's, added by its
|
|
16
|
+
* admin, and a member's rule simply names it - there is nothing per person to
|
|
17
|
+
* add or verify, so no "has a verified ..." rule exists for it (see
|
|
18
|
+
* ComplianceRule.ts, where its definition has no method).
|
|
12
19
|
*/
|
|
13
20
|
var ComplianceNotificationChannel;
|
|
14
21
|
(function (ComplianceNotificationChannel) {
|
|
@@ -21,5 +28,7 @@ var ComplianceNotificationChannel;
|
|
|
21
28
|
ComplianceNotificationChannel["Slack"] = "Slack";
|
|
22
29
|
ComplianceNotificationChannel["MicrosoftTeams"] = "MicrosoftTeams";
|
|
23
30
|
ComplianceNotificationChannel["Webhook"] = "Webhook";
|
|
31
|
+
// Any custom channel (CustomNotificationChannel) that is on.
|
|
32
|
+
ComplianceNotificationChannel["CustomChannel"] = "CustomChannel";
|
|
24
33
|
})(ComplianceNotificationChannel || (ComplianceNotificationChannel = {}));
|
|
25
34
|
exports.default = ComplianceNotificationChannel;
|