Monitor /webservice/rest/server.php
and log in/outgoing. Used for debugging purposes.
- Author: Luuk Verhoeven, MFreak.nl
- Min. required: Moodle 3.9.x
- Supports PHP: 7.2
- For now, you can only monitor REST webservice calls.
- Write to a logfile in
$CFG->tempdir\local_externalmonitor\
- Replay same request with a new
Curl
request to allow getting the response data for logging. - Viewing logs
/local/externalmonitor/view/logs.php
- Restrict access with capability 'local/externalmonitor:logs'
- Cleans previous logs from previous days automatically.
- Capture SAML2 requests and responses.
- Use https://developer.pingidentity.com/en/tools/saml-decoder.html for decoded SAML2 requests.
- Copy this plugin to the
local\externalmonitor
folder on the server - Login as administrator
- Go to Site Administrator > Notification
- Install the plugin
After installation, you can view the webservice in/out traffic on /local/externalmonitor/view/logs.php
This will display log entries like below:
If you discover any security related issues, please email luuk@MFreak.nl instead of using the issue tracker.
The GNU GENERAL PUBLIC LICENSE. Please see License File for more information.
Contributions are welcome and will be fully credited. We accept contributions via Pull Requests on Github.