Skip to content

fix(Onboarding): Change lambda function for workload scanning modules SSPROD-69028 - #111

Merged
raghavanandan merged 1 commit into
mainfrom
69028-lambda-action
Jun 30, 2026
Merged

raghavanandan merged 1 commit into
mainfrom
69028-lambda-action

Conversation

@raghavanandan

@raghavanandan raghavanandan commented Jun 15, 2026 •

Copy link
Copy Markdown
Contributor

Jira

https://sysdig.atlassian.net/browse/SSPROD-69028

Summary

Replaces the lambda:ListTagsForResource IAM action with lambda:ListTags in the vm-workload-scanning module.

Changes

  • modules/vm-workload-scanning/main.tf — updated the functions IAM policy document (single-account install / management account in org installs).
  • modules/vm-workload-scanning/organizational.tf — updated the CloudFormation StackSet policy template (member accounts in org installs).

Both files were changed together to keep the single-account and organizational deployment paths consistent, since the policy in main.tf is gated only by lambda_scanning_enabled and runs in both modes.

Notes

  • The unrelated logs:ListTagsForResource action in the response-actions module was intentionally left untouched (different AWS service).
  • No version constraints, docs, or tests reference the action, so no other files required updates.
  • A new tagged release is required for this permission change to reach module consumers.

@raghavanandan
raghavanandan requested a review from a team as a code owner June 15, 2026 16:58
@ivanbesinovic-sysdig

Copy link
Copy Markdown
Contributor

Hi @raghavanandan LGTM. Just Ankit to approve testing

@raghavanandan
raghavanandan merged commit 138279e into main Jun 30, 2026
2 checks passed
@raghavanandan
raghavanandan deleted the 69028-lambda-action branch June 30, 2026 16:15
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.

3 participants