We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2204940 commit 192339eCopy full SHA for 192339e
bottlecap/src/proxy/interceptor.rs
@@ -1,4 +1,5 @@
1
use crate::{
2
+ appsec,
3
config::{aws::AwsConfig, Config},
4
lifecycle::invocation::processor::Processor as InvocationProcessor,
5
lwa, EXTENSION_HOST,
@@ -175,7 +176,7 @@ async fn invocation_next_proxy(
175
176
}
177
178
// K9 / ASM
- if config.appsec_enabled || config.serverless_appsec_enabled {
179
+ if appsec::is_enabled(&config) {
180
// TODO: do something here
181
182
@@ -223,7 +224,7 @@ async fn invocation_response_proxy(
223
224
225
226
227
228
229
230
0 commit comments