Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Allow topics in snyk-orgs.yaml to specify Snyk tags #38

Open
ebickle opened this issue Jan 21, 2022 · 0 comments
Open

Allow topics in snyk-orgs.yaml to specify Snyk tags #38

ebickle opened this issue Jan 21, 2022 · 0 comments

Comments

@ebickle
Copy link

ebickle commented Jan 21, 2022

We're planning on using a centralized snyk-orgs.yaml file to drive the majority of our "snyk-sync" imports. Our GitHub repositories will have topics that act a bit like team/platform/application tags. We also currently tag our projects in Snyk so that our vulnerability management platform can integrate all of our data on a team-by-team basis.

I'd like the ability to specify one or more Snyk key-value tag pairs for each topic in the snyk-orgs.yaml file. For example:

  1. Does an org match the topics for a repo? Yes -> include any tags specified for that org-topic match in the snyk-orgs.,yaml file.
  2. Does an import.yaml file exist? Yes -> include any additional tags specified in the import.yaml file.

Bonus points if it doesn't add multiple tags for the same key, case-insensitive. This is a weird quirk of Snyk that is different than every other tagging system out there, and causes us quite a few headaches :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant