-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Expand file tree
/
Copy pathindex.ts
More file actions
157 lines (151 loc) · 3.95 KB
/
Copy pathindex.ts
File metadata and controls
157 lines (151 loc) · 3.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
/**
* Explicit allow-list of the public surface (single entry, single source of truth).
*
* Prefer named `export { … } from '…'` over `export *`. Star re-exports defeat
* `@kbn/optimizer` tree-shaking: importing a few constants from the plugin
* entry can otherwise drag Zod schemas and mock samples into page-load JS.
*/
export {
API_VERSIONS,
CONVERSATION_CATEGORY_COLORS,
INTERNAL_API_ACCESS,
ALERTZERO_APP_ID,
ALERTZERO_APP_PATH,
ALERTZERO_FEATURE_ID,
ALERTZERO_INTERNAL_URL,
ALERTZERO_INVESTIGATIONS_URL,
ALERTZERO_INVESTIGATION_URL_TEMPLATE,
ALERTZERO_PLUGIN_NAME,
ALERTZERO_ACTIONS_URL,
ALERTZERO_ACTIONS_LIST_TOOL_ID,
ALERTZERO_PROPOSALS_URL,
ALERTZERO_THIN_AGENT_ID,
ALERTZERO_SKILLS_URL,
ALERTZERO_SKILL_URL_TEMPLATE,
ALERTZERO_WATCHES_URL,
ALERTZERO_WATCH_URL_TEMPLATE,
ALERTZERO_WORKERS_URL,
ALERTZERO_WORKER_URL_TEMPLATE,
SYSTEM_SECURITY_WATCH_CATALOG,
SYSTEM_SECURITY_WATCH_DARK_ID,
SYSTEM_SECURITY_WATCH_DEEP_ID,
SYSTEM_SECURITY_WATCH_DETECTION_ID,
SYSTEM_SECURITY_WATCH_FLOOR_ID,
SYSTEM_SECURITY_WATCH_IDS,
SYSTEM_SECURITY_WATCH_OFFICER_ID,
SYSTEM_SECURITY_WORKER_CATALOG,
SYSTEM_SECURITY_WORKER_DARK_CONTINUOUS_THREAT_HUNT_ID,
SYSTEM_SECURITY_WORKER_DETECTION_RULE_CREATION_ID,
SYSTEM_SECURITY_WORKER_DETECTION_RULE_TUNING_ID,
SYSTEM_SECURITY_WORKER_FLOOR_ALERT_TRIAGE_ID,
SYSTEM_SECURITY_WORKER_FLOOR_ATTACK_DISCOVERY_ID,
SYSTEM_SECURITY_WORKER_IDS,
TEMPLATE_ID_INCIDENT,
TEMPLATE_ID_INVESTIGATION,
TEMPLATE_ID_PROPOSAL,
WATCH_AUTONOMY_LEVELS,
WORKER_SCHEDULE_UNITS,
WATCH_DARK_TAG,
WATCH_DEEP_TAG,
WATCH_DETECTION_TAG,
WATCH_FLOOR_TAG,
WATCH_OFFICER_TAG,
WATCH_TAG,
WATCH_TIER_TAGS,
buildInvestigationUrl,
buildSkillUrl,
buildWatchUrl,
buildWorkerUrl,
} from './constants';
export type {
ActionApprovalPolicy,
ActionCategory,
ActionCatalogEntry,
ActionImpact,
ListActionsResponse,
} from './action_catalog_types';
export { CONVERSATION_QUEUE_CATEGORIES, CONVERSATION_QUEUE_LABELS } from './translations';
export {
ApprovalRequirement,
GetInvestigationResponse,
GetWatchResponse,
Investigation,
Lifecycle,
ListInvestigationProposalsResponse,
ListInvestigationsResponse,
ListSkillsResponse,
ListWatchesResponse,
ListWorkersResponse,
Proposal,
RecommendedAction,
ScheduleCadence,
ScheduleHandoff,
ScheduleMode,
ScopeAccess,
UpdateWorkerRequestBody,
UpdateWorkerResponse,
Watch,
WatchApprovalGate,
WatchAutonomyLevel,
WatchCallableRef,
WatchLedgerEntry,
WatchMetrics,
WatchRecentRun,
WatchRecentRunStep,
WatchRunAction,
WatchRunOutcome,
WatchSchedule,
WatchScope,
WatchScopeRoutingSettings,
WatchSelectSetting,
WatchSettings,
WatchSkill,
WatchSkillAttachment,
WatchTriggerProjection,
WatchTriggersSettings,
WatchWorker,
WatchWorkerAttachment,
Worker,
WorkerRunState,
WorkerScheduleInterval,
WorkerSettings,
WorkflowTriggerType,
type TimelineEvent,
} from './impl/schemas';
export {
compareWatchesForDisplay,
coverageFromSchedule,
createCatalogWatchPlaceholder,
isOnDutyNow,
} from './impl/watches/watch_helpers';
export type {
CatalogWatchId,
WatchDisplaySortable,
WatchScheduleCoverageInput,
} from './impl/watches/watch_helpers';
export {
MOCK_CLEAN_RUN_NOTE,
MOCK_INVESTIGATIONS,
MOCK_PROPOSALS,
SKILLS_SEED,
WATCHES_SEED,
WORKERS_SEED,
createMockInvestigation,
createMockProposal,
getMockInvestigationById,
getMockInvestigationsByWatchId,
getMockProposalById,
getMockProposalsByInvestigationId,
} from './impl/samples';
export type {
SystemSecurityWatchCatalogEntry,
SystemSecurityWorkerCatalogEntry,
WorkerScheduleUnit,
} from './constants';
export type { WatchSkillSeed, WatchWorkerSeed } from './impl/samples';