Skip to main content

NetBox Webhook is a plugin for managing webhook receivers in NetBox.

Project description

NetBox Webhook Receiver

NetBox Webhook Receiver is a NetBox plugin for managing webhook receiver endpoints and executing assigned actions.

This plugin aims mainly to streamline the deployment process of scripts and export templates to Netbox by triggering the synchronisation of its Data Sources through incomming webhooks. Adding the receiver capability to Netbox opens other possible use cases, which might be worth exploring further. One exemple could be running Netbox Scripts triggered by remote events where it is not easy to execute a direct API call.

Features

  • Per endpoint authentication (signature validation or custom header) on receiving webhooks
  • Webhook url enriched with automaticaly generated uuid value for additional security
  • Dedicated view to configure each webhook receiver url
  • Logical grouping of the receivers
  • Optionally store incomming webhook payload
  • Custom actions execution on successfully receving authenticated webhook message. Currently only one action available: Synchronize Netbox git 'Data Source'
  • Use of standard Netbox jobs to enqueue webhook actions in the workers.
  • Additional actions to be implemented
  • Plugin configuration parameters

Requirements

  • NetBox 3.5 or higher
  • Python 3.10 or higher

Installation & Configuration

For all netbox plugin installations please refer to the oficial guide: Using Plugins - NetBox Documentation

Please remember that this plugin introduces new database models, therefore you must run the provided database schema migrations:

$ source /opt/netbox/venv/bin/activate
(venv) $ cd /opt/netbox/netbox/
(venv) $ python3 manage.py migrate

Screenshots

Webhook Receivers Webhook Receiver Webhook Receiver Group

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netbox_plugin_webhook_receiver-0.2.0.tar.gz (10.3 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page