Skip to content

feat(aws-integration-setup): grant events:DescribeEventBus and lambda:GetFunctionCodeSigningConfig - #110

Draft
tim-thacker-nullify wants to merge 1 commit into
mainfrom
feat/cspm-read-bus-key-and-code-signing
Draft

tim-thacker-nullify wants to merge 1 commit into
mainfrom
feat/cspm-read-bus-key-and-code-signing

Conversation

@tim-thacker-nullify

Copy link
Copy Markdown
Member

Claude

Proposal, not for merge until a collector reads them. Two Nullify CSPM rules need fields that only these read-only calls return, and the role grants neither.

  • events:DescribeEventBus: the only call that returns an event bus's KmsKeyIdentifier (ListEventBuses omits it). Needed by aws-eventbridge-encryption.
  • lambda:GetFunctionCodeSigningConfig: returns a function's code signing config ARN. Needed by aws-lambda-no-code-signing.
  • Added to the CloudFormation template and both Terraform modules; scripts/check_iam_policy_drift.py passes. Neither action is in DenyActionsPolicy, and both return configuration metadata only.

Until a collector calls these and records a field-detail coverage cell, both rules stay "not evaluated: data not collected" (nullify monorepo, hyperdrive/pkg/models/cspm_coverage_vocabulary.go). Tenants on the old role will get AccessDenied on both calls, which the collector must record as a failed cell, not as absence.

🤖 Generated with Claude Code

…:GetFunctionCodeSigningConfig

Two CSPM rules read fields only these calls return: the event bus KMS key and a function's code signing config. Without them the rules cannot tell configured from unconfigured and are withheld as not evaluated. Both calls return configuration metadata only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

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