You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2026/07/20 08:27:00 UTC
[jira] [Created] (CAMEL-24203) camel-aws-security-hub: getFindingAggregator operation is declared but not implemented
Andrea Cosentino created CAMEL-24203:
----------------------------------------
Summary: camel-aws-security-hub: getFindingAggregator operation is declared but not implemented
Key: CAMEL-24203
URL: https://issues.apache.org/jira/browse/CAMEL-24203
Project: Camel
Issue Type: Bug
Components: camel-aws
Reporter: Andrea Cosentino
Assignee: Andrea Cosentino
Fix For: 4.14.9, 4.22.0, 4.18.4
SecurityHubOperations declares a getFindingAggregator value, but SecurityHubProducer.process has no case for it, so the switch falls through to:
{code:java}
default:
throw new IllegalArgumentException("Unsupported operation");
{code}
Selecting operation=getFindingAggregator therefore always fails with "Unsupported operation" even though the catalog/enum advertises it.
Fix: implement the operation using the existing executeOperation helper (POJO GetFindingAggregatorRequest plus a header-driven path), and add the finding-aggregator ARN header constant it needs. The AWS GetFindingAggregator API requires the findingAggregatorArn.
Code reference (main): SecurityHubOperations.java (enum value) and SecurityHubProducer.java process() switch (~lines 78-99).
Present on camel-4.18.x and camel-4.14.x; backport to both.
Found during an agent-assisted audit of the AWS components; verified against the cited code.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)