Add Amazon Inspector permissions to the Federated Identity template - #7590
Draft
seanrathier wants to merge 1 commit into
Draft
Conversation
Mirror the Amazon Inspector data stream's API surface into the incremental Federated Identity template: inspector2:ListFindings, the single operation the stream's HTTPJSON template calls (elastic/integrations#20439). inspector2:ListCoverage from the elastic/integrations#20240 patch sets is deliberately omitted — the stream never calls it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Jul 31, 2026
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
ElasticAwsInspectorinline policy to the incremental Federated Identity template:inspector2:ListFindingsThis is the single operation the Amazon Inspector data stream's HTTPJSON template calls (
POST /findings/list), paired with elastic/integrations#20439 (the Inspectorauth.awsmigration + ungate). The IAM action maps 1:1 to the operation name.Deliberate omission: the permission patch sets in elastic/integrations#20240 also list
inspector2:ListCoverage— the stream never calls it, so it is left out (least privilege).Background
Part of https://github.com/elastic/ingest-dev/issues/8802.
Stacked on #7422 (the incremental baseline); retargets to
mainautomatically when it merges.Sibling PRs on the same baseline: #7588 (aws_securityhub) and #7589 (aws Config) are the other per-integration additions. Whichever merges later rebases over a trivial same-region conflict.
Test plan
cfn-lintandrainpass in pre-commitElasticAwsInspectorListFindingsto confirm the action authorizes🤖 Generated with Claude Code