A least-privilege policy was written so the function can filter one log group and read the webhook secret, and nothing else. An existing log-writer policy was the template. The policy was not applied or access-tested.
- What worked
- The existing policy document made the new statement style obvious, and scoping the role to logs plus one secret matched the isolation requirement.
