Skip to content

Add aws_securityhub permissions to the Federated Identity template - #7588

Draft
seanrathier wants to merge 1 commit into
seanrathier/federated-identity-aws-cftfrom
seanrathier/federated-identity-aws-securityhub
Draft

Add aws_securityhub permissions to the Federated Identity template#7588
seanrathier wants to merge 1 commit into
seanrathier/federated-identity-aws-cftfrom
seanrathier/federated-identity-aws-securityhub

Conversation

@seanrathier

@seanrathier seanrathier commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the ElasticAwsSecurityHub inline policy to the incremental Federated Identity template: securityhub:GetFindings, mirroring the provider_permissions declared by the aws_securityhub package in elastic/integrations#20436.

Note the IAM action: the package's CEL input calls the GetFindingsV2 API (POST /findingsv2), but per the AWS API reference, "GetFindings and GetFindingsV2 both use securityhub:GetFindings in the Action element of an IAM policy statement."

Background

Part of https://github.com/elastic/ingest-dev/issues/8812.

Stacked on #7422 (targets its branch; retargets to main automatically when it merges). This is the first per-integration addition under the incremental model: each integration that gains Federated Identity support lands its CFT permissions as a separate PR paired with the elastic/integrations PR that declares them.

Sibling PRs on the same baseline: #7422 (GuardDuty baseline) is the base; #7589 (aws Config) and #7590 (Amazon Inspector) are the sibling per-integration additions. Whichever merges second rebases over a trivial same-region conflict.

Test plan

  • cfn-lint and rain pass in pre-commit
  • Deploy the stack in a test AWS account and verify the role carries the ElasticAwsSecurityHub inline policy
  • Assume the role and call GetFindingsV2 to confirm the action authorizes

🤖 Generated with Claude Code

Mirror the provider_permissions declared by the aws_securityhub
package (elastic/integrations#20436) into the incremental Federated
Identity template: securityhub:GetFindings, which is the IAM action
the GetFindingsV2 API authorizes against per the AWS API reference.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

1 participant