-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathApplicationSecurityWafCustomRuleConditionInputAddress.ts
More file actions
83 lines (80 loc) · 3.7 KB
/
Copy pathApplicationSecurityWafCustomRuleConditionInputAddress.ts
File metadata and controls
83 lines (80 loc) · 3.7 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
/**
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2020-Present Datadog, Inc.
*/
import { UnparsedObject } from "../../datadog-api-client-common/util";
/**
* Input from the request on which the condition should apply.
*/
export type ApplicationSecurityWafCustomRuleConditionInputAddress =
| typeof SERVER_DB_STATEMENT
| typeof SERVER_IO_FS_FILE
| typeof SERVER_IO_FS_FILE_WRITE
| typeof SERVER_IO_NET_URL
| typeof SERVER_SYS_SHELL_CMD
| typeof SERVER_REQUEST_METHOD
| typeof SERVER_REQUEST_URI_RAW
| typeof SERVER_REQUEST_PATH_PARAMS
| typeof SERVER_REQUEST_QUERY
| typeof SERVER_REQUEST_HEADERS
| typeof SERVER_REQUEST_HEADERS_NO_COOKIES
| typeof SERVER_REQUEST_CUSTOM_AUTH
| typeof SERVER_REQUEST_COOKIES
| typeof SERVER_REQUEST_TRAILERS
| typeof SERVER_REQUEST_BODY
| typeof SERVER_REQUEST_BODY_FILENAMES
| typeof SERVER_REQUEST_BODY_FILES_CONTENT
| typeof SERVER_RESPONSE_STATUS
| typeof SERVER_RESPONSE_HEADERS_NO_COOKIES
| typeof SERVER_RESPONSE_TRAILERS
| typeof SERVER_RESPONSE_BODY
| typeof GRPC_SERVER_REQUEST_METADATA
| typeof GRPC_SERVER_REQUEST_MESSAGE
| typeof GRPC_SERVER_METHOD
| typeof GRAPHQL_SERVER_ALL_RESOLVERS
| typeof USR_ID
| typeof HTTP_CLIENT_IP
| typeof SERVER_LLM_EVENT
| typeof SERVER_LLM_GUARD_VERDICT
| typeof DD_APPSEC_FP_HTTP_HEADER
| typeof DD_APPSEC_FP_HTTP_NETWORK
| typeof DD_APPSEC_FP_SESSION
| typeof DD_APPSEC_FP_HTTP_ENDPOINT
| UnparsedObject;
export const SERVER_DB_STATEMENT = "server.db.statement";
export const SERVER_IO_FS_FILE = "server.io.fs.file";
export const SERVER_IO_FS_FILE_WRITE = "server.io.fs.file_write";
export const SERVER_IO_NET_URL = "server.io.net.url";
export const SERVER_SYS_SHELL_CMD = "server.sys.shell.cmd";
export const SERVER_REQUEST_METHOD = "server.request.method";
export const SERVER_REQUEST_URI_RAW = "server.request.uri.raw";
export const SERVER_REQUEST_PATH_PARAMS = "server.request.path_params";
export const SERVER_REQUEST_QUERY = "server.request.query";
export const SERVER_REQUEST_HEADERS = "server.request.headers";
export const SERVER_REQUEST_HEADERS_NO_COOKIES =
"server.request.headers.no_cookies";
export const SERVER_REQUEST_CUSTOM_AUTH = "server.request.custom-auth";
export const SERVER_REQUEST_COOKIES = "server.request.cookies";
export const SERVER_REQUEST_TRAILERS = "server.request.trailers";
export const SERVER_REQUEST_BODY = "server.request.body";
export const SERVER_REQUEST_BODY_FILENAMES = "server.request.body.filenames";
export const SERVER_REQUEST_BODY_FILES_CONTENT =
"server.request.body.files_content";
export const SERVER_RESPONSE_STATUS = "server.response.status";
export const SERVER_RESPONSE_HEADERS_NO_COOKIES =
"server.response.headers.no_cookies";
export const SERVER_RESPONSE_TRAILERS = "server.response.trailers";
export const SERVER_RESPONSE_BODY = "server.response.body";
export const GRPC_SERVER_REQUEST_METADATA = "grpc.server.request.metadata";
export const GRPC_SERVER_REQUEST_MESSAGE = "grpc.server.request.message";
export const GRPC_SERVER_METHOD = "grpc.server.method";
export const GRAPHQL_SERVER_ALL_RESOLVERS = "graphql.server.all_resolvers";
export const USR_ID = "usr.id";
export const HTTP_CLIENT_IP = "http.client_ip";
export const SERVER_LLM_EVENT = "server.llm.event";
export const SERVER_LLM_GUARD_VERDICT = "server.llm.guard.verdict";
export const DD_APPSEC_FP_HTTP_HEADER = "_dd.appsec.fp.http.header";
export const DD_APPSEC_FP_HTTP_NETWORK = "_dd.appsec.fp.http.network";
export const DD_APPSEC_FP_SESSION = "_dd.appsec.fp.session";
export const DD_APPSEC_FP_HTTP_ENDPOINT = "_dd.appsec.fp.http.endpoint";