# Remove duplicate VM webhook?

**URL:** <https://discuss.rapid7.com/t/remove-duplicate-vm-webhook/17694>\
**Category:** InsightVM\
**Tags:** InsightConnect\
**Created:** [December 5, 2022, 2:43pm UTC](https://discuss.rapid7.com/t/remove-duplicate-vm-webhook/17694 "2022-12-05T14:43:52Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jschlenker](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/j/6de8d8/32.png) [@jschlenker](https://discuss.rapid7.com/u/jschlenker)\
**Post date:** [December 5, 2022, 2:43pm UTC](https://discuss.rapid7.com/t/remove-duplicate-vm-webhook/17694/1 "2022-12-05T14:43:52Z")

</div>

I was editing an IConn workflow, and (because of not being able to revert changes in a workflow, and things just being draft), I had exported the working work flow, and imported that copy to make changes to, and test it. I enabled that one, and disabled the original.

I made an error in assuming that the “application ID” had changed when I did so, but it appears to have not done so. So I re-ran the JSON to activate the appropriate webhook for VM. Now we’re getting duplicate messages in Slack for those events.

How can I remove the duplicate webhook, and any others that I no longer need?

---

<div class="post-metadata">

**Author:** ![john\_hartman](https://discuss.rapid7.com/user_avatar/discuss.rapid7.com/john_hartman/32/1255_2.png) [@john\_hartman](https://discuss.rapid7.com/u/john_hartman)\
**Post date:** [December 5, 2022, 3:01pm UTC](https://discuss.rapid7.com/t/remove-duplicate-vm-webhook/17694/2 "2022-12-05T15:01:52Z")

</div>

Are you getting duplicate messages in the SAME Slack channel? As in the same workflow is essentially created twice?

---

<div class="post-metadata">

**Author:** ![jschlenker](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/j/6de8d8/32.png) [@jschlenker](https://discuss.rapid7.com/u/jschlenker)\
**Post date:** [December 5, 2022, 3:07pm UTC](https://discuss.rapid7.com/t/remove-duplicate-vm-webhook/17694/3 "2022-12-05T15:07:07Z")

</div>

Yeah.

Except it’s a duplicate webhook – created with the same ID. I verified -that- part with Postman.

In an effort to not have an extra 1000-plus notifications to Slack (I logged in to find some 3500 alerts between two work flows, since late Friday), I disabled the one workflow, re-imported it, and verified that THIS time it has a different app ID before I enabled the webhook.

But I would still like to remove the duplicated or unused webhooks.

---

<div class="post-metadata">

**Author:** ![john\_hartman](https://discuss.rapid7.com/user_avatar/discuss.rapid7.com/john_hartman/32/1255_2.png) [@john\_hartman](https://discuss.rapid7.com/u/john_hartman)\
**Post date:** [December 5, 2022, 3:25pm UTC](https://discuss.rapid7.com/t/remove-duplicate-vm-webhook/17694/4 "2022-12-05T15:25:46Z")

</div>

So within ICON there is no central management for Webhooks. It would be through the workflow itself.

So you either have two workflows doing the same action of the webhook or a single workflow that has multiple steps that both trigger the same webhook.

If you narrowed all of those messages down to a single workflow I wouldn’t cycle through the actions to ensure there isn’t a duplicate action step to trigger that webhook.

---

<div class="post-metadata">

**Author:** ![jschlenker](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/j/6de8d8/32.png) [@jschlenker](https://discuss.rapid7.com/u/jschlenker)\
**Post date:** [December 5, 2022, 4:06pm UTC](https://discuss.rapid7.com/t/remove-duplicate-vm-webhook/17694/5 "2022-12-05T16:06:38Z")

</div>

This is on the VM webhook side, not IConn.

{  
[first webhook],  
{  
“id”: “31dab35d-07a8-43d1-8e44-a581f01ded22”,  
“name”: “Send Remediated Vulnerabilities Message in Slack from InsightVM”,  
“destination\_url”: “[https://us2.api.insight.rapid7.com/connect/v1/execute/async/triggers/95ec8f15-9494-48c3-be54-69a6d59fc63a](https://us2.api.insight.rapid7.com/connect/v1/execute/async/triggers/95ec8f15-9494-48c3-be54-69a6d59fc63a)”,  
“owner”: “PLATFORM\_USERNAME”,  
“secret”: “\<\>”,  
“authentication”: {  
“type”: “api-key”  
},  
“event\_subscriptions”: {  
“asset”: {  
“asset\_events”: null,  
“vulnerability\_events”: {  
“asset\_vulnerabilities\_found”: false,  
“asset\_vulnerabilities\_remediated”: true  
}  
}  
}  
},  
[unused webhook, needs removed],  
[unused webhook, needs removed],  
{  
[working webhook]  
},  
{  
“id”: “649ec0da-bee7-4182-a035-f23dd2beb03e”,  
“name”: “Send Remediated Vulnerabilities Message in Slack from InsightVM”,  
“destination\_url”: “[https://us2.api.insight.rapid7.com/connect/v1/execute/async/triggers/95ec8f15-9494-48c3-be54-69a6d59fc63a](https://us2.api.insight.rapid7.com/connect/v1/execute/async/triggers/95ec8f15-9494-48c3-be54-69a6d59fc63a)”,  
“owner”: “PLATFORM\_USERNAME”,  
“secret”: “\<\>”,  
“authentication”: {  
“type”: “api-key”  
},  
“event\_subscriptions”: {  
“asset”: {  
“asset\_events”: null,  
“vulnerability\_events”: {  
“asset\_vulnerabilities\_found”: false,  
“asset\_vulnerabilities\_remediated”: true  
}  
}  
}  
},  
{[unused webhook, needs removed]  
},  
{  
[working webhook] },  
{[working webhook]  
]  
}

If you look at the “trigger” URL, it is the _same_ trigger ID. Which sets off the same workflow, twice, as verified by the Jobs queue.

---

<div class="post-metadata">

**Author:** ![john\_hartman](https://discuss.rapid7.com/user_avatar/discuss.rapid7.com/john_hartman/32/1255_2.png) [@john\_hartman](https://discuss.rapid7.com/u/john_hartman)\
**Post date:** [December 5, 2022, 5:36pm UTC](https://discuss.rapid7.com/t/remove-duplicate-vm-webhook/17694/6 "2022-12-05T17:36:28Z")

</div>

There is no direct integration from InsightVM to Slack so any workflow you created would have had to be something through InsightConnect as far as I understand.

Can you show a screenshot from within the tool what it is you’re looking at?

---

<div class="post-metadata">

**Author:** ![jschlenker](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/j/6de8d8/32.png) [@jschlenker](https://discuss.rapid7.com/u/jschlenker)\
**Post date:** [December 5, 2022, 5:59pm UTC](https://discuss.rapid7.com/t/remove-duplicate-vm-webhook/17694/7 "2022-12-05T17:59:58Z")

</div>

I asked very specifically on how to delete an extraneous webhook on the InsightVM experimental webhook API.

I would appreciate the command or method to do so.

---

<div class="post-metadata">

**Author:** ![Eric-Wilson](https://discuss.rapid7.com/user_avatar/discuss.rapid7.com/eric-wilson/32/2531_2.png) [@Eric-Wilson](https://discuss.rapid7.com/u/Eric-Wilson)\
**Post date:** [December 11, 2022, 9:42pm UTC](https://discuss.rapid7.com/t/remove-duplicate-vm-webhook/17694/8 "2022-12-11T21:42:04Z")

</div>

Good afternoon! This is something that will need to be completed by the support team as there is no public facing documentation around deleting platform related webhooks at this time.

---

<div class="post-metadata">

**Author:** ![jschlenker](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/j/6de8d8/32.png) [@jschlenker](https://discuss.rapid7.com/u/jschlenker)\
**Post date:** [December 12, 2022, 2:55pm UTC](https://discuss.rapid7.com/t/remove-duplicate-vm-webhook/17694/9 "2022-12-12T14:55:38Z")

</div>

Thank you.
