Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 8.0.0

Admin and Audit

This section covers the functions found under the Admin section of ProVision.

Warning
ProVision's APIv1 system has been replaced by APIv2, and is now considered deprecated. 

Table of Contents

Children Display

Table of Contents

Log Management

...

Examples:

SUCCESSFUL{"success":1,"message":"Search Successful.","data":[{"logId":"31568","time": "2012-05-07 17:44:43", "logLevel":"INFO","userId":"39","userName": "anna@6connect.com","logCategory": "User","message": "Anna Claiborne (anna@6connect.com) logged in via local authentication","ip":"107.111.0.228"}]}
ERROR{'success':0, 'message':'error message'}

...

NameTypeExampleDescription
logIdINTEGER24Unique log entry id.
timeDATETIME2012-05-07 22:10:07Date and time year to second.
logLevelSTRINGNOTICEStandard syslog log levels in verbose format (EMERG, ALERT, CRIT, ERR, WARNING, NOTICE, INFO, DEBUG).
userIdInteger11The unique user id associated with the log entry.
userNameSTRINGanna@6connect.comThe unique user name associated with the log entry.
logCategorySTRINGIPAMThe 6connect category for the log entry (User, IPAM, Resource Holder, DNS, Peering, Assistant, NTP, Reporting).
messageSTRINGCreated new children from 1.0.0.0/24The detailed log message.
ipSTRING107.111.0.228The remote IP address of the user who took the action being logged.

...

None

...

NameTypeExampleDescription
likeFlagBOOL1When 1, string searches are done via LIKE with wildcards at both ends. When 0, strict comparison is used.
logIdINTEGER24Unique log entry id.
timeStartDATETIME2012-05-07 [21:00:00]Retrieve logs starting at this Date and optional time year to second.
timeEndDATETIME2012-05-07 [22:00:00]Retrieve logs ending at this Date and optional time year to second.
limitINTEGER100Total log entries to retrieve. Default limit is 1000 records.
offsetINTEGER50Offset from 0 to retrieve log entries
userNameSTRINGanna@6connect.comThe unique user name associated with the log entry.
logCategorySTRINGIPAMThe 6connect category for the log entry (User, IPAM, Resource Holder, DNS, Peering, Assistant, NTP, Reporting).
logLevelSTRINGNOTICEStandard syslog log levels in verbose format (EMERG, ALERT, CRIT, ERR, WARNING, NOTICE, INFO, DEBUG).
ipSTRING1.2.3.4The remote IP address of the user whose action was logged
blockSTRING1.2.3.4/8Used to return any actions performed on the specified block.

...