Closed ccerv1 closed 1 week ago
Summarizing my thoughts from our conversation from today,
makes sense to start with the dbt model for this. I think there's a good chance 90% of our use cases will be covered by writing the dbt models, which could come from data connectors, or static tables from static_sources
.
as a second step, it'd be cool to add some UX to the OSO web app to easily add / tag new user groups. We should file a separate issue for this. Not opposed to making a yaml schema in the future, but I think it might not be as useful as the prior 2 points.
Gonna close this out based on the discussion above. I'll comment on this issue for followon work https://github.com/opensource-observer/oso/issues/1997
Describe the feature you'd like to request
A
usergroup
is to users what acollection
is to projects. A user should be able to specify a YAML file that enumerates an array ofuser_source_id
s as part of ausergroup
. For example:The collection should then resolve the distinct artifacts owned by members of the
usergroup
.Perhaps the
usergroup_namespace
could be the sub-directory where theusergroup
is defined ?Describe the solution you'd like
We need both static
usergroups
and dynamic ones. A dynamicusergroup
would be something like a bot filter or OpenRank-generated list.I could imagine a new directory we maintain the looks something like this:
We would then need some dbt macros to process these into a
usergroups
table.Describe alternatives you've considered
We could continue to hardcode usergroups into our dbt models and upload static datasets to BigQuery.