-
-
Notifications
You must be signed in to change notification settings - Fork 637
Expand file tree
/
Copy pathmiscConst.js
More file actions
50 lines (43 loc) · 1.44 KB
/
miscConst.js
File metadata and controls
50 lines (43 loc) · 1.44 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
export const JobResultSections = Object.freeze({
RAW: "raw",
VISUALIZER: "visualizer",
});
export const TLPDescriptions = Object.freeze({
CLEAR: "TLP: use all analyzers",
GREEN: "TLP: disable analyzers that could impact privacy",
AMBER:
"TLP: disable analyzers that could impact privacy and limit access to my organization",
RED: "TLP: disable analyzers that could impact privacy, limit access to my organization and do not use any external service",
});
export const HACKER_MEME_STRING =
"LoOk At YoU hAcKeR a PaThEtIc CrEaTuRe Of MeAt AnD bOnE";
export const HTTPMethods = Object.freeze({
GET: "get",
POST: "post",
PUT: "put",
PATCH: "patch",
DELETE: "delete",
});
export const datetimeFormatStr = "yyyy-MM-dd'T'HH:mm:ss";
export const localTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
export const HistoryPages = Object.freeze({
JOB: "jobs",
INVESTIGAITON: "investigations",
USER_EVENT: "user-evaluations",
USER_DOMAIN_WILDCARD_EVENT: "user-domain-wildcard-evaluations",
USER_IP_WILDCARD_EVENT: "user-ip-wildcard-evaluations",
});
export const Classifications = Object.freeze({
IP: "ip",
URL: "url",
DOMAIN: "domain",
HASH: "hash",
GENERIC: "generic",
FILE: "file",
});
export const AnalyzableHistoryTypes = Object.freeze({
JOB: "job",
USER_EVENT: "user_evaluation",
USER_DOMAIN_WILDCARD_EVENT: "user_domain_wildcard_evaluation",
USER_IP_WILDCARD_EVENT: "user_ip_wildcard_evaluation",
});