From 8331f61e250144cf8297e75bd9a45b4cb463286c Mon Sep 17 00:00:00 2001 From: Alejandro Estringana Ruiz Date: Fri, 3 Jan 2025 17:24:40 +0100 Subject: [PATCH] Add SSRF Rasp capability (#814) --- remote-config/src/path.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/remote-config/src/path.rs b/remote-config/src/path.rs index 1c971d762..4dee14910 100644 --- a/remote-config/src/path.rs +++ b/remote-config/src/path.rs @@ -22,6 +22,7 @@ pub enum RemoteConfigProduct { AsmDD, AsmFeatures, AsmRaspLfi, + AsmRaspSsrf, LiveDebugger, } @@ -35,6 +36,7 @@ impl Display for RemoteConfigProduct { RemoteConfigProduct::AsmData => "ASM_DATA", RemoteConfigProduct::AsmFeatures => "ASM_FEATURES", RemoteConfigProduct::AsmRaspLfi => "ASM_RASP_LFI", + RemoteConfigProduct::AsmRaspSsrf => "ASM_RASP_SSRF", }; write!(f, "{}", str) } @@ -83,6 +85,7 @@ impl RemoteConfigPath { "ASM_DATA" => RemoteConfigProduct::AsmData, "ASM_FEATURES" => RemoteConfigProduct::AsmFeatures, "ASM_RASP_LFI" => RemoteConfigProduct::AsmRaspLfi, + "ASM_RASP_SSRF" => RemoteConfigProduct::AsmRaspSsrf, product => anyhow::bail!("Unknown product {}", product), }, config_id: parts[parts.len() - 2],