@oneuptime/common 14.0.95 → 14.0.97
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/NetworkFlow.d.mts +4 -0
- package/Models/AnalyticsModels/NetworkFlow.d.ts +4 -0
- package/Models/AnalyticsModels/NetworkFlow.js +50 -0
- package/Models/DatabaseModels/Alert.d.mts +2 -0
- package/Models/DatabaseModels/Alert.d.ts +2 -0
- package/Models/DatabaseModels/Alert.js +63 -0
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.js +14 -37
- 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/Incident.d.mts +2 -0
- package/Models/DatabaseModels/Incident.d.ts +2 -0
- package/Models/DatabaseModels/Incident.js +63 -0
- package/Models/DatabaseModels/Index.js +12 -0
- package/Models/DatabaseModels/NetworkAddressName.d.mts +14 -0
- package/Models/DatabaseModels/NetworkAddressName.d.ts +14 -0
- package/Models/DatabaseModels/NetworkAddressName.js +300 -0
- package/Models/DatabaseModels/NetworkAddressName.mjs +2 -0
- package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDevice.js +38 -0
- package/Models/DatabaseModels/SecurityCase.d.mts +8 -0
- package/Models/DatabaseModels/SecurityCase.d.ts +8 -0
- package/Models/DatabaseModels/SecurityCase.js +145 -0
- package/Models/DatabaseModels/SecurityCaseEvidence.d.mts +28 -0
- package/Models/DatabaseModels/SecurityCaseEvidence.d.ts +28 -0
- package/Models/DatabaseModels/SecurityCaseEvidence.js +489 -0
- package/Models/DatabaseModels/SecurityCaseEvidence.mjs +2 -0
- package/Models/DatabaseModels/SecurityCaseFeed.d.mts +4 -1
- package/Models/DatabaseModels/SecurityCaseFeed.d.ts +4 -1
- package/Models/DatabaseModels/SecurityCaseFeed.js +6 -0
- package/Models/DatabaseModels/SecurityCasePriority.d.mts +2 -0
- package/Models/DatabaseModels/SecurityCasePriority.d.ts +2 -0
- package/Models/DatabaseModels/SecurityCasePriority.js +44 -0
- package/Models/DatabaseModels/SecurityCaseTask.d.mts +22 -0
- package/Models/DatabaseModels/SecurityCaseTask.d.ts +22 -0
- package/Models/DatabaseModels/SecurityCaseTask.js +467 -0
- package/Models/DatabaseModels/SecurityCaseTask.mjs +2 -0
- package/Models/DatabaseModels/SecurityWatchlist.d.mts +22 -0
- package/Models/DatabaseModels/SecurityWatchlist.d.ts +22 -0
- package/Models/DatabaseModels/SecurityWatchlist.js +411 -0
- package/Models/DatabaseModels/SecurityWatchlist.mjs +2 -0
- package/Models/DatabaseModels/SecurityWatchlistItem.d.mts +17 -0
- package/Models/DatabaseModels/SecurityWatchlistItem.d.ts +17 -0
- package/Models/DatabaseModels/SecurityWatchlistItem.js +321 -0
- package/Models/DatabaseModels/SecurityWatchlistItem.mjs +2 -0
- package/Types/AI/AiAffectedResources.d.mts +2 -1
- package/Types/AI/AiAffectedResources.d.ts +2 -1
- package/Types/AI/AiAffectedResources.js +12 -1
- package/Types/AffectedResources/AffectedResourceSearch.d.mts +53 -0
- package/Types/AffectedResources/AffectedResourceSearch.d.ts +53 -0
- package/Types/AffectedResources/AffectedResourceSearch.js +224 -0
- package/Types/AffectedResources/AffectedResourceSearch.mjs +11 -0
- package/Types/ArchivableValue/ArchivableValueUsage.d.mts +21 -2
- package/Types/ArchivableValue/ArchivableValueUsage.d.ts +21 -2
- package/Types/ArchivableValue/ArchivableValueUsage.js +91 -12
- package/Types/ArchivableValue/ArchivableValueUsage.mjs +1 -0
- package/Types/Color.d.mts +0 -2
- package/Types/Color.d.ts +0 -2
- package/Types/Color.js +0 -14
- package/Types/Database/DatabaseProperty.d.mts +0 -2
- package/Types/Database/DatabaseProperty.d.ts +0 -2
- package/Types/Database/DatabaseProperty.js +0 -3
- 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/Date.d.mts +0 -2
- package/Types/Date.d.ts +0 -2
- package/Types/Date.js +0 -23
- package/Types/Domain.d.mts +0 -2
- package/Types/Domain.d.ts +0 -2
- package/Types/Domain.js +0 -14
- package/Types/Email/EmailTemplateType.d.mts +2 -0
- package/Types/Email/EmailTemplateType.d.ts +2 -0
- package/Types/Email/EmailTemplateType.js +2 -0
- package/Types/Email.d.mts +0 -2
- package/Types/Email.d.ts +0 -2
- package/Types/Email.js +0 -15
- package/Types/IP/IP.d.mts +0 -2
- package/Types/IP/IP.d.ts +0 -2
- package/Types/IP/IP.js +0 -14
- package/Types/JSONFunctions.js +16 -1
- package/Types/Monitor/CriteriaAlert.d.mts +0 -2
- package/Types/Monitor/CriteriaAlert.d.ts +0 -2
- package/Types/Monitor/CriteriaAlert.js +0 -18
- package/Types/Monitor/CriteriaAlert.mjs +1 -2
- package/Types/Monitor/CriteriaFilter.d.mts +0 -2
- package/Types/Monitor/CriteriaFilter.d.ts +0 -2
- package/Types/Monitor/CriteriaFilter.js +1 -42
- package/Types/Monitor/CriteriaFilter.mjs +0 -1
- package/Types/Monitor/CriteriaIncident.d.mts +0 -2
- package/Types/Monitor/CriteriaIncident.d.ts +0 -2
- package/Types/Monitor/CriteriaIncident.js +0 -23
- package/Types/Monitor/CriteriaIncident.mjs +1 -2
- package/Types/Monitor/IncomingMonitor/IncidentGroupingConfig.d.mts +0 -2
- package/Types/Monitor/IncomingMonitor/IncidentGroupingConfig.d.ts +0 -2
- package/Types/Monitor/IncomingMonitor/IncidentGroupingConfig.js +0 -11
- package/Types/Monitor/IncomingMonitor/IncidentGroupingConfig.mjs +1 -2
- package/Types/Monitor/MonitorCriteria.d.mts +0 -2
- package/Types/Monitor/MonitorCriteria.d.ts +0 -2
- package/Types/Monitor/MonitorCriteria.js +0 -21
- package/Types/Monitor/MonitorCriteriaInstance.d.mts +0 -2
- package/Types/Monitor/MonitorCriteriaInstance.d.ts +0 -2
- package/Types/Monitor/MonitorCriteriaInstance.js +0 -54
- package/Types/Monitor/MonitorStep.d.mts +0 -2
- package/Types/Monitor/MonitorStep.d.ts +0 -2
- package/Types/Monitor/MonitorStep.js +0 -80
- package/Types/Monitor/MonitorSteps.d.mts +0 -2
- package/Types/Monitor/MonitorSteps.d.ts +0 -2
- package/Types/Monitor/MonitorSteps.js +0 -31
- 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/Name.d.mts +0 -2
- package/Types/Name.d.ts +0 -2
- package/Types/Name.js +0 -14
- package/Types/NetFlow/NetworkAddressName.d.mts +30 -0
- package/Types/NetFlow/NetworkAddressName.d.ts +30 -0
- package/Types/NetFlow/NetworkAddressName.js +149 -0
- package/Types/NetFlow/NetworkAddressName.mjs +6 -0
- package/Types/NetFlow/NetworkTraffic.d.mts +20 -0
- package/Types/NetFlow/NetworkTraffic.d.ts +20 -0
- package/Types/NetFlow/NetworkTraffic.js +5 -1
- package/Types/NetFlow/NetworkTraffic.mjs +2 -0
- package/Types/NetworkController/NetworkControllerReadSummary.d.mts +2 -0
- package/Types/NetworkController/NetworkControllerReadSummary.d.ts +2 -0
- package/Types/NetworkController/NetworkControllerReadSummary.js +7 -1
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.mts +47 -1
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.ts +47 -1
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.js +173 -8
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.mjs +7 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.js +3 -0
- package/Types/NotificationSetting/NotificationEmailRollupPolicy.js +6 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.mts +2 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.ts +2 -0
- package/Types/NotificationSetting/NotificationSettingEventType.js +9 -0
- package/Types/ObjectID.d.mts +0 -1
- package/Types/ObjectID.d.ts +0 -1
- package/Types/ObjectID.js +0 -9
- 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/OnCallDutyPolicyRunEnding.d.mts +4 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunEnding.d.ts +4 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunEnding.js +25 -1
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunEnding.mjs +4 -0
- package/Types/OnCallDutyPolicy/OnCallEmptyLevel.d.mts +15 -0
- package/Types/OnCallDutyPolicy/OnCallEmptyLevel.d.ts +15 -0
- package/Types/OnCallDutyPolicy/OnCallEmptyLevel.js +118 -0
- package/Types/OnCallDutyPolicy/OnCallEmptyLevel.mjs +9 -0
- package/Types/Permission.d.mts +8 -0
- package/Types/Permission.d.ts +8 -0
- package/Types/Permission.js +87 -3
- package/Types/Phone.d.mts +0 -2
- package/Types/Phone.d.ts +0 -2
- package/Types/Phone.js +0 -14
- package/Types/Port.d.mts +0 -2
- package/Types/Port.d.ts +0 -2
- package/Types/Port.js +0 -14
- package/Types/ProviderLogo/ProviderLogo.d.mts +24 -1
- package/Types/ProviderLogo/ProviderLogo.d.ts +24 -1
- package/Types/ProviderLogo/ProviderLogo.js +47 -0
- package/Types/SecurityCase/SecurityCaseEvidenceKind.d.mts +7 -0
- package/Types/SecurityCase/SecurityCaseEvidenceKind.d.ts +7 -0
- package/Types/SecurityCase/SecurityCaseEvidenceKind.js +24 -0
- package/Types/SecurityCase/SecurityCaseEvidenceKind.mjs +4 -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/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/SecurityWatchlist.d.mts +167 -0
- package/Types/SecurityEvent/SecurityWatchlist.d.ts +167 -0
- package/Types/SecurityEvent/SecurityWatchlist.js +648 -0
- package/Types/SecurityEvent/SecurityWatchlist.mjs +51 -0
- package/Types/SecurityEvent/SigmaRule.d.mts +2 -0
- package/Types/SecurityEvent/SigmaRule.d.ts +2 -0
- package/Types/SecurityEvent/SigmaRule.js +5 -0
- package/Types/Telemetry/OpenTelemetryGuides.d.mts +52 -0
- package/Types/Telemetry/OpenTelemetryGuides.d.ts +52 -0
- package/Types/Telemetry/OpenTelemetryGuides.js +591 -0
- package/Types/Telemetry/OpenTelemetryGuides.mjs +17 -0
- package/Types/Version.d.mts +0 -2
- package/Types/Version.d.ts +0 -2
- package/Types/Version.js +0 -14
- package/Types/Workflow/AffectedResourcesSetting.d.mts +13 -0
- package/Types/Workflow/AffectedResourcesSetting.d.ts +13 -0
- package/Types/Workflow/AffectedResourcesSetting.js +120 -0
- package/Types/Workflow/AffectedResourcesSetting.mjs +8 -0
- package/Types/Workflow/Components/BaseModel.js +15 -3
- package/Types/Workflow/Documentation/DatabaseDocumentation.js +36 -0
- package/Utils/Inventory/AssetFactSource.d.mts +6 -2
- package/Utils/Inventory/AssetFactSource.d.ts +6 -2
- package/Utils/Inventory/AssetFactSource.js +18 -1
- package/Utils/Inventory/AssetFactSource.mjs +1 -0
- package/Utils/Markdown/FeedLead.d.mts +10 -0
- package/Utils/Markdown/FeedLead.d.ts +10 -0
- package/Utils/Markdown/FeedLead.js +198 -0
- package/Utils/Markdown/FeedLead.mjs +8 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.mts +9 -1
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.ts +9 -1
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.js +139 -18
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.mjs +1 -0
- package/Utils/NetworkDevice/NetworkDeviceRefresh.d.mts +88 -0
- package/Utils/NetworkDevice/NetworkDeviceRefresh.d.ts +88 -0
- package/Utils/NetworkDevice/NetworkDeviceRefresh.js +232 -0
- package/Utils/NetworkDevice/NetworkDeviceRefresh.mjs +16 -0
- package/Utils/NetworkTraffic/NetworkAddressBlock.d.mts +20 -0
- package/Utils/NetworkTraffic/NetworkAddressBlock.d.ts +20 -0
- package/Utils/NetworkTraffic/NetworkAddressBlock.js +264 -0
- package/Utils/NetworkTraffic/NetworkAddressBlock.mjs +3 -0
- package/Utils/Schema/MonitorSchemas.d.mts +9 -0
- package/Utils/Schema/MonitorSchemas.d.ts +9 -0
- package/Utils/Schema/MonitorSchemas.js +291 -0
- package/Utils/Schema/MonitorSchemas.mjs +9 -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/TypeSchemas.d.mts +12 -0
- package/Utils/Schema/TypeSchemas.d.ts +12 -0
- package/Utils/Schema/TypeSchemas.js +176 -0
- package/Utils/Schema/TypeSchemas.mjs +11 -0
- package/Utils/Schema/Zod.js +23 -17
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.mts +34 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.ts +34 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.js +69 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.mjs +9 -0
- package/Utils/SecurityCase/SecurityCasePriorities.d.mts +2 -0
- package/Utils/SecurityCase/SecurityCasePriorities.d.ts +2 -0
- package/Utils/SecurityCase/SecurityCasePriorities.js +15 -1
- package/Utils/SecurityCase/SecurityCaseTargets.d.mts +128 -0
- package/Utils/SecurityCase/SecurityCaseTargets.d.ts +128 -0
- package/Utils/SecurityCase/SecurityCaseTargets.js +482 -0
- package/Utils/SecurityCase/SecurityCaseTargets.mjs +28 -0
- package/Utils/SecurityEvent/Sigma/SigmaRuleParser.js +22 -0
- package/Utils/SecurityEvent/Sigma/SigmaWatchlists.d.mts +24 -0
- package/Utils/SecurityEvent/Sigma/SigmaWatchlists.d.ts +24 -0
- package/Utils/SecurityEvent/Sigma/SigmaWatchlists.js +183 -0
- package/Utils/SecurityEvent/Sigma/SigmaWatchlists.mjs +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { SecurityEntityType } from "../SecurityCase/SecurityEntity";
|
|
2
|
+
import { ThreatIntelIndicatorType } from "./ThreatIntelConstants";
|
|
3
|
+
export declare enum SecurityWatchlistSource {
|
|
4
|
+
Values = "Values",
|
|
5
|
+
ThreatIntelFeed = "Threat Intel Feed"
|
|
6
|
+
}
|
|
7
|
+
export declare const SECURITY_WATCHLIST_SOURCES: ReadonlyArray<SecurityWatchlistSource>;
|
|
8
|
+
export declare const SECURITY_WATCHLIST_ENTITY_TYPES: ReadonlyArray<SecurityEntityType>;
|
|
9
|
+
export declare const SECURITY_WATCHLIST_FEED_INDICATOR_TYPES: Readonly<Partial<Record<SecurityEntityType, ReadonlyArray<ThreatIntelIndicatorType>>>>;
|
|
10
|
+
export declare const SECURITY_WATCHLIST_FEED_ENTITY_TYPES: ReadonlyArray<SecurityEntityType>;
|
|
11
|
+
export declare const SECURITY_WATCHLIST_SNIPPET_FIELDS: Readonly<Record<string, string>>;
|
|
12
|
+
export declare const SECURITY_WATCHLIST_DEFAULT_SNIPPET_FIELD: string;
|
|
13
|
+
export declare const SECURITY_WATCHLIST_MODIFIER: string;
|
|
14
|
+
export declare const SECURITY_WATCHLIST_PLACEHOLDER_MARK: string;
|
|
15
|
+
export declare const SECURITY_WATCHLIST_NAME_MAX_LENGTH: number;
|
|
16
|
+
export declare const SECURITY_WATCHLIST_DESCRIPTION_MAX_LENGTH: number;
|
|
17
|
+
export declare const SECURITY_WATCHLIST_VALUES_MAX: number;
|
|
18
|
+
export declare const SECURITY_WATCHLIST_PATTERN_VALUES_MAX: number;
|
|
19
|
+
export declare const SECURITY_WATCHLIST_RANGE_VALUES_MAX: number;
|
|
20
|
+
export declare const SECURITY_WATCHLIST_VALUE_MAX_LENGTH: number;
|
|
21
|
+
export declare const SECURITY_WATCHLIST_NOTE_MAX_LENGTH: number;
|
|
22
|
+
export declare const SECURITY_WATCHLISTS_PER_PROJECT_MAX: number;
|
|
23
|
+
export declare const SECURITY_WATCHLIST_IMPORT_MAX_CHARACTERS: number;
|
|
24
|
+
export declare const SECURITY_WATCHLIST_WILDCARD: string;
|
|
25
|
+
export declare const SECURITY_WATCHLIST_MESSAGES: {
|
|
26
|
+
enterValue: {
|
|
27
|
+
message: string;
|
|
28
|
+
};
|
|
29
|
+
loneWildcard: {
|
|
30
|
+
message: string;
|
|
31
|
+
};
|
|
32
|
+
valueTooLong: {
|
|
33
|
+
message: string;
|
|
34
|
+
};
|
|
35
|
+
valueNotOneLine: {
|
|
36
|
+
message: string;
|
|
37
|
+
};
|
|
38
|
+
notAnAddress: {
|
|
39
|
+
message: string;
|
|
40
|
+
};
|
|
41
|
+
notAHash: {
|
|
42
|
+
message: string;
|
|
43
|
+
};
|
|
44
|
+
noteTooLong: {
|
|
45
|
+
message: string;
|
|
46
|
+
};
|
|
47
|
+
enterName: {
|
|
48
|
+
message: string;
|
|
49
|
+
};
|
|
50
|
+
nameTooLong: {
|
|
51
|
+
message: string;
|
|
52
|
+
};
|
|
53
|
+
nameCharacters: {
|
|
54
|
+
message: string;
|
|
55
|
+
};
|
|
56
|
+
tooManyValues: {
|
|
57
|
+
message: string;
|
|
58
|
+
};
|
|
59
|
+
tooManyPatterns: {
|
|
60
|
+
message: string;
|
|
61
|
+
};
|
|
62
|
+
tooManyRanges: {
|
|
63
|
+
message: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export declare enum SecurityWatchlistValueMatch {
|
|
67
|
+
Exact = "exact",
|
|
68
|
+
Pattern = "pattern",
|
|
69
|
+
Range = "range"
|
|
70
|
+
}
|
|
71
|
+
export interface SigmaWatchlist {
|
|
72
|
+
name: string;
|
|
73
|
+
entityType: SecurityEntityType;
|
|
74
|
+
exactValues: Array<string>;
|
|
75
|
+
patterns: Array<string>;
|
|
76
|
+
ranges: Array<string>;
|
|
77
|
+
threatIntelFeed?: {
|
|
78
|
+
projectId: string;
|
|
79
|
+
feedId: string;
|
|
80
|
+
indicatorTypes: Array<string>;
|
|
81
|
+
} | undefined;
|
|
82
|
+
}
|
|
83
|
+
export type SigmaWatchlists = Record<string, SigmaWatchlist>;
|
|
84
|
+
export declare function isSecurityWatchlistSource(value: unknown): value is SecurityWatchlistSource;
|
|
85
|
+
export declare function isSecurityWatchlistEntityType(value: unknown): value is SecurityEntityType;
|
|
86
|
+
export declare function canSecurityWatchlistFollowFeed(value: unknown): boolean;
|
|
87
|
+
export declare function getSecurityWatchlistFeedIndicatorTypes(entityType: unknown): Array<string>;
|
|
88
|
+
export declare function normalizeSecurityWatchlistName(value: unknown): string;
|
|
89
|
+
export declare function getSecurityWatchlistNameKey(value: unknown): string;
|
|
90
|
+
export declare function isSecurityWatchlistName(value: unknown): boolean;
|
|
91
|
+
export declare function getSecurityWatchlistPlaceholder(name: string): string;
|
|
92
|
+
export declare function readSecurityWatchlistPlaceholder(value: unknown): string | null;
|
|
93
|
+
export declare function getMissingSecurityWatchlistsMessage(names: ReadonlyArray<string>): string;
|
|
94
|
+
export declare function getSecurityWatchlistSnippetField(entityType: unknown): string;
|
|
95
|
+
export declare function getSecurityWatchlistRuleSnippet(data: {
|
|
96
|
+
name: string;
|
|
97
|
+
entityType: unknown;
|
|
98
|
+
}): string;
|
|
99
|
+
export declare function normalizeSecurityWatchlistValue(value: unknown): string;
|
|
100
|
+
export declare function getSecurityWatchlistValueKey(value: unknown): string;
|
|
101
|
+
export declare function normalizeSecurityWatchlistNote(value: unknown): string;
|
|
102
|
+
export declare function getSecurityWatchlistValueMatch(data: {
|
|
103
|
+
value: string;
|
|
104
|
+
entityType: unknown;
|
|
105
|
+
}): SecurityWatchlistValueMatch;
|
|
106
|
+
export declare function getSecurityWatchlistValueProblem(data: {
|
|
107
|
+
value: unknown;
|
|
108
|
+
entityType: unknown;
|
|
109
|
+
}): string | null;
|
|
110
|
+
export declare function getSecurityWatchlistNoteProblem(value: unknown): string | null;
|
|
111
|
+
export type SecurityWatchlistFormField = "name" | "entityType" | "description" | "source" | "threatIntelFeedId";
|
|
112
|
+
export interface SecurityWatchlistProblem {
|
|
113
|
+
field: SecurityWatchlistFormField;
|
|
114
|
+
message: string;
|
|
115
|
+
}
|
|
116
|
+
export interface SecurityWatchlistShape {
|
|
117
|
+
name?: string | null | undefined;
|
|
118
|
+
entityType?: string | null | undefined;
|
|
119
|
+
description?: string | null | undefined;
|
|
120
|
+
source?: string | null | undefined;
|
|
121
|
+
threatIntelFeedId?: unknown;
|
|
122
|
+
}
|
|
123
|
+
export declare function getSecurityWatchlistNameProblem(value: unknown): string | null;
|
|
124
|
+
export declare function getSecurityWatchlistProblems(watchlist: SecurityWatchlistShape): Array<SecurityWatchlistProblem>;
|
|
125
|
+
export declare function getSecurityWatchlistProblem(watchlist: SecurityWatchlistShape): string | null;
|
|
126
|
+
export interface SecurityWatchlistImportValue {
|
|
127
|
+
value: string;
|
|
128
|
+
note: string;
|
|
129
|
+
}
|
|
130
|
+
export interface SecurityWatchlistImportProblem {
|
|
131
|
+
line: number;
|
|
132
|
+
value: string;
|
|
133
|
+
message: string;
|
|
134
|
+
}
|
|
135
|
+
export interface SecurityWatchlistImportResult {
|
|
136
|
+
values: Array<SecurityWatchlistImportValue>;
|
|
137
|
+
problems: Array<SecurityWatchlistImportProblem>;
|
|
138
|
+
duplicates: number;
|
|
139
|
+
}
|
|
140
|
+
export declare enum SecurityWatchlistImportMode {
|
|
141
|
+
Add = "add",
|
|
142
|
+
Replace = "replace"
|
|
143
|
+
}
|
|
144
|
+
export declare function isSecurityWatchlistImportMode(value: unknown): value is SecurityWatchlistImportMode;
|
|
145
|
+
export declare function readSecurityWatchlistImportLine(line: string): {
|
|
146
|
+
value: string;
|
|
147
|
+
note: string;
|
|
148
|
+
};
|
|
149
|
+
export declare function parseSecurityWatchlistImport(data: {
|
|
150
|
+
text: string;
|
|
151
|
+
entityType: unknown;
|
|
152
|
+
}): SecurityWatchlistImportResult;
|
|
153
|
+
export interface SecurityWatchlistValueCounts {
|
|
154
|
+
total: number;
|
|
155
|
+
patterns: number;
|
|
156
|
+
ranges: number;
|
|
157
|
+
}
|
|
158
|
+
export declare function countSecurityWatchlistValues(data: {
|
|
159
|
+
values: ReadonlyArray<string>;
|
|
160
|
+
entityType: unknown;
|
|
161
|
+
}): SecurityWatchlistValueCounts;
|
|
162
|
+
export declare function getSecurityWatchlistSizeProblem(counts: SecurityWatchlistValueCounts): string | null;
|
|
163
|
+
export declare function splitSecurityWatchlistValues(data: {
|
|
164
|
+
values: ReadonlyArray<string>;
|
|
165
|
+
entityType: unknown;
|
|
166
|
+
}): Pick<SigmaWatchlist, "exactValues" | "patterns" | "ranges">;
|
|
167
|
+
export declare function matchesSecurityWatchlistPattern(pattern: string, value: string): boolean;
|