var ShinobiApi = require('shinobi-api');
var s = new ShinobiApi('[Shinobi URL]')
s.login('[EMAIL]', '[PASSWD]'); // or s.setApikey("[APIKEY]", "[GROUP ID]");
// Example: set All monitors to record for 10 minutes
s.monitor.getAll().then(mons => {
mons.forEach(mon => {
s.monitor.setModeTime(mon.mid, 'record', 10);
})
})
-
Notifications
You must be signed in to change notification settings - Fork 0
r4mmer/shinobi-api
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published