#350 [audit] Whitelist allowed koji tags
Closed: Fixed Opened by puiterwijk.

The way the tag makes it from the packagers' commit to the actual GenericBuilder is via a long path, but the actual GenericBuilder should check that the tag name is something "sane".
As an example, maybe add a whitelist 'module-*' or something.
That would prevent any chances of tags getting set to 'f26' or the likes via some weird ways.


/cc @mprahl /cc @fivaldi

The whitelist should be configurable, so if we set it to whitelite to 'module-*' today, we can change it two years from now if we need to name module tags differently then.

I agree that it should be configurable. And perhaps a list of prefixes/wildcard strings, e.g.:
['module-*', 'yet-another-module-*'] ?

Yes, that looks great @fivaldi.

Metadata Update from @fivaldi:
- Issue assigned to fivaldi

See #356.

Commits a4366d9 and be3b05e fix this issue.

Metadata Update from @fivaldi:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/mbs/issues/350

Please continue any further discussion there.

Metadata