Skip to content

Set Up Jfrog Webhook

JFrog webhooks enable real-time notifications and integrations with external systems when specific events occur in Artifactory (such as artifact uploads, deletions, or security alerts).

Prerequisites

  • JFrog Artifactory Project admin access
  • Target endpoint (e.g., a service, Slack, Teams, or CI/CD system) ready to receive POST requests

Steps to Create a Webhook

  1. Log in to JFrog Artifactory

  2. Navigate to Webhooks Configuration

    • In the JFrog UI, go to Admin > General > Webhooks.
  3. Create a New Webhook

    • Click Create Webhook.
    • Enter a name and (optional) description.
  4. Configure the Webhook Endpoint

  5. Select Events to Trigger the Webhook

    • Choose relevant events (e.g., Artifact Created, Deleted, Property Changed).
    • You can filter by repository, path, or event type.
  6. Set Security Options

    • Use secret tokens or basic auth as needed for your endpoint.
    • Consider restricting IPs or using HTTPS for secure communication.
  7. Test the Webhook

    • Use the Test button if available, or manually trigger an event to verify delivery.
  8. Save the Webhook

    • Click Save to activate the webhook configuration.

Best Practices

  • Use HTTPS endpoints for all webhooks.
  • Validate incoming requests on your endpoint (e.g., check a secret header).
  • Limit webhook triggers to only the events you need.
  • Monitor webhook delivery status in the JFrog UI.

Troubleshooting

  • Check the webhook delivery history in Artifactory for errors.
  • Ensure your endpoint is reachable and responds with HTTP 2xx status.
  • Review firewall and network ACLs if webhooks are not received.

Brought to you by DevTools and Enablement Team.