I can't find UpdateApplication/UpdateApplicationVersion event in cloudtrail

0

We are using elastic beanstalk a lot and we update the version from AWS only. Problem is i can see UpdateDeployment and other events but cannot find UpdateApplication/UpdateApplicationVersion event which supposed to be fired.

Amit
질문됨 일 년 전257회 조회
2개 답변
0

Hi,

As per the documentation [1], all Elastic Beanstalk actions are logged within Cloudtrail therefore the UpdateEnvironment and UpdateApplicationVersion actions should be logged too.

[1] Logging Elastic Beanstalk API calls with AWS CloudTrail - https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.cloudtrail.html

I have tested this in my own environment by running the update-environment and update-application-version CLI commands and I was able to see these actions logged in my Cloudtrail console. These commands are:

aws elasticbeanstalk update-application --application-name Test --description "New Test"
aws elasticbeanstalk update-application-version --application-name Test --version-label "Sample Application" --description "New Version Label"

With this being said, please verify that you are in the correct region when reviewing the Cloudtrail logs. This should be the same region where your Elastic Beanstalk environments exist. In addition to this, can you perform a test using the CLI commands as above and monitor if you see these events within Cloudtrail.

If you verified that you are in the correct region however you are still experiencing the same behavior, we require details that are non-public information. Please open a support case with AWS using the following link:

https://console.aws.amazon.com/support/home#/case/create

AWS
지원 엔지니어
Qasim_D
답변함 일 년 전
0

For what it's worth, when I do a beanstalk deploy ( through the console but I assume it would be the same by calling the beanstalk API ) I get the following CloudTrail events ( I'm only looking at events that are NOT readOnly ) :

elasticbeanstalk.amazonaws.com:CreateStorageLocation
elasticbeanstalk.amazonaws.com:CreateApplicationVersion
elasticbeanstalk.amazonaws.com:UpdateEnvironment

I don't see any events with the names you have above in there. I do tend to get notifications with those event names if I subscribe to beanstalk notifications; but I don't see those exact corresponding events in CloudTrail.

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠