}); /* * Event: webhook.new_server_issues * * When new issues are found on your server. Let's say, your PHP software package suddenly becomes outdated, * this webhook will inform your software about the fact that that particular server now runs an outdated PHP package. * * An example of the Event data can be found here: https://api.patrolserver.com/#webhooks-integrations */ Patrol::webhook('webhook.new_server_issues', function ($event) { Patrol::log('webhook.new_server_issues'); Patrol::log($event); }); /* * Event: webhook.scan_started * * When a scan is started, both manually or automatically, this webhook will inform your application. */ Patrol::webhook('webhook.scan_started', function ($event) { Patrol::log('webhook.scan_started'); Patrol::log($event); }); /* * Event: webhook.scan_finished * * When we finished scanning your server, both manually or automatically, this webhook will inform your application. */ Patrol::webhook('webhook.scan_finished', function ($event) { Patrol::log('webhook.scan_finished'); Patrol::log($event); });