Skip to content

Add error handling for action conversion in GuardDutyMapper #138

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Priyanka-Chatterjee-2000
Copy link
Contributor

Example query results

Results
Add example SQL query results here (please include the input queries as well)

@cbruno10 cbruno10 requested a review from Copilot April 3, 2025 19:23
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds error handling for conversion functions within the GuardDutyMapper to ensure that any failures encountered during the conversion of action or resource details are reported appropriately.

  • Added error handling in multiple switch cases for action conversion
  • Added error handling in multiple switch cases for resource conversion

@cbruno10
Copy link
Contributor

cbruno10 commented Apr 4, 2025

Errors temporarily ignored in #141 to fix linting while we review which error messages to include here.

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

Successfully merging this pull request may close these issues.

2 participants