Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MimecastSEG Azure Function timeouts after 30 minutes #9543

Closed
plutusrt opened this issue Dec 5, 2023 · 3 comments
Closed

MimecastSEG Azure Function timeouts after 30 minutes #9543

plutusrt opened this issue Dec 5, 2023 · 3 comments
Assignees
Labels
Connector Connector specialty review needed

Comments

@plutusrt
Copy link

plutusrt commented Dec 5, 2023

Describe the bug
The function keeps getting events from Mimecast, and timeouts after 30 minutes

Expected behavior
Sending the messages after X messages
Screenshots
If applicable, add screenshots to help explain your problem.
image

Additional context
Was able go fix it by adding a counter of 100(example) changes are bolded and change the function timer to every one minutes after the old one finishes

counter = 0

try:
    while has_more_logs:
        model = GetSIEMLogsRequest(file_format, next_token)
        response = request_helper.send_post_request(model.payload, MimecastEndpoints.get_siem_logs)
        response_helper.check_response_codes(response, MimecastEndpoints.get_siem_logs)
        success_response = response_helper.parse_siem_success_response(response, file_format)
        has_more_logs, next_token = response_helper.get_siem_next_token(response)
        parsed_logs.extend(siem_parser.parse(logs=success_response))
        **if counter > 100:
            has_more_logs = False
        else:
            counter+=1**
Copy link
Contributor

github-actions bot commented Dec 5, 2023

Thank you for submitting an Issue to the Azure Sentinel GitHub repo! You should expect an initial response to your Issue from the team within 5 business days. Note that this response may be delayed during holiday periods. For urgent, production-affecting issues please raise a support ticket via the Azure Portal.

@v-sudkharat v-sudkharat added the Connector Connector specialty review needed label Dec 6, 2023
@v-sudkharat
Copy link
Contributor

Hi @plutusrt, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 12-12-2023 Thanks!

@v-sudkharat
Copy link
Contributor

Hi @plutusrt, hope you are doing well. This solution's is a supported with Mimecast, we kindly request you to raise an issue ticket with Mimecast's support team.
Sharing the Mimecast mail ID and support link -
Mail Id - "support@mimecast.com"
Link - "https://community.mimecast.com/s/contactsupport"
Closing this issue from github. If you still need support for this issue, feel free to re-open it any time. Thank you for your co-operation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Connector Connector specialty review needed
Projects
None yet
Development

No branches or pull requests

3 participants