[CFT] Add ElasticAwsSecurityHub policy to federated-identity-aws template - #8030
Merged
Merged
Conversation
Contributor
|
This pull request does not have a backport label. Could you fix it @seanrathier? 🙏
|
Contributor
|
This pull request is now in conflicts. Could you fix it? 🙏 |
3 tasks
seanrathier
marked this pull request as ready for review
August 19, 2026 18:40
8 tasks
…late Grants the IAM permissions required by the aws/securityhub and aws_securityhub integrations for Federated Identity (Cloud Connectors) deployments. securityhub:GetFindings authorizes both POST /findings and POST /findingsv2 — both SecurityHub API operations share this single IAM action. securityhub:GetInsights authorizes POST /insights/get. Part of elastic/ingest-dev#8812. Paired with elastic/integrations#20529. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
seanrathier
force-pushed
the
seanrathier/federated-identity-aws-remaining
branch
from
August 19, 2026 19:09
fba3660 to
6f787b9
Compare
This was referenced Aug 19, 2026
olegsu
approved these changes
Aug 20, 2026
Contributor
|
Tick the box to add this pull request to the merge queue (same as
|
The aws-cloudwatch input requires DescribeLogStreams, GetLogEvents, and GetLogGroupFields in addition to the existing DescribeLogGroups and FilterLogEvents. These are declared in provider_permissions across all federated aws-cloudwatch packages (aws_mq, aws_bedrock, aws_bedrock_agentcore, aws_logs, kubernetes); the CFT must grant them. Added: - logs:DescribeLogStreams - logs:GetLogEvents - logs:GetLogGroupFields Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the
ElasticAwsSecurityHubIAM policy resource todeploy/cloudformation/federated-identity-aws.yml, granting the permissions required by theaws_securityhubandawspackage SecurityHub data streams for Federated Identity (Cloud Connectors) deployments.The remaining packages in elastic/ingest-dev#8812 (
aws_bedrock,aws_bedrock_agentcore,aws_mq,aws_logs) require no new policy blocks — their streams read exclusively from CloudWatch metrics and CloudWatch Logs, which are already covered by the existingElasticAwsMetricsandElasticAwsCloudwatchLogspolicies.Permissions added
securityhub:GetFindingsPOST /findings(aws/securityhub_findings, aws/securityhub_findings_full_posture) andPOST /findingsv2(aws_securityhub/finding) — both operations use this IAM actionsecurityhub:GetInsightsPOST /insights/get(aws/securityhub_insights)Related
awspackage SecurityHub streams and standaloneaws_securityhubpackageexternal_id/ ExternalId removed from federation trust policy🤖 Generated with Claude Code