Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Lambda events logged in AWS CloudTrail #53

Closed
sshvetsov opened this issue Sep 27, 2021 · 0 comments
Closed

Update to Lambda events logged in AWS CloudTrail #53

sshvetsov opened this issue Sep 27, 2021 · 0 comments

Comments

@sshvetsov
Copy link

sshvetsov commented Sep 27, 2021

Email from AWS

"""
Hello,

You are receiving this notification because we identified you have one or more Amazon CloudWatch rule(s) that monitor AWS Lambda API events logged through AWS CloudTrail. [1]

Previously, AWS Lambda API names were logged with a date suffix in the EventName for your CloudTrail logs. The event names changed as service APIs were enhanced with new features and capabilities. In order to simplify automation of log processing, we are now removing the date suffixes from the EventName. With this change, Lambda will only log documented API names in the EventName field as part of the CloudTrail event. The list of updated and old API events are listed in this message.

This change will roll out to your account on October 20, 2021. Before this date, please evaluate and update any automation workflows that process Lambda API events from CloudTrail logs to use the Event Name without date suffix.

Failing to update the event names in your automation may prevent you from performing the desired actions after calling Lambda APIs. If your automation relies on accessing the Lambda API version, you can use the apiVersion field in CloudTrail.

List of API event names that will be logged going forward:

  1. AddLayerVersionPermission
  2. AddPermission
  3. CreateAlias
  4. CreateEventSourceMapping
  5. CreateFunction
  6. DeleteAlias
  7. DeleteEventSourceMapping
  8. DeleteFunction
  9. DeleteFunctionConcurrency
  10. DeleteLayerVersion
  11. GetAccountSettings
  12. GetAlias
  13. GetEventSourceMapping
  14. GetFunction
  15. GetFunctionConfiguration
  16. GetLayerVersion
  17. GetLayerVersionByArn
  18. GetLayerVersionPolicy
  19. GetPolicy
  20. ListAliases
  21. ListEventSourceMappings
  22. ListFunctions
  23. ListLayers
  24. ListLayerVersions
  25. ListTags
  26. ListVersionsByFunction
  27. PublishLayerVersion
  28. PublishVersion
  29. PutFunctionConcurrency
  30. RemoveLayerVersionPermission
  31. RemovePermission
  32. TagResource
  33. UntagResource
  34. UpdateAlias
  35. UpdateEventSourceMapping
  36. UpdateFunctionCode
  37. UpdateFunctionConfiguration

Events Logged before Update

  1. CreateFunction20150331
  2. UpdateFunctionConfiguration
  3. UpdateFunctionConfiguration20150331
  4. UpdateFunctionConfiguration20150331v2
  5. UpdateFunctionCode
  6. UpdateFunctionCode20150331
  7. UpdateFunctionCode20150331v2
  8. DeleteFunction
  9. DeleteFunction20150331
  10. CreateAlias20150331
  11. UpdateAlias20150331
  12. DeleteAlias20150331
  13. AddPermission20150331
  14. AddPermission20150331v2
  15. RemovePermission20150331
  16. RemovePermission20150331v2
  17. PutFunctionConcurrency20171031
  18. DeleteFunctionConcurrency20171031
  19. CreateEventSourceMapping20150331
  20. DeleteEventSourceMapping20150331
  21. UpdateEventSourceMapping20150331
  22. PublishVersion20150331
  23. TagResource20170331
  24. TagResource20170331v2
  25. UntagResource20170331
  26. UntagResource20170331v2
  27. GetFunction
  28. GetFunctionConfiguration
  29. GetFunction20150331
  30. GetFunction20150331v2
  31. GetFunctionConfiguration20150331
  32. GetFunctionConfiguration20150331v2
  33. ListFunctions20150331
  34. GetPolicy20150331
  35. GetPolicy20150331v2
  36. GetEventSourceMapping20150331
  37. GetAccountSettings20150331
  38. GetAccountSettings20160819
  39. ListEventSourceMappings20150331
  40. ListVersionsByFunction20150331
  41. ListTags20170331
  42. GetAlias20150331
  43. ListAliases20150331
  44. PublishLayerVersion20181031
  45. DeleteLayerVersion20181031
  46. GetLayerVersion20181031
  47. GetLayerVersionByArn20181031
  48. ListLayerVersions20181031
  49. ListLayers20181031
  50. AddLayerVersionPermission20181031
  51. RemoveLayerVersionPermission20181031
  52. GetLayerVersionPolicy20181031

If you require further assistance, please reach out to the AWS Support team [2].

[1] https://docs.aws.amazon.com/lambda/latest/dg/logging-using-cloudtrail.html
[2] https://aws.amazon.com/support

Sincerely,
Amazon Web Services

Amazon Web Services, Inc. is a subsidiary of Amazon.com, Inc. Amazon.com is a registered trademark of Amazon.com, Inc. This message was produced and distributed by Amazon Web Services Inc., 410 Terry Ave. North, Seattle, WA 98109-5210
"""

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

No branches or pull requests

1 participant