@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,188 @@
|
|
|
1
|
+
import { SecurityConnectionCertainty, SecurityConnectionChangeJson, SecurityConnectionKind, SecurityConnectionRecordListJson } from "./SecurityConnection";
|
|
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;
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SECURITY_CASE_IMPACT_DEPENDENCY_WINDOW_IN_DAYS = exports.SECURITY_CASE_IMPACT_MAX_EVIDENCE = exports.SECURITY_CASE_IMPACT_MAX_OWNERS = exports.SECURITY_CASE_IMPACT_MAX_STATUS_PAGES = exports.SECURITY_CASE_IMPACT_MAX_FLOW_ADDRESSES = exports.SECURITY_CASE_IMPACT_MAX_FLOW_PEERS = exports.SECURITY_CASE_IMPACT_MAX_PEERS = exports.SecurityCaseExposureEvidenceKind = exports.SecurityCaseInternetExposure = exports.SecurityCaseImpactSource = exports.SECURITY_CASE_STORY_MAX_TEXT_LENGTH = exports.SECURITY_CASE_STORY_RUN_GAP_IN_MINUTES = exports.SECURITY_CASE_STORY_MAX_NOTES = exports.SECURITY_CASE_STORY_MAX_PLAYBOOK_RUNS = exports.SECURITY_CASE_STORY_MAX_ALERTS = exports.SECURITY_CASE_STORY_MAX_INCIDENTS = exports.SECURITY_CASE_STORY_MAX_CHANGES = exports.SECURITY_CASE_STORY_MAX_EXCEPTIONS = exports.SECURITY_CASE_STORY_MAX_DETECTIONS = exports.SECURITY_CASE_STORY_MAX_EVENTS = exports.SECURITY_CASE_STORY_MAX_ITEMS = exports.SECURITY_CASE_STORY_FILTER_OF_KIND = exports.SecurityCaseStoryFilter = exports.SecurityCaseStorySource = exports.SecurityCaseStoryMilestone = exports.SecurityCaseStoryItemKind = exports.SECURITY_CASE_IMPACT_API_PATH = exports.SECURITY_CASE_STORY_API_PATH = exports.SECURITY_CASE_CONTEXT_API_PATH = void 0;
|
|
4
|
+
/*
|
|
5
|
+
* A SECURITY CASE AS THE REST OF ONEUPTIME TELLS IT: its Story and its
|
|
6
|
+
* Impact.
|
|
7
|
+
*
|
|
8
|
+
* Story what happened, in order, on one time axis: the detections that
|
|
9
|
+
* fired and the events behind them - each with how far its
|
|
10
|
+
* request got and the trace, exception and session it links to -
|
|
11
|
+
* the exceptions those requests threw, what changed on the
|
|
12
|
+
* records the case names, the incidents and alerts raised on
|
|
13
|
+
* them, and what the team and its playbooks did about it.
|
|
14
|
+
* Impact what the case puts at risk: the records it names, what they
|
|
15
|
+
* call and what calls them on the service map, the monitors and
|
|
16
|
+
* status pages watching them, who owns them and what last
|
|
17
|
+
* changed on them, the machines its addresses talked to, and
|
|
18
|
+
* whether OneUptime has seen them reached from the internet.
|
|
19
|
+
*
|
|
20
|
+
* Both are read with the reader's own permissions. A source their role
|
|
21
|
+
* cannot read is said to be (unreadable), and one that could not be read
|
|
22
|
+
* this time too (failed) - never an empty list that looks like "nothing
|
|
23
|
+
* happened". Every read is bounded, and a source that held more than is
|
|
24
|
+
* shown says so (truncated).
|
|
25
|
+
*
|
|
26
|
+
* Free of anything server-only and of React: the server that reads a case's
|
|
27
|
+
* story and the page that draws it agree on every field of this.
|
|
28
|
+
*/
|
|
29
|
+
/*
|
|
30
|
+
* Where the two are read (Server/API/SecurityCaseContextAPI.ts):
|
|
31
|
+
*
|
|
32
|
+
* POST /security-case-context/story { caseId }
|
|
33
|
+
* POST /security-case-context/impact { caseId }
|
|
34
|
+
*/
|
|
35
|
+
exports.SECURITY_CASE_CONTEXT_API_PATH = "/security-case-context";
|
|
36
|
+
exports.SECURITY_CASE_STORY_API_PATH = `${exports.SECURITY_CASE_CONTEXT_API_PATH}/story`;
|
|
37
|
+
exports.SECURITY_CASE_IMPACT_API_PATH = `${exports.SECURITY_CASE_CONTEXT_API_PATH}/impact`;
|
|
38
|
+
// ---------- Story ----------
|
|
39
|
+
var SecurityCaseStoryItemKind;
|
|
40
|
+
(function (SecurityCaseStoryItemKind) {
|
|
41
|
+
// The case was opened.
|
|
42
|
+
SecurityCaseStoryItemKind["CaseOpened"] = "CaseOpened";
|
|
43
|
+
// One of the case's detections fired (first), and how often it did since.
|
|
44
|
+
SecurityCaseStoryItemKind["Detection"] = "Detection";
|
|
45
|
+
// A security event naming the case's entities, or a run of alike ones.
|
|
46
|
+
SecurityCaseStoryItemKind["Events"] = "Events";
|
|
47
|
+
// An exception a request behind the case's events threw.
|
|
48
|
+
SecurityCaseStoryItemKind["Exception"] = "Exception";
|
|
49
|
+
// A deploy, a rollout or another change on a record the case names.
|
|
50
|
+
SecurityCaseStoryItemKind["Change"] = "Change";
|
|
51
|
+
// An incident raised on a record the case names, or declared from it.
|
|
52
|
+
SecurityCaseStoryItemKind["Incident"] = "Incident";
|
|
53
|
+
// An alert raised on a record the case names.
|
|
54
|
+
SecurityCaseStoryItemKind["Alert"] = "Alert";
|
|
55
|
+
// A playbook ran on the case.
|
|
56
|
+
SecurityCaseStoryItemKind["PlaybookRun"] = "PlaybookRun";
|
|
57
|
+
// Somebody wrote a note on the case.
|
|
58
|
+
SecurityCaseStoryItemKind["Note"] = "Note";
|
|
59
|
+
// The case was acknowledged, contained or closed.
|
|
60
|
+
SecurityCaseStoryItemKind["Milestone"] = "Milestone";
|
|
61
|
+
})(SecurityCaseStoryItemKind || (exports.SecurityCaseStoryItemKind = SecurityCaseStoryItemKind = {}));
|
|
62
|
+
var SecurityCaseStoryMilestone;
|
|
63
|
+
(function (SecurityCaseStoryMilestone) {
|
|
64
|
+
SecurityCaseStoryMilestone["Acknowledged"] = "Acknowledged";
|
|
65
|
+
SecurityCaseStoryMilestone["Contained"] = "Contained";
|
|
66
|
+
SecurityCaseStoryMilestone["Closed"] = "Closed";
|
|
67
|
+
})(SecurityCaseStoryMilestone || (exports.SecurityCaseStoryMilestone = SecurityCaseStoryMilestone = {}));
|
|
68
|
+
// Where a story's items come from: each read on its own, said when it could not be.
|
|
69
|
+
var SecurityCaseStorySource;
|
|
70
|
+
(function (SecurityCaseStorySource) {
|
|
71
|
+
SecurityCaseStorySource["Detections"] = "Detections";
|
|
72
|
+
SecurityCaseStorySource["Events"] = "Events";
|
|
73
|
+
SecurityCaseStorySource["Exceptions"] = "Exceptions";
|
|
74
|
+
SecurityCaseStorySource["Changes"] = "Changes";
|
|
75
|
+
SecurityCaseStorySource["Incidents"] = "Incidents";
|
|
76
|
+
SecurityCaseStorySource["Alerts"] = "Alerts";
|
|
77
|
+
SecurityCaseStorySource["PlaybookRuns"] = "PlaybookRuns";
|
|
78
|
+
SecurityCaseStorySource["Notes"] = "Notes";
|
|
79
|
+
})(SecurityCaseStorySource || (exports.SecurityCaseStorySource = SecurityCaseStorySource = {}));
|
|
80
|
+
/*
|
|
81
|
+
* The groups the story can be narrowed to, as the page offers them: the
|
|
82
|
+
* attack itself, what changed around it, what it set off, and the response.
|
|
83
|
+
*/
|
|
84
|
+
var SecurityCaseStoryFilter;
|
|
85
|
+
(function (SecurityCaseStoryFilter) {
|
|
86
|
+
SecurityCaseStoryFilter["All"] = "All";
|
|
87
|
+
SecurityCaseStoryFilter["Attack"] = "Attack";
|
|
88
|
+
SecurityCaseStoryFilter["Changes"] = "Changes";
|
|
89
|
+
SecurityCaseStoryFilter["IncidentsAndAlerts"] = "IncidentsAndAlerts";
|
|
90
|
+
SecurityCaseStoryFilter["Response"] = "Response";
|
|
91
|
+
})(SecurityCaseStoryFilter || (exports.SecurityCaseStoryFilter = SecurityCaseStoryFilter = {}));
|
|
92
|
+
exports.SECURITY_CASE_STORY_FILTER_OF_KIND = {
|
|
93
|
+
[SecurityCaseStoryItemKind.CaseOpened]: SecurityCaseStoryFilter.Response,
|
|
94
|
+
[SecurityCaseStoryItemKind.Detection]: SecurityCaseStoryFilter.Attack,
|
|
95
|
+
[SecurityCaseStoryItemKind.Events]: SecurityCaseStoryFilter.Attack,
|
|
96
|
+
[SecurityCaseStoryItemKind.Exception]: SecurityCaseStoryFilter.Attack,
|
|
97
|
+
[SecurityCaseStoryItemKind.Change]: SecurityCaseStoryFilter.Changes,
|
|
98
|
+
[SecurityCaseStoryItemKind.Incident]: SecurityCaseStoryFilter.IncidentsAndAlerts,
|
|
99
|
+
[SecurityCaseStoryItemKind.Alert]: SecurityCaseStoryFilter.IncidentsAndAlerts,
|
|
100
|
+
[SecurityCaseStoryItemKind.PlaybookRun]: SecurityCaseStoryFilter.Response,
|
|
101
|
+
[SecurityCaseStoryItemKind.Note]: SecurityCaseStoryFilter.Response,
|
|
102
|
+
[SecurityCaseStoryItemKind.Milestone]: SecurityCaseStoryFilter.Response,
|
|
103
|
+
};
|
|
104
|
+
// The most items a story holds; past it the least telling are left out first.
|
|
105
|
+
exports.SECURITY_CASE_STORY_MAX_ITEMS = 300;
|
|
106
|
+
// The most security events read for a story, before they are run together.
|
|
107
|
+
exports.SECURITY_CASE_STORY_MAX_EVENTS = 500;
|
|
108
|
+
// The most rows each other source reads.
|
|
109
|
+
exports.SECURITY_CASE_STORY_MAX_DETECTIONS = 100;
|
|
110
|
+
exports.SECURITY_CASE_STORY_MAX_EXCEPTIONS = 50;
|
|
111
|
+
exports.SECURITY_CASE_STORY_MAX_CHANGES = 100;
|
|
112
|
+
exports.SECURITY_CASE_STORY_MAX_INCIDENTS = 50;
|
|
113
|
+
exports.SECURITY_CASE_STORY_MAX_ALERTS = 50;
|
|
114
|
+
exports.SECURITY_CASE_STORY_MAX_PLAYBOOK_RUNS = 50;
|
|
115
|
+
exports.SECURITY_CASE_STORY_MAX_NOTES = 50;
|
|
116
|
+
/*
|
|
117
|
+
* Alike events closer together than this are told as one run: a scanner's
|
|
118
|
+
* ninety-six probes are one line of the story, not ninety-six.
|
|
119
|
+
*/
|
|
120
|
+
exports.SECURITY_CASE_STORY_RUN_GAP_IN_MINUTES = 30;
|
|
121
|
+
// The longest title or detail an item keeps.
|
|
122
|
+
exports.SECURITY_CASE_STORY_MAX_TEXT_LENGTH = 300;
|
|
123
|
+
// ---------- Impact ----------
|
|
124
|
+
// Where an impact's facts come from: each read on its own, said when it could not be.
|
|
125
|
+
var SecurityCaseImpactSource;
|
|
126
|
+
(function (SecurityCaseImpactSource) {
|
|
127
|
+
SecurityCaseImpactSource["Records"] = "Records";
|
|
128
|
+
SecurityCaseImpactSource["Dependencies"] = "Dependencies";
|
|
129
|
+
SecurityCaseImpactSource["Monitors"] = "Monitors";
|
|
130
|
+
SecurityCaseImpactSource["StatusPages"] = "StatusPages";
|
|
131
|
+
SecurityCaseImpactSource["Owners"] = "Owners";
|
|
132
|
+
SecurityCaseImpactSource["Changes"] = "Changes";
|
|
133
|
+
SecurityCaseImpactSource["NetworkFlows"] = "NetworkFlows";
|
|
134
|
+
SecurityCaseImpactSource["Events"] = "Events";
|
|
135
|
+
})(SecurityCaseImpactSource || (exports.SecurityCaseImpactSource = SecurityCaseImpactSource = {}));
|
|
136
|
+
var SecurityCaseInternetExposure;
|
|
137
|
+
(function (SecurityCaseInternetExposure) {
|
|
138
|
+
// OneUptime has seen it reached, or reachable, from the internet.
|
|
139
|
+
SecurityCaseInternetExposure["Yes"] = "Yes";
|
|
140
|
+
// Nothing OneUptime holds says either way.
|
|
141
|
+
SecurityCaseInternetExposure["Unknown"] = "Unknown";
|
|
142
|
+
})(SecurityCaseInternetExposure || (exports.SecurityCaseInternetExposure = SecurityCaseInternetExposure = {}));
|
|
143
|
+
var SecurityCaseExposureEvidenceKind;
|
|
144
|
+
(function (SecurityCaseExposureEvidenceKind) {
|
|
145
|
+
// A request from a public address reached the app (its trace says so).
|
|
146
|
+
SecurityCaseExposureEvidenceKind["PublicRequestReachedApp"] = "PublicRequestReachedApp";
|
|
147
|
+
// The record reports a public address of its own.
|
|
148
|
+
SecurityCaseExposureEvidenceKind["PublicAddress"] = "PublicAddress";
|
|
149
|
+
})(SecurityCaseExposureEvidenceKind || (exports.SecurityCaseExposureEvidenceKind = SecurityCaseExposureEvidenceKind = {}));
|
|
150
|
+
// The most peers of each kind listed for one record.
|
|
151
|
+
exports.SECURITY_CASE_IMPACT_MAX_PEERS = 8;
|
|
152
|
+
// The most flow peers listed for the case's addresses together.
|
|
153
|
+
exports.SECURITY_CASE_IMPACT_MAX_FLOW_PEERS = 10;
|
|
154
|
+
// The most of the case's addresses whose flows are read.
|
|
155
|
+
exports.SECURITY_CASE_IMPACT_MAX_FLOW_ADDRESSES = 10;
|
|
156
|
+
exports.SECURITY_CASE_IMPACT_MAX_STATUS_PAGES = 10;
|
|
157
|
+
// The most owners of each kind listed for one record.
|
|
158
|
+
exports.SECURITY_CASE_IMPACT_MAX_OWNERS = 10;
|
|
159
|
+
// The most pieces of evidence the internet verdict lists.
|
|
160
|
+
exports.SECURITY_CASE_IMPACT_MAX_EVIDENCE = 5;
|
|
161
|
+
/*
|
|
162
|
+
* How far back the service map is read for a record's calls: the week a
|
|
163
|
+
* service talks to everything it normally does.
|
|
164
|
+
*/
|
|
165
|
+
exports.SECURITY_CASE_IMPACT_DEPENDENCY_WINDOW_IN_DAYS = 7;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import commonJsModule from "./SecurityCaseContext.js";
|
|
2
|
+
export const SECURITY_CASE_CONTEXT_API_PATH = commonJsModule.SECURITY_CASE_CONTEXT_API_PATH;
|
|
3
|
+
export const SECURITY_CASE_IMPACT_API_PATH = commonJsModule.SECURITY_CASE_IMPACT_API_PATH;
|
|
4
|
+
export const SECURITY_CASE_IMPACT_DEPENDENCY_WINDOW_IN_DAYS = commonJsModule.SECURITY_CASE_IMPACT_DEPENDENCY_WINDOW_IN_DAYS;
|
|
5
|
+
export const SECURITY_CASE_IMPACT_MAX_EVIDENCE = commonJsModule.SECURITY_CASE_IMPACT_MAX_EVIDENCE;
|
|
6
|
+
export const SECURITY_CASE_IMPACT_MAX_FLOW_ADDRESSES = commonJsModule.SECURITY_CASE_IMPACT_MAX_FLOW_ADDRESSES;
|
|
7
|
+
export const SECURITY_CASE_IMPACT_MAX_FLOW_PEERS = commonJsModule.SECURITY_CASE_IMPACT_MAX_FLOW_PEERS;
|
|
8
|
+
export const SECURITY_CASE_IMPACT_MAX_OWNERS = commonJsModule.SECURITY_CASE_IMPACT_MAX_OWNERS;
|
|
9
|
+
export const SECURITY_CASE_IMPACT_MAX_PEERS = commonJsModule.SECURITY_CASE_IMPACT_MAX_PEERS;
|
|
10
|
+
export const SECURITY_CASE_IMPACT_MAX_STATUS_PAGES = commonJsModule.SECURITY_CASE_IMPACT_MAX_STATUS_PAGES;
|
|
11
|
+
export const SECURITY_CASE_STORY_API_PATH = commonJsModule.SECURITY_CASE_STORY_API_PATH;
|
|
12
|
+
export const SECURITY_CASE_STORY_FILTER_OF_KIND = commonJsModule.SECURITY_CASE_STORY_FILTER_OF_KIND;
|
|
13
|
+
export const SECURITY_CASE_STORY_MAX_ALERTS = commonJsModule.SECURITY_CASE_STORY_MAX_ALERTS;
|
|
14
|
+
export const SECURITY_CASE_STORY_MAX_CHANGES = commonJsModule.SECURITY_CASE_STORY_MAX_CHANGES;
|
|
15
|
+
export const SECURITY_CASE_STORY_MAX_DETECTIONS = commonJsModule.SECURITY_CASE_STORY_MAX_DETECTIONS;
|
|
16
|
+
export const SECURITY_CASE_STORY_MAX_EVENTS = commonJsModule.SECURITY_CASE_STORY_MAX_EVENTS;
|
|
17
|
+
export const SECURITY_CASE_STORY_MAX_EXCEPTIONS = commonJsModule.SECURITY_CASE_STORY_MAX_EXCEPTIONS;
|
|
18
|
+
export const SECURITY_CASE_STORY_MAX_INCIDENTS = commonJsModule.SECURITY_CASE_STORY_MAX_INCIDENTS;
|
|
19
|
+
export const SECURITY_CASE_STORY_MAX_ITEMS = commonJsModule.SECURITY_CASE_STORY_MAX_ITEMS;
|
|
20
|
+
export const SECURITY_CASE_STORY_MAX_NOTES = commonJsModule.SECURITY_CASE_STORY_MAX_NOTES;
|
|
21
|
+
export const SECURITY_CASE_STORY_MAX_PLAYBOOK_RUNS = commonJsModule.SECURITY_CASE_STORY_MAX_PLAYBOOK_RUNS;
|
|
22
|
+
export const SECURITY_CASE_STORY_MAX_TEXT_LENGTH = commonJsModule.SECURITY_CASE_STORY_MAX_TEXT_LENGTH;
|
|
23
|
+
export const SECURITY_CASE_STORY_RUN_GAP_IN_MINUTES = commonJsModule.SECURITY_CASE_STORY_RUN_GAP_IN_MINUTES;
|
|
24
|
+
export const SecurityCaseExposureEvidenceKind = commonJsModule.SecurityCaseExposureEvidenceKind;
|
|
25
|
+
export const SecurityCaseImpactSource = commonJsModule.SecurityCaseImpactSource;
|
|
26
|
+
export const SecurityCaseInternetExposure = commonJsModule.SecurityCaseInternetExposure;
|
|
27
|
+
export const SecurityCaseStoryFilter = commonJsModule.SecurityCaseStoryFilter;
|
|
28
|
+
export const SecurityCaseStoryItemKind = commonJsModule.SecurityCaseStoryItemKind;
|
|
29
|
+
export const SecurityCaseStoryMilestone = commonJsModule.SecurityCaseStoryMilestone;
|
|
30
|
+
export const SecurityCaseStorySource = commonJsModule.SecurityCaseStorySource;
|
|
@@ -48,3 +48,14 @@ export interface SecurityEntityRiskHistoryPoint {
|
|
|
48
48
|
day: string;
|
|
49
49
|
score: number;
|
|
50
50
|
}
|
|
51
|
+
export declare const SECURITY_OVERVIEW_RISKIEST_ENTITY_LIMIT: number;
|
|
52
|
+
export interface SecurityRiskiestEntity {
|
|
53
|
+
value: string;
|
|
54
|
+
type: SecurityEntityType | null;
|
|
55
|
+
score: number;
|
|
56
|
+
}
|
|
57
|
+
export interface SecurityRiskiestEntities {
|
|
58
|
+
threshold: number;
|
|
59
|
+
total: number;
|
|
60
|
+
entities: Array<SecurityRiskiestEntity>;
|
|
61
|
+
}
|
|
@@ -48,3 +48,14 @@ export interface SecurityEntityRiskHistoryPoint {
|
|
|
48
48
|
day: string;
|
|
49
49
|
score: number;
|
|
50
50
|
}
|
|
51
|
+
export declare const SECURITY_OVERVIEW_RISKIEST_ENTITY_LIMIT: number;
|
|
52
|
+
export interface SecurityRiskiestEntity {
|
|
53
|
+
value: string;
|
|
54
|
+
type: SecurityEntityType | null;
|
|
55
|
+
score: number;
|
|
56
|
+
}
|
|
57
|
+
export interface SecurityRiskiestEntities {
|
|
58
|
+
threshold: number;
|
|
59
|
+
total: number;
|
|
60
|
+
entities: Array<SecurityRiskiestEntity>;
|
|
61
|
+
}
|
|
@@ -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.RISK_DETECTION_SOURCES = exports.SECURITY_ENTITY_CRITICALITY_VALUE_MAX_LENGTH = exports.SECURITY_ENTITY_CRITICALITY_WEIGHTS = exports.SECURITY_ENTITY_CRITICALITIES = exports.SecurityEntityCriticality = exports.SECURITY_ENTITY_RISK_LEVELS = exports.SecurityEntityRiskLevel = exports.ENTITY_RISK_EXPLAINED_SEVERITIES = exports.ENTITY_RISK_POINTS_BY_SEVERITY = exports.RISK_ENTITY_TYPES = exports.ENTITY_RISK_CASE_THRESHOLD_MAX = exports.ENTITY_RISK_CASE_THRESHOLD_MIN = exports.DEFAULT_ENTITY_RISK_CASE_THRESHOLD = exports.ENTITY_RISK_POINTS_MAX = exports.ENTITY_RISK_POINTS_MIN = exports.ENTITY_RISK_CONTRIBUTION_LIMIT = exports.ENTITY_RISK_HISTORY_IN_DAYS = exports.ENTITY_RISK_WINDOW_IN_DAYS = void 0;
|
|
6
|
+
exports.SECURITY_OVERVIEW_RISKIEST_ENTITY_LIMIT = exports.RISK_DETECTION_SOURCES = exports.SECURITY_ENTITY_CRITICALITY_VALUE_MAX_LENGTH = exports.SECURITY_ENTITY_CRITICALITY_WEIGHTS = exports.SECURITY_ENTITY_CRITICALITIES = exports.SecurityEntityCriticality = exports.SECURITY_ENTITY_RISK_LEVELS = exports.SecurityEntityRiskLevel = exports.ENTITY_RISK_EXPLAINED_SEVERITIES = exports.ENTITY_RISK_POINTS_BY_SEVERITY = exports.RISK_ENTITY_TYPES = exports.ENTITY_RISK_CASE_THRESHOLD_MAX = exports.ENTITY_RISK_CASE_THRESHOLD_MIN = exports.DEFAULT_ENTITY_RISK_CASE_THRESHOLD = exports.ENTITY_RISK_POINTS_MAX = exports.ENTITY_RISK_POINTS_MIN = exports.ENTITY_RISK_CONTRIBUTION_LIMIT = exports.ENTITY_RISK_HISTORY_IN_DAYS = exports.ENTITY_RISK_WINDOW_IN_DAYS = void 0;
|
|
7
7
|
const OcsfSeverity_1 = __importDefault(require("../SecurityEvent/OcsfSeverity"));
|
|
8
8
|
const SecurityDetectionSource_1 = __importDefault(require("./SecurityDetectionSource"));
|
|
9
9
|
const SecurityEntity_1 = require("./SecurityEntity");
|
|
@@ -154,3 +154,11 @@ exports.RISK_DETECTION_SOURCES = [
|
|
|
154
154
|
SecurityDetectionSource_1.default.ThreatIntel,
|
|
155
155
|
SecurityDetectionSource_1.default.ConnectedProduct,
|
|
156
156
|
];
|
|
157
|
+
/*
|
|
158
|
+
* THE RISKIEST ENTITIES, as the Security Overview shows them: the top of
|
|
159
|
+
* Entity Risk's list - the same scores, in the same order - so "riskiest"
|
|
160
|
+
* means one thing wherever the product says it. Read with the overview
|
|
161
|
+
* (POST /security-case/overview), with the project's threshold, which each
|
|
162
|
+
* score's level is read against, and how many entities have risk now.
|
|
163
|
+
*/
|
|
164
|
+
exports.SECURITY_OVERVIEW_RISKIEST_ENTITY_LIMIT = 8;
|
|
@@ -15,5 +15,6 @@ export const SECURITY_ENTITY_CRITICALITIES = commonJsModule.SECURITY_ENTITY_CRIT
|
|
|
15
15
|
export const SECURITY_ENTITY_CRITICALITY_VALUE_MAX_LENGTH = commonJsModule.SECURITY_ENTITY_CRITICALITY_VALUE_MAX_LENGTH;
|
|
16
16
|
export const SECURITY_ENTITY_CRITICALITY_WEIGHTS = commonJsModule.SECURITY_ENTITY_CRITICALITY_WEIGHTS;
|
|
17
17
|
export const SECURITY_ENTITY_RISK_LEVELS = commonJsModule.SECURITY_ENTITY_RISK_LEVELS;
|
|
18
|
+
export const SECURITY_OVERVIEW_RISKIEST_ENTITY_LIMIT = commonJsModule.SECURITY_OVERVIEW_RISKIEST_ENTITY_LIMIT;
|
|
18
19
|
export const SecurityEntityCriticality = commonJsModule.SecurityEntityCriticality;
|
|
19
20
|
export const SecurityEntityRiskLevel = commonJsModule.SecurityEntityRiskLevel;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import IconProp from "../../Icon/IconProp.mjs";
|
|
2
|
+
import ProviderLogo from "../../ProviderLogo/ProviderLogo.mjs";
|
|
2
3
|
import SecurityEventConnectorProvider from "./SecurityEventConnectorProvider.mjs";
|
|
3
4
|
export type SecurityEventConnectorCategory = "SIEM" | "EDR / XDR" | "Cloud security" | "Identity";
|
|
4
5
|
export declare const SecurityEventConnectorCategories: Array<SecurityEventConnectorCategory>;
|
|
@@ -37,6 +38,7 @@ export interface SecurityEventConnectorDefinition {
|
|
|
37
38
|
description: string;
|
|
38
39
|
category: SecurityEventConnectorCategory;
|
|
39
40
|
icon: IconProp;
|
|
41
|
+
logo: ProviderLogo;
|
|
40
42
|
docsPath: string;
|
|
41
43
|
defaultPollIntervalInMinutes: number;
|
|
42
44
|
configFields: Array<ConnectorField>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import IconProp from "../../Icon/IconProp";
|
|
2
|
+
import ProviderLogo from "../../ProviderLogo/ProviderLogo";
|
|
2
3
|
import SecurityEventConnectorProvider from "./SecurityEventConnectorProvider";
|
|
3
4
|
export type SecurityEventConnectorCategory = "SIEM" | "EDR / XDR" | "Cloud security" | "Identity";
|
|
4
5
|
export declare const SecurityEventConnectorCategories: Array<SecurityEventConnectorCategory>;
|
|
@@ -37,6 +38,7 @@ export interface SecurityEventConnectorDefinition {
|
|
|
37
38
|
description: string;
|
|
38
39
|
category: SecurityEventConnectorCategory;
|
|
39
40
|
icon: IconProp;
|
|
41
|
+
logo: ProviderLogo;
|
|
40
42
|
docsPath: string;
|
|
41
43
|
defaultPollIntervalInMinutes: number;
|
|
42
44
|
configFields: Array<ConnectorField>;
|
|
@@ -7,6 +7,7 @@ exports.SecurityEventConnectorCatalog = exports.CLOSE_ALERTS_WHEN_CASE_CLOSES_KE
|
|
|
7
7
|
exports.getSecurityEventConnectorDefinition = getSecurityEventConnectorDefinition;
|
|
8
8
|
exports.getSecurityEventConnectorTitle = getSecurityEventConnectorTitle;
|
|
9
9
|
const IconProp_1 = __importDefault(require("../../Icon/IconProp"));
|
|
10
|
+
const ProviderLogo_1 = __importDefault(require("../../ProviderLogo/ProviderLogo"));
|
|
10
11
|
const GoogleSecOpsRegion_1 = require("../GoogleSecOpsRegion");
|
|
11
12
|
const SecurityEventConnectorProvider_1 = __importDefault(require("./SecurityEventConnectorProvider"));
|
|
12
13
|
exports.SecurityEventConnectorCategories = ["SIEM", "EDR / XDR", "Cloud security", "Identity"];
|
|
@@ -29,6 +30,7 @@ exports.SecurityEventConnectorCatalog = [
|
|
|
29
30
|
description: "Import Sentinel incidents from a Log Analytics workspace as Incident Finding events.",
|
|
30
31
|
category: "SIEM",
|
|
31
32
|
icon: IconProp_1.default.ShieldCheck,
|
|
33
|
+
logo: ProviderLogo_1.default.MicrosoftSentinel,
|
|
32
34
|
docsPath: "/docs/integrations/microsoft-sentinel",
|
|
33
35
|
defaultPollIntervalInMinutes: 5,
|
|
34
36
|
supportsAlertingOnlyToggle: false,
|
|
@@ -100,6 +102,7 @@ exports.SecurityEventConnectorCatalog = [
|
|
|
100
102
|
description: "Import Defender XDR alerts through the Microsoft Graph security API as Detection Finding events.",
|
|
101
103
|
category: "EDR / XDR",
|
|
102
104
|
icon: IconProp_1.default.ShieldExclamation,
|
|
105
|
+
logo: ProviderLogo_1.default.MicrosoftDefender,
|
|
103
106
|
docsPath: "/docs/integrations/microsoft-defender-xdr",
|
|
104
107
|
defaultPollIntervalInMinutes: 5,
|
|
105
108
|
supportsAlertingOnlyToggle: false,
|
|
@@ -150,6 +153,7 @@ exports.SecurityEventConnectorCatalog = [
|
|
|
150
153
|
description: "Import Falcon alerts (endpoint, identity and cloud detections) as Detection Finding events.",
|
|
151
154
|
category: "EDR / XDR",
|
|
152
155
|
icon: IconProp_1.default.Bolt,
|
|
156
|
+
logo: ProviderLogo_1.default.CrowdStrike,
|
|
153
157
|
docsPath: "/docs/integrations/crowdstrike-falcon",
|
|
154
158
|
defaultPollIntervalInMinutes: 5,
|
|
155
159
|
supportsAlertingOnlyToggle: false,
|
|
@@ -199,6 +203,7 @@ exports.SecurityEventConnectorCatalog = [
|
|
|
199
203
|
description: "Import notable events from Splunk Enterprise Security (or any saved search) as Detection Finding events.",
|
|
200
204
|
category: "SIEM",
|
|
201
205
|
icon: IconProp_1.default.Search,
|
|
206
|
+
logo: ProviderLogo_1.default.Splunk,
|
|
202
207
|
docsPath: "/docs/integrations/splunk",
|
|
203
208
|
defaultPollIntervalInMinutes: 5,
|
|
204
209
|
supportsAlertingOnlyToggle: false,
|
|
@@ -255,6 +260,7 @@ exports.SecurityEventConnectorCatalog = [
|
|
|
255
260
|
description: "Import detection alerts from Elastic Security through the Kibana detections API as Detection Finding events.",
|
|
256
261
|
category: "SIEM",
|
|
257
262
|
icon: IconProp_1.default.Database,
|
|
263
|
+
logo: ProviderLogo_1.default.Elastic,
|
|
258
264
|
docsPath: "/docs/integrations/elastic-security",
|
|
259
265
|
defaultPollIntervalInMinutes: 5,
|
|
260
266
|
supportsAlertingOnlyToggle: false,
|
|
@@ -295,6 +301,7 @@ exports.SecurityEventConnectorCatalog = [
|
|
|
295
301
|
description: "Import Security Hub findings (GuardDuty, Inspector, Macie, IAM Access Analyzer and partner products) as Detection and Compliance Finding events.",
|
|
296
302
|
category: "Cloud security",
|
|
297
303
|
icon: IconProp_1.default.Cloud,
|
|
304
|
+
logo: ProviderLogo_1.default.AwsSecurityHub,
|
|
298
305
|
docsPath: "/docs/integrations/aws-security-hub",
|
|
299
306
|
defaultPollIntervalInMinutes: 5,
|
|
300
307
|
supportsAlertingOnlyToggle: false,
|
|
@@ -343,6 +350,7 @@ exports.SecurityEventConnectorCatalog = [
|
|
|
343
350
|
description: "Import authentication, MFA, account and policy events from the Okta System Log as OCSF identity events.",
|
|
344
351
|
category: "Identity",
|
|
345
352
|
icon: IconProp_1.default.Key,
|
|
353
|
+
logo: ProviderLogo_1.default.Okta,
|
|
346
354
|
docsPath: "/docs/integrations/okta",
|
|
347
355
|
defaultPollIntervalInMinutes: 5,
|
|
348
356
|
supportsAlertingOnlyToggle: false,
|
|
@@ -390,6 +398,7 @@ exports.SecurityEventConnectorCatalog = [
|
|
|
390
398
|
description: "Import Google SecOps (Chronicle) alerts and rule detections as Detection Finding events.",
|
|
391
399
|
category: "SIEM",
|
|
392
400
|
icon: IconProp_1.default.ViewfinderCircle,
|
|
401
|
+
logo: ProviderLogo_1.default.GoogleSecurityOperations,
|
|
393
402
|
docsPath: "/docs/integrations/google-secops",
|
|
394
403
|
defaultPollIntervalInMinutes: 5,
|
|
395
404
|
supportsAlertingOnlyToggle: true,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import IconProp from "../../Icon/IconProp.mjs";
|
|
2
|
+
import ProviderLogo from "../../ProviderLogo/ProviderLogo.mjs";
|
|
2
3
|
import { ConnectorField } from "../Connectors/SecurityEventConnectorCatalog.mjs";
|
|
3
4
|
import SecurityEventDestinationProvider from "./SecurityEventDestinationProvider.mjs";
|
|
4
5
|
export interface SecurityEventDestinationDefinition {
|
|
@@ -6,6 +7,7 @@ export interface SecurityEventDestinationDefinition {
|
|
|
6
7
|
title: string;
|
|
7
8
|
description: string;
|
|
8
9
|
icon: IconProp;
|
|
10
|
+
logo: ProviderLogo;
|
|
9
11
|
docsPath: string;
|
|
10
12
|
configFields: Array<ConnectorField>;
|
|
11
13
|
secretFields: Array<ConnectorField>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import IconProp from "../../Icon/IconProp";
|
|
2
|
+
import ProviderLogo from "../../ProviderLogo/ProviderLogo";
|
|
2
3
|
import { ConnectorField } from "../Connectors/SecurityEventConnectorCatalog";
|
|
3
4
|
import SecurityEventDestinationProvider from "./SecurityEventDestinationProvider";
|
|
4
5
|
export interface SecurityEventDestinationDefinition {
|
|
@@ -6,6 +7,7 @@ export interface SecurityEventDestinationDefinition {
|
|
|
6
7
|
title: string;
|
|
7
8
|
description: string;
|
|
8
9
|
icon: IconProp;
|
|
10
|
+
logo: ProviderLogo;
|
|
9
11
|
docsPath: string;
|
|
10
12
|
configFields: Array<ConnectorField>;
|
|
11
13
|
secretFields: Array<ConnectorField>;
|
|
@@ -7,6 +7,7 @@ exports.SecurityEventDestinationCatalog = exports.ELASTIC_DEFAULT_DATA_STREAM =
|
|
|
7
7
|
exports.getSecurityEventDestinationDefinition = getSecurityEventDestinationDefinition;
|
|
8
8
|
exports.getSecurityEventDestinationTitle = getSecurityEventDestinationTitle;
|
|
9
9
|
const IconProp_1 = __importDefault(require("../../Icon/IconProp"));
|
|
10
|
+
const ProviderLogo_1 = __importDefault(require("../../ProviderLogo/ProviderLogo"));
|
|
10
11
|
const GoogleSecOpsRegion_1 = require("../GoogleSecOpsRegion");
|
|
11
12
|
const SecurityEventDestinationProvider_1 = __importDefault(require("./SecurityEventDestinationProvider"));
|
|
12
13
|
exports.GOOGLE_SECOPS_DESTINATION_DOCS_PATH = "/docs/integrations/google-secops#send-security-events-to-google-secops";
|
|
@@ -30,6 +31,7 @@ exports.SecurityEventDestinationCatalog = [
|
|
|
30
31
|
{
|
|
31
32
|
provider: SecurityEventDestinationProvider_1.default.GoogleSecOps,
|
|
32
33
|
title: "Google SecOps",
|
|
34
|
+
logo: ProviderLogo_1.default.GoogleSecurityOperations,
|
|
33
35
|
description: "As UDM events, through the Chronicle API.",
|
|
34
36
|
icon: IconProp_1.default.ViewfinderCircle,
|
|
35
37
|
docsPath: exports.GOOGLE_SECOPS_DESTINATION_DOCS_PATH,
|
|
@@ -78,6 +80,7 @@ exports.SecurityEventDestinationCatalog = [
|
|
|
78
80
|
{
|
|
79
81
|
provider: SecurityEventDestinationProvider_1.default.Splunk,
|
|
80
82
|
title: "Splunk",
|
|
83
|
+
logo: ProviderLogo_1.default.Splunk,
|
|
81
84
|
description: "Through its HTTP Event Collector (HEC), with CIM field names.",
|
|
82
85
|
icon: IconProp_1.default.Search,
|
|
83
86
|
docsPath: exports.SPLUNK_DESTINATION_DOCS_PATH,
|
|
@@ -131,6 +134,7 @@ exports.SecurityEventDestinationCatalog = [
|
|
|
131
134
|
{
|
|
132
135
|
provider: SecurityEventDestinationProvider_1.default.MicrosoftSentinel,
|
|
133
136
|
title: "Microsoft Sentinel",
|
|
137
|
+
logo: ProviderLogo_1.default.MicrosoftSentinel,
|
|
134
138
|
description: "To a workspace's custom table, through the Azure Monitor Logs Ingestion API.",
|
|
135
139
|
icon: IconProp_1.default.ShieldCheck,
|
|
136
140
|
docsPath: exports.MICROSOFT_SENTINEL_DESTINATION_DOCS_PATH,
|
|
@@ -211,6 +215,7 @@ exports.SecurityEventDestinationCatalog = [
|
|
|
211
215
|
{
|
|
212
216
|
provider: SecurityEventDestinationProvider_1.default.ElasticSecurity,
|
|
213
217
|
title: "Elastic Security",
|
|
218
|
+
logo: ProviderLogo_1.default.Elastic,
|
|
214
219
|
description: "As Elastic Common Schema (ECS) documents in an Elasticsearch data stream.",
|
|
215
220
|
icon: IconProp_1.default.Database,
|
|
216
221
|
docsPath: exports.ELASTIC_SECURITY_DESTINATION_DOCS_PATH,
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { JSONObject } from "../JSON.mjs";
|
|
2
|
+
export declare const DETECTION_RETROHUNT_PERIODS_IN_HOURS: ReadonlyArray<number>;
|
|
3
|
+
export declare const DETECTION_RETROHUNT_DEFAULT_PERIOD_IN_HOURS: number;
|
|
4
|
+
export declare const DETECTION_RETROHUNT_MAX_GROUPS: number;
|
|
5
|
+
export declare const DETECTION_RETROHUNT_NOISY_FIRINGS_PER_DAY: number;
|
|
6
|
+
export declare function isDetectionRetrohuntPeriod(value: unknown): value is number;
|
|
7
|
+
export interface DetectionRetrohuntGroup {
|
|
8
|
+
value: string;
|
|
9
|
+
entityType: string;
|
|
10
|
+
firedCount: number;
|
|
11
|
+
eventCount: number;
|
|
12
|
+
firstFiredAt: Date | null;
|
|
13
|
+
lastFiredAt: Date | null;
|
|
14
|
+
sampleMessage: string;
|
|
15
|
+
summary: string;
|
|
16
|
+
}
|
|
17
|
+
export interface DetectionRetrohuntResult {
|
|
18
|
+
startTime: Date;
|
|
19
|
+
endTime: Date;
|
|
20
|
+
periodInHours: number;
|
|
21
|
+
isCorrelation: boolean;
|
|
22
|
+
windowInMinutes: number;
|
|
23
|
+
threshold: number | null;
|
|
24
|
+
firedCount: number;
|
|
25
|
+
groupCount: number;
|
|
26
|
+
eventCount: number;
|
|
27
|
+
matchedEventCount: number | null;
|
|
28
|
+
exceptionCount: number;
|
|
29
|
+
skippedEventCount: number | null;
|
|
30
|
+
preventedFiredCount: number | null;
|
|
31
|
+
groups: Array<DetectionRetrohuntGroup>;
|
|
32
|
+
hasMoreGroups: boolean;
|
|
33
|
+
candidateLimit: number | null;
|
|
34
|
+
}
|
|
35
|
+
export declare function getDetectionRetrohuntFiringsPerDay(result: Pick<DetectionRetrohuntResult, "firedCount" | "periodInHours">): number;
|
|
36
|
+
export declare function isDetectionRetrohuntNoisy(result: Pick<DetectionRetrohuntResult, "firedCount" | "periodInHours">): boolean;
|
|
37
|
+
export declare function detectionRetrohuntResultToJSON(result: DetectionRetrohuntResult): JSONObject;
|
|
38
|
+
export declare function parseDetectionRetrohuntResult(json: JSONObject): DetectionRetrohuntResult;
|