Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#nubisprojectgithubuserpolicy - nubisproject github organization has no user management policy #76

Open
gdestuynder opened this issue Sep 23, 2015 · 16 comments
Labels

Comments

@gdestuynder
Copy link

From Risk Record

nubisproject github organization has no user management policy

Recommendation:
Build a github user management policy and tooling.

Nubis team mitigation

Only JD and Gozer will have access today

@gdestuynder
Copy link
Author

@RichardWeiss can we have this in the policy/process?

Note: Ideally, I would think something like the MOC should handle user administration (separation of duties), albeit with a documented policy the risk will be reduced accordingly.

@gozer gozer added the security label Sep 23, 2015
@gozer
Copy link
Contributor

gozer commented Sep 23, 2015

From: http://nubis-docs.readthedocs.org/en/latest/CONTRIBUTING/

Commiters

Each repository has a Commiter Team, whose members are allowed to merge pull-requests into the repository.

Note: It's bad practice to merge your own pull-requests, as that defeats the review process.

Adding/Removing a member to that Team is the result of a majority vote among existing members.

(Comitter Agreement and Agreement to follow establish processes, etc)

Each Team also has an appointed Technical Lead that holds a tie-breaking vote on that repository.

Commit access is a privilege, not a right. It's is earned by one's contributions and the quality of the work produced. It's all about the quality and health of the project, nothing less, nothing more.

@gdestuynder
Copy link
Author

@gozer thanks it looks good!
As far as the current members of the commiter team, i can't see it in https://github.com/orgs/Nubisproject/people - I'm guessing its your and jd - do you think it would be possible to add a link to the list or spell out the current members in the documentation?

Basically that means there's a record of whom can merge. Link to a github generated list is obviously easier/nicer since then you don't need to edit the documentation when you add/remove people

@marianpiper (notification of changed risk level for related bug/risk: nubisproject/nubis-ci#104 #codepeerreview)

@gdestuynder
Copy link
Author

We can now see the list of people on https://github.com/orgs/Nubisproject/people

@tinnightcap tinnightcap changed the title #nubisprojectgithubuserpolicy #nubisprojectgithubuserpolicy - nubisproject github organization has no user management policy Oct 30, 2015
@gdestuynder
Copy link
Author

turns out there's more people i just cant see them because their relation with the project is set to private

@gene1wood
Copy link

Here's the full list
full list

@gdestuynder
Copy link
Author

@gozer how can we/you reliably audit the list? (or ideally, tooling to do this automatically would be good)

@gozer
Copy link
Contributor

gozer commented Nov 4, 2015

Github has a pretty rich API, and looks like what you need is possible as documented here:

https://developer.github.com/v3/orgs/members/#members-list

@gdestuynder
Copy link
Author

@gozer i do not have the permissions to run these queries on your org actually :(
we could have an audit account created specially for this purpose maybe, so that it's not tied to a user account, or an integration to a github tool that can do this (I'm not aware of any right now, looking at the integration list, but I guess it might come up one day)

Additionally, if we (as in infosec) are to code and enforce the management of the github organization, we should def. check-in with @jeffbryner and see how we can schedule that :)

@jeffbryner
Copy link

@cshields @RichardWeiss can you answer the question from Sept 23 about policy/process/arch?

@RichardWeiss
Copy link
Contributor

This is a Medium risk and will be addressed within the committed time frame. In the meantime, the current policy is documented here, per @gozer 's previous comments: http://nubis-docs.readthedocs.org/en/latest/CONTRIBUTING/

@jeffbryner
Copy link

"Adding/Removing a member to that Team is the result of a majority vote among existing members." <--is this what you are referring to?

@cshields
Copy link

hrm yeah that's not going to be sufficient. We will work on an improved policy.

@tinnightcap tinnightcap added this to the v1.0.2 milestone Nov 24, 2015
@tinnightcap
Copy link
Contributor

@tinnightcap & @RichardWeiss will collaborate on a process utilizing ServiceNow to cauterize the existing process with the addition of management check-box approval and accounting.

@tinnightcap tinnightcap removed this from the v1.1.0 milestone Apr 15, 2016
@gene1wood
Copy link

The main example that we think of when it comes to user management and the main area in which Mozilla typically fails is when a Mozillian leaves the company.

Having the authoritative list of users with commit rights in nubis-project be stored in Service Now and a workflow requiring manager approval to be added to that list will be good for preventing the unauthorized addition of users to nubis-project (assuming that a process by which JD and gozer only add approved users in service now).

The challenge will be when an approved user leaves the company, there will need to be something that triggers the removal of that user from nubis-project.

JD suggested adding it as a manual step in @cshields document of manual steps to go through when someone in IT leaves Mozilla.

@gene1wood
Copy link

Please add the planned process described here when you have it.

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

No branches or pull requests

7 participants