Sentinel Data Connector [Oracle Cloud Infrastructure (using Azure Functions)] is not working.

松葉 優 20 Reputation points
2023-07-12T02:39:13.4+00:00
Sentinel Data Connector [Oracle Cloud Infrastructure (using Azure Functions)] is not working. 

I want to know when this Data Connector [Oracle Cloud Infrastructure (using Azure Functions)] is repaired.

=========
Warning message
 =>  "Update your Function application to the Functions 4.x runtime by December 13, 2022 for continued support."

=========

Fucntion Error message 
 => 
 Exception while executing function: Functions.AzureFunctionOCILogs Result: Failure
Exception: TypeError: get_messages() takes 3 positional arguments but 4 were given
Stack:   File "/azure-functions-host/workers/python/3.8/LINUX/X64/azure_functions_worker/dispatcher.py", line 406, in _handle__invocation_request
    call_result = await self._loop.run_in_executor(
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/azure-functions-host/workers/python/3.8/LINUX/X64/azure_functions_worker/dispatcher.py", line 648, in _run_sync_func
    return ExtensionManager.get_sync_invocation_wrapper(context,
  File "/azure-functions-host/workers/python/3.8/LINUX/X64/azure_functions_worker/extension.py", line 215, in _raw_invocation_wrapper
    result = function(**args)
  File "/home/site/wwwroot/AzureFunctionOCILogs/main.py", line 53, in main
    process_events(stream_client, StreamOcid, cursor, limit, sentinel_connector, start_ts)
  File "/home/site/wwwroot/AzureFunctionOCILogs/main.py", line 117, in process_events
    get_response = client.get_messages(stream_id, cursor, limit, retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY)



Microsoft Sentinel
Microsoft Sentinel
A scalable, cloud-native solution for security information event management and security orchestration automated response. Previously known as Azure Sentinel.
1,205 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andrew Blumhardt 9,866 Reputation points Microsoft Employee
    2023-07-12T12:39:38.95+00:00

    I am not familiar with this connector/function though I would start by reviewing the setup instructions to identify any overlooked steps. The error shows that get_messages is missing an argument.

    I recommend opening a support request if necessary: https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.