Find File Based Audit Log Publisher by DN
get
/rest/v1/admin/{dn}
Returns an File Based Audit Log Publisher by DN
Request
Supported Media Types
- application/json
Path Parameters
-
dn(required): string
LDAP DN of the entry to be fetched.
Query Parameters
-
attributes: array[string]
Collection Format:
multiList of attributes to be fetched for the entry. -
controls: array[string]
Collection Format:
multiLDAP controls to be sent to server for search operation. -
filter: string
Search filter for the LDAP search operation. Should follow LDAP search filter syntax.
-
scope: string
Scope for the LDAP search operation.Allowed Values:
[ "base", "sub", "one" ]
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : File Based Audit Log Publisher GetSuccessResponse
Type:
Show Source
object-
msgType(required):
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchResponseThe REST message type -
searchResultEntries(required):
array searchResultEntries
Number of search result entries returned after the LDAP operation.
-
totalResults(required):
integer(int32)
Specifies the number of entries created, and returned.
Nested Schema : searchResultEntries
Type:
arrayNumber of search result entries returned after the LDAP operation.
Show Source
Nested Schema : File Based Audit Log Publisher SearchResultEntry
Type:
Show Source
object-
attributes(required):
object File Based Audit Log Publisher Properties
-
dn(required):
string
LDAP DN of the entry to be created
Nested Schema : File Based Audit Log Publisher Properties
Type:
Show Source
object-
cn:
string
CN (common name) of the entry
-
ds-cfg-append:
boolean
Default Value:
trueSpecifies whether to append to existing log files. -
ds-cfg-asynchronous(required):
boolean
Default Value:
trueIndicates whether the File Based Audit Log Publisher will publish records asynchronously. -
ds-cfg-auto-flush:
boolean
Default Value:
trueSpecifies whether to flush the writer after every log record. -
ds-cfg-buffer-size:
string
Default Value:
64kbSpecifies the log file buffer size. -
ds-cfg-enabled(required):
boolean
Indicates whether the Log Publisher is enabled for use.
-
ds-cfg-java-class(required):
string
Default Value:
org.opends.server.loggers.TextAuditLogPublisherThe fully-qualified name of the Java class that provides the File Based Audit Log Publisher implementation. -
ds-cfg-log-controls:
boolean
Default Value:
falseIndicates whether the request controls and response controls should be logged along with the operations that are requested by the client applications. -
ds-cfg-log-file(required):
string
The file name to use for the log files generated by the File Based Audit Log Publisher. The path to the file is relative to the server root.
-
ds-cfg-log-file-permissions(required):
string
Default Value:
640The UNIX permissions of the log files created by this File Based Audit Log Publisher. -
ds-cfg-log-file-use-local-time:
boolean
Default Value:
falseSpecifies whether to use local time or GMT for the name of the rotated files. -
ds-cfg-log-qtime:
boolean
Default Value:
falseLogs the time spent in preprocessing queue for an operation. -
ds-cfg-mask-passwords:
boolean
Default Value:
trueIndicates whether the password attributes values should be masked in the audit log. Default value is true. -
ds-cfg-masked-attribute:
array ds-cfg-masked-attribute
Allows to define some attributes whose value will be masked in the log file. This is currently only relevant for the audit log. If masked-suffix is filled, only attributes of entries under those suffixes are masked.
-
ds-cfg-masked-suffix:
array ds-cfg-masked-suffix
Allows to define the suffixes in which attributes masking in the audit log should occur. This is currently only relevant for the audit log.
-
ds-cfg-masking-uses-encryption-config:
boolean
Default Value:
trueIndicates whether attribute masking in the audit log should also take care of encryption configuration. If true, attribute-encryption-include and encrypted-suffix attributes in data encryption configuration are used to define which attributes under which suffixes should be masked in the audit log. If false, data encryption configuration is not taken into account. If value is true, attributes defined in encryption configuration will only be masked if attribute encryption is enabled. This attribute does not impact usage of masked-attribute and masked-suffix which are always evaluated. -
ds-cfg-operations-to-log:
array ds-cfg-operations-to-log
Indicates which operations has to be logged.
-
ds-cfg-queue-size:
integer(int32)
Default Value:
5000The maximum number of log records that can be stored in the asynchronous queue. -
ds-cfg-retention-policy:
array ds-cfg-retention-policy
The retention policy to use for the File Based Audit Log Publisher .
-
ds-cfg-rotation-policy:
array ds-cfg-rotation-policy
The rotation policy to use for the File Based Audit Log Publisher .
-
ds-cfg-time-interval:
string
Default Value:
5sSpecifies the interval at which to check whether the log files need to be rotated. -
objectclass(required):
array objectclass
Objectclass(es) which this entry belongs to.
Nested Schema : ds-cfg-masked-attribute
Type:
arrayAllows to define some attributes whose value will be masked in the log file. This is currently only relevant for the audit log. If masked-suffix is filled, only attributes of entries under those suffixes are masked.
Show Source
Nested Schema : ds-cfg-masked-suffix
Type:
arrayAllows to define the suffixes in which attributes masking in the audit log should occur. This is currently only relevant for the audit log.
Show Source
Nested Schema : ds-cfg-operations-to-log
Type:
arrayIndicates which operations has to be logged.
Default Value:
[
"administration",
"user",
"adminbrowsing",
"synchronization"
]Allowed Values:
Show Source
[
"adminbrowsing",
"administration",
"all",
"internal",
"synchronization",
"user"
]Nested Schema : ds-cfg-retention-policy
Type:
arrayThe retention policy to use for the File Based Audit Log Publisher .
Show Source
Nested Schema : ds-cfg-rotation-policy
Type:
arrayThe rotation policy to use for the File Based Audit Log Publisher .
Show Source
406 Response
Not Acceptable
Root Schema : ErrorResponse
Type:
Show Source
object-
ldapErrorCode:
integer(int32)
Specifies the LDAP error code returned for the operation.
-
message(required):
string
Error message returned returned for the operation.
-
msgType(required):
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ErrorResponseThe REST message type