Follow the instructions on configuring a Xray webhook.
For the URL, enter the URL from the Serverless Application deployment process from above.
Clear out the
User Name
andPassword
fields in the Basic Auth section and, as shown in the image above, add the following two custom headers:Name
Value
Authorization
The API token you provided to the Serverless application deploy process.
Hostname
The host name for your JPD. If your JPD host ishttps://yourcompany.jfrog.io/ then use ‘
yourcompany.jfrog.io
’.Click Create to create the webhook.
Associate this webhook with a policy that is attached to a watch so that it will be triggered when violations are detected during a scan.
Now Xray is ready to send data to the integration and Security Hub.