W2FM GitHub hook takeover #13310
Labels
No labels
announcement
anubis
authentication
aws
backlog
blocked
bodhi
ci
cloud
communishift
copr
database
day-to-day
dc-move
deprecated
dev
discourse
dns
downloads
easyfix
epel
firmitas
forgejo_migration
Gain
High
Gain
Low
Gain
Medium
gitlab
greenwave
hardware
help wanted
high-trouble
koji
koschei
lists
low-trouble
medium-trouble
mirrorlists
monitoring
Needs investigation
odcs
OpenShift
ops
outage
packager_workflow_blocker
pagure
permissions
Priority
Needs Review
Priority
Next Meeting
Priority
🔥 URGENT 🔥
Priority
Waiting on Assignee
Priority
Waiting on External
Priority
Waiting on Reporter
rabbitmq
release-monitoring
releng
request-for-resources
s390x
security
SMTP
sprint-0
sprint-1
src.fp.o
staging
unfreeze
waiverdb
websites-general
wiki
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/tickets#13310
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description of request
Hi, I am trying to rotate the secret for the W2FM webhook on the rpm-software-management GitHub org, due to some notice from GitHub about a security issue on their end. However, I don't know which Fedora account owns the webhook and I suspect it may belong to someone no longer on the RPM/DNF team.
When I try to create a new webhook on the org, I get the error "Encountered "Error: 409: This service already exists" response during creation".
Is it possible to take over the webhook from whomever currently owns it? I would like to transfer ownership to the "rpmsoftwaremanagement" Fedora account. Knowing which Fedora user owns the webhook may be enough, and I can reach out to them.
Thanks!
CC: @abompard @t0xic0der
@egoode can you please provide use the username of the person that owns the webhook? That would help me purge the webhook bind from their account so that you could go ahead with creating one from the preferred account.
You could however create a webhook bind from the preferred account using a slightly different name because that is what we are making use of for the references. The purge still needs to happen for the GitHub webhook safety reasons.
That's the problem, I don't know who owns the rpm-software-management webhook.
@egoode oh well, could you at least delete the webhook entry from the rpm-software-management GitHub organization? I am not sure just how ideal this is but once you do that, you should be able to create a new entry.
Just use a different name for the webhook bind on the W2FM dashboard and you should be good to go. I would also suggest to attempt connecting with the folks contributing to the team to hunt down the webhook owner for safety.
Hi, the container-tools team (maintainers of podman, buildah, skopeo upstream and Fedora packages) are also faced with the same issue. I suspect it's @mohanboddu that owns the webhooks setup for our org, but he's currently away on leave.
@lsm5 if @mohanboddu is temporarily on leave, you should not feel the need of taking it over from his hands now, do you? You could create a new webhook bind anyway with a different name and attach it to your GitHub organization or repository, though.
Thanks @t0xic0der! Adding a new webhook with a different name worked.
The UI implies that the name of the webhook must match the repository name (or org name), so I didn't think to try this.
@egoode ahhh fair, that's on us. But hey, glad to know it worked. I am closing this as fixed.
Please feel free to create a new ticket if you need help and we would be glad to assist you.