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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ECR] [request]: track last pulled date of image #1182

Closed
JordanSussman opened this issue Dec 9, 2020 · 4 comments
Closed

[ECR] [request]: track last pulled date of image #1182

JordanSussman opened this issue Dec 9, 2020 · 4 comments
Labels
ECR Amazon Elastic Container Registry Proposed Community submitted issue Shipped This feature request was delivered.

Comments

@JordanSussman
Copy link

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request

Having the ability to see the last download date for any given image/tag without needing to query Cloud Trail logs.

Which service(s) is this request for?
ECR

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?

The process of cleaning up images within ECR can be daunting because you have little insight into determining if/when images were last downloaded without accessing Cloud Trail. We want to increase our confidence that deleting any given image/tag has less likelihood for harmful impact since it hasn't been downloaded in n days.

Are you currently working around this issue?

We have thought about creating a simple script to receive/parse cloudtrail logs that puts the upload/download into a database for us to easily query.

Additional context

Other tools like Artifactory have rich metadata around upload and download data that ECR lacks.

@JordanSussman JordanSussman added the Proposed Community submitted issue label Dec 9, 2020
@rpnguyen rpnguyen added the ECR Amazon Elastic Container Registry label Dec 22, 2020
@rpnguyen rpnguyen changed the title [ECR] [request]: track download data [ECR] [request]: track last pulled date of image Dec 22, 2020
@rpnguyen
Copy link
Contributor

Thanks for the suggestion! This is also a prerequisite for #921

@sbkg0002
Copy link

Any update on this?

@sbkg0002
Copy link

Since the metrics are there, can we have this policy filter please?

https://aws.amazon.com/about-aws/whats-new/2022/01/amazon-ecr-monitor-repository-pull-statistics/

@jlbutler jlbutler added the Shipped This feature request was delivered. label Dec 14, 2022
@jlbutler
Copy link

Hi everyone. I'm going to mark this one Shipped as we are now curating a lastRecordedPullTime on the image details. Integrating this into LCP rules is being tracked in issue #921 . Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ECR Amazon Elastic Container Registry Proposed Community submitted issue Shipped This feature request was delivered.
Projects
None yet
Development

No branches or pull requests

4 participants