-
Notifications
You must be signed in to change notification settings - Fork 30
Ordering-concept: when multiple artifacts of same type are associated to an image #70
Comments
There's been a few ideas bantered around on this.
The manifest date has some interesting questions.
What do folks think about letting the client set a date, and specify the date MUST be UTC. But, the registry doesn't do any validation, as it's impossible to know whether it's the first creation of a manifest (artifact), or the artifact is being promoted across registries. It does mean a malicious client could create an artifact that is a scan result, and it pre-dates another scan result. Any other ideas for how dates could be set and trusted? |
There's been a few one-off discussions on this item. The challenge is how a registry would know the artifact was first pushed to a registry, vs. promoted across registries. I think we want to say the sorting would be based on the artifact creation date, not the date it happened to be pushed to a registry. I'd also make a call out for anyone that would like to write up the proposal. |
@SteveLasker It sounds good to me, it makes sense saying that is a client problem for now. |
Covered in #82 |
Closing as this got covered in #82 |
I am wondering how ordering could be implemented to know which artifacts are more recent than other. Let's imagine a scenario where I push an image with one artifact representing the scan report generated that day. One day later, I generate a new scan report that also associate to the same image, but this time with vulnerabilities.
When i am filtering the artifacts linked to this image, how could we detect which is the latest artifact, or in my case, the most recent scan report ?.
I believe this scenario could be also applied to other type of artifacts.
The text was updated successfully, but these errors were encountered: