WebHook Agent Configuration
OneDevOps Insights supports WebHook implementation using python code and webhook management through current agent management UI.
Navigate to Agent Management
Click "Agent Management" under the Admin section.
To configure webhook, click Add button on the top right corner.
Webhook configuration from Agent Management screen is supported from version v7.9.
Select the OS type, type as Webhook, version and tool for which webhook needs to be configured.
Note: For agent registration select type as Agent.
Add webhook details and click on add button below to register.
Once webhook is registered successfully, then URL for the selected webhook can be copied by using Copy to Clipboard Icon.
Once the link is copied then it needs to be added in the actual tool’s webhook.
Webhook Subscriber
Once webhook registration is done, please refer below section to configure an Webhook Subscriber:
Tool webhook will push data to webhook Subscriber when an event occurs and webhook subscriber will publish the recieved data on WebhookPayloadDataQueue.
Webhook Agent
Registered webhook agent will consume data from WebhookPayloadDataQueue, processes message according to the dynamic template in config.json and publish to the data queue.
Engine
Platform Engine will consume this message from data queue and store it in neo4j.
Note: Same Platform Engine will be used for both agent and webhook.
For Platform Engine configuration please refer below section: