stacklok / minder

Software Supply Chain Security Platform
https://minder-docs.stacklok.dev/
Apache License 2.0
255 stars 36 forks source link

Improvements around how we ingest/evaluate artifacts #2248

Open rdimitrov opened 8 months ago

rdimitrov commented 8 months ago

This issue is a placeholder for a few items we discussed around improving the way we handle artifacts.

Details:

  1. We probably want smarter ways to filter container tags. e.g. via semver-matching, explicit regex, or exact match. This way we would be able to show more relevant info about the containers folks actually care about. Note that currently we support exact matching and regex.

  2. We need to pass something else than allow/deny in the rego engine so we can get more context on what tag failed. For example, for artifact versions we pass a list of properties to rego to check against the same list one can set in their profile. It would be handy to also get information around which property actually failed the evaluation.

  3. We need to have more general ways of filtering out the artifacts we want to evaluate on. Say.,.. I wanna evaluate everything except for some specific artifacts. This might also be applicable for tags. have an exclude list for specific tags

cc: @jhrozek @JAORMX

evankanderson commented 20 hours ago

Rado thinks we'll find this when we go to improve this area of the code further.