Skip to content

Add Amazon Inspector permissions to the Federated Identity template - #7590

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

Add Amazon Inspector permissions to the Federated Identity template#7590
seanrathier wants to merge 1 commit into
seanrathier/federated-identity-aws-cftfrom
seanrathier/federated-identity-aws-inspector

Conversation

@seanrathier

Copy link
Copy Markdown
Contributor

Summary

Adds the ElasticAwsInspector inline policy to the incremental Federated Identity template:

  • inspector2:ListFindings

This is the single operation the Amazon Inspector data stream's HTTPJSON template calls (POST /findings/list), paired with elastic/integrations#20439 (the Inspector auth.aws migration + 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 main automatically 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-lint and rain pass in pre-commit
  • Deploy the stack in a test AWS account; verify the role carries ElasticAwsInspector
  • Assume the role and call ListFindings to confirm the action authorizes

🤖 Generated with Claude Code

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>
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