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
demandé il y a un an257 vues
2 réponses
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
INGÉNIEUR EN ASSISTANCE TECHNIQUE
Qasim_D
répondu il y a un an
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.

répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions