From 2a7096f46a5d6a090a9d2396c4d5d010c5c6aa2c Mon Sep 17 00:00:00 2001 From: Meena Kumari Chatla Date: Thu, 28 Sep 2023 16:28:12 +0530 Subject: [PATCH] Added check for loadbalancer event type Added check for loadbalancer event type --- .../AzureFunctionOCILogs/main.py | 2 +- .../Data Connectors/OCILogsConn.zip | Bin 30556201 -> 30556235 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Solutions/Oracle Cloud Infrastructure/Data Connectors/AzureFunctionOCILogs/main.py b/Solutions/Oracle Cloud Infrastructure/Data Connectors/AzureFunctionOCILogs/main.py index c568d453535..cf5f44bcef7 100644 --- a/Solutions/Oracle Cloud Infrastructure/Data Connectors/AzureFunctionOCILogs/main.py +++ b/Solutions/Oracle Cloud Infrastructure/Data Connectors/AzureFunctionOCILogs/main.py @@ -127,7 +127,7 @@ def process_events(client: oci.streaming.StreamClient, stream_id, initial_cursor if "request" in event["data"]: if event["data"]["request"] is not None and "headers" in event["data"]["request"]: event["data"]["request"]["headers"] = json.dumps(event["data"]["request"]["headers"]) - if event["data"]["request"] is not None and "parameters" in event["data"]["request"]: + if event["data"]["request"] is not None and event["type"] != "com.oraclecloud.loadbalancer.access" and "parameters" in event["data"]["request"]: event["data"]["request"]["parameters"] = json.dumps( event["data"]["request"]["parameters"]) if "response" in event["data"]: diff --git a/Solutions/Oracle Cloud Infrastructure/Data Connectors/OCILogsConn.zip b/Solutions/Oracle Cloud Infrastructure/Data Connectors/OCILogsConn.zip index d6e0da71389780a40574f596a47774a2b7e44868..85119271ad707848a4eaba7e4505831b5ce4a66a 100644 GIT binary patch delta 3304 zcmZA3={pq)7X@%zNs>ZB6d^^)5TQ&dvm{hVQpiwAQj|^|u}#@Rq0Ax)A!EkSK&F(0 z21HTe3Z+8#_IAF$&wkc#tv_LB`!_9V`5S)(WXE|pA31OVa^gbd!bQl9i;)MH;8Ns8 zKIF$`D1ggR5QR_}SD*-r;!0eFVknNQQ354V3fG`CuEljIgR;0DH=rDDM0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