File tree 3 files changed +3
-12
lines changed
appsec/src/helper/remote_config
3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class engine_listener : public listener_base {
34
34
[[nodiscard]] std::unordered_set<product> get_supported_products () override
35
35
{
36
36
return {known_products::ASM, known_products::ASM_DD,
37
- known_products::ASM_DATA, known_products::ASM_RASP_LFI, known_products::ASM_RASP_SSRF };
37
+ known_products::ASM_DATA};
38
38
}
39
39
40
40
protected:
Original file line number Diff line number Diff line change @@ -29,10 +29,6 @@ struct known_products {
29
29
static inline constexpr product ASM_DATA{std::string_view{" ASM_DATA" }};
30
30
static inline constexpr product ASM_FEATURES{
31
31
std::string_view{" ASM_FEATURES" }};
32
- static inline constexpr product ASM_RASP_LFI{
33
- std::string_view{" ASM_RASP_LFI" }};
34
- static inline constexpr product ASM_RASP_SSRF{
35
- std::string_view{" ASM_RASP_SSRF" }};
36
32
static inline constexpr product UNKNOWN{std::string_view{" UNKOWN" }};
37
33
38
34
static product for_name (std::string_view name)
@@ -49,13 +45,6 @@ struct known_products {
49
45
if (name == ASM_FEATURES.name ()) {
50
46
return ASM_FEATURES;
51
47
}
52
- if (name == ASM_RASP_LFI.name ()) {
53
- return ASM_RASP_LFI;
54
- }
55
- if (name == ASM_RASP_SSRF.name ()) {
56
- return ASM_RASP_SSRF;
57
- }
58
-
59
48
return UNKNOWN;
60
49
}
61
50
};
Original file line number Diff line number Diff line change @@ -120,6 +120,8 @@ pub unsafe extern "C" fn ddog_init_remote_config(
120
120
RemoteConfigCapabilities :: AsmCustomRules ,
121
121
RemoteConfigCapabilities :: AsmCustomBlockingResponse ,
122
122
RemoteConfigCapabilities :: AsmTrustedIps ,
123
+ RemoteConfigCapabilities :: AsmRaspLfi ,
124
+ RemoteConfigCapabilities :: AsmRaspSsrf ,
123
125
]
124
126
. iter ( )
125
127
. for_each ( |c| DDTRACE_REMOTE_CONFIG_CAPABILITIES . push ( * c) ) ;
You can’t perform that action at this time.
0 commit comments