Skip to content

LdesignMedia/moodle-local_externalmonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moodle - monitor webservice request and log them.

Monitor /webservice/rest/server.php and log in/outgoing. Used for debugging purposes.

Author

MFreak.nl

  • Author: Luuk Verhoeven, MFreak.nl
  • Min. required: Moodle 3.9.x
  • Supports PHP: 7.2

Moodle39 Moodle310 Moodle311 PHP7.2

List of features

  • 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.

Installation

  1. Copy this plugin to the local\externalmonitor folder on the server
  2. Login as administrator
  3. Go to Site Administrator > Notification
  4. Install the plugin

Usage

After installation, you can view the webservice in/out traffic on /local/externalmonitor/view/logs.php This will display log entries like below:

Security

If you discover any security related issues, please email luuk@MFreak.nl instead of using the issue tracker.

License

The GNU GENERAL PUBLIC LICENSE. Please see License File for more information.

Contributing

Contributions are welcome and will be fully credited. We accept contributions via Pull Requests on Github.

About

Monitor Moodle traffic on /webservice/rest/server.php in and out

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages