REST Resources
/api/space/audit-log-management/audit-logs/{id}
The following operation is supported on this resource:
- GET - Get a single audit log in Junos Space
GET /audit-logs/{id} | Version 1 |
This API gives complete information about a particular audit log record. It provides the pull through information about the modified object or objects and names responsible for modifications.
.Sample Usage
GET /audit-logs/{id}
- Parameters:
Name Type URI Type Description Required id Integer Path Y
- Accept Headers:
application/vnd.net.juniper.space.audit-log-management.audit-log+xml;version=1
application/vnd.net.juniper.space.audit-log-management.audit-log+json;version=1
<audit-log uri="/api/space/audit-log-management/audit-logs/589827">
<userName>super</userName>
<userIpAddr>172.16.100.2</userIpAddr>
<description>Job: Run Device Discovery Profile.</description>
<logTime>2011-08-29 11:01:25 IST</logTime>
<applicationName>Network Management Platform</applicationName>
<taskName>Run Now Device Discovery Profile</taskName>
<result>202</result>
<job href="/api/space/job-management/jobs/360448">
<id>1081344</id>
</job>
<domainId>32769</domainId>
<domainName>Global</domainName>
<domain href= "/api/space/domain-management/domains/32769"/>
</audit-log>
{
"audit-log": {
"@uri":
"/api/space/audit-log-management/audit-logs/2883611",
"userName":"super",
"userIpAddr":"172.16.100.2",
"description":
"Job: Run Device Discovery Profile.",
"logTime":"2011-08-29 11:01:25 IST",
"applicationName":"Network Management Platform",
"taskName":
"Run Now Device Discovery Profile",
"result":"Job Scheduled",
"job":{
"@href":
"/api/space/job-management/jobs/360448" ,
"@id": 1081344
} ,
"domainId":32769,
"domain": {
"@href":
"/api/space/domain-management/domains/32769"
}
}
}
Access Control
The following capabilities are required to access this API: ReadAuditLogs