Hello Guys,
Hope you're doing well.
When trying to run Lambda python code mentioned above i get error:
Response
{
"errorMessage": "Unable to import module 'lambda_function': No module named 'pandas'",
"errorType": "Runtime.ImportModuleError",
"requestId": "",
"stackTrace": []
}
Also, is there anyone that successfully implemented log ingestion from S3 bucket to Microsoft Sentinel? I have tried to do it with dieffrent lambda functions but failed. My connectors stay greyed out on Sentinel side.
Documentation provided by Microsoft ranges from last year and even though i deploy resources by automatic script and provide all parameters necessary it fails.
EDIT: I successfully managed to overcome the issue with https://medium.com/@shandilya90apoorva/aws-cloud-pipeline-step-by-step-guide-241aaf059918 but later i have received another error regarding lambda function:
Response
{
"errorMessage": "Unable to import module 'lambda_function': Unable to import required dependencies:\nnumpy: Error importing numpy: you should not try to import numpy from\n its source directory; please exit the numpy source tree, and relaunch\n your python interpreter from there.",
"errorType": "Runtime.ImportModuleError",
"requestId": "",
"stackTrace": []
}