-
Notifications
You must be signed in to change notification settings - Fork 522
aws: fix GuardDuty API call parameter #7785
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
Conversation
The AWS documentation specifies that the maxResults parameter be
droopingCamelCase[1], while we are using CamelCase. This results in API
requests being rejected with the following error
{
"message": "The request is rejected because the JSON could not be processed.",
"__type": "InvalidInputException"
}
[1]https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListFindings.html
The skip was in place because we were testing on versions below 8.6. The kibana version is now v8.9.0, so we can re-enable it.
🌐 Coverage report
|
|
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
zmoog
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Kudos for the clear and complete PR description.
|
Package aws - 2.2.1 containing this change is available at https://epr.elastic.co/search?package=aws |
What does this PR do?
The AWS documentation specifies that the maxResults parameter be
droopingCamelCase, while we are using CamelCase. This results in API
requests being rejected with the following error
Also re-enable system tests for the data stream; the skip was in
place because we were testing on versions below 8.6. The kibana
version is now v8.9.0, so we can re-enable it.
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues
Screenshots