Class RedactableArgument
java.lang.Object
com.couchbase.client.dcp.core.logging.RedactableArgument
Represents a logging argument which is subject to redaction.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The type of the redactable argument. -
Method Summary
Modifier and TypeMethodDescriptionmessage()
The message of this redactable argument.static RedactableArgument
Deprecated.static RedactableArgument
redactMeta
(Object message) A redactable argument of meta data.static RedactableArgument
redactSystem
(Object message) A redactable argument of system data.static RedactableArgument
redactUser
(Object message) A redactable argument of user data.static RedactableArgument
Deprecated.Please useredactSystem(Object)
instead.toString()
type()
The type of this redactable argument.static RedactableArgument
Deprecated.Please useredactUser(Object)
instead.
-
Method Details
-
redactUser
A redactable argument of user data. User data is data that is stored into Couchbase by the application user account, including:- Key and value pairs in JSON documents, or the key exclusively
- Application/Admin usernames that identify the human person
- Query statements included in the log file collected by support that leak the document fields (Select floor_price from stock).
- Names and email addresses asked during product registration and alerting
- Usernames
- Document xattrs
- Parameters:
message
- the message to redact.- Returns:
- a new
RedactableArgument
.
-
user
Deprecated.Please useredactUser(Object)
instead. -
redactMeta
A redactable argument of meta data. Metadata is logical data needed by Couchbase to store and process User data, including:- Cluster name
- Bucket names
- DDoc/view names
- View code
- Index names
- Mapreduce Design Doc Name and Definition (IP)
- XDCR Replication Stream Names
- And other couchbase resource specific meta data
- Parameters:
message
- the message to redact.- Returns:
- a new
RedactableArgument
.
-
meta
Deprecated.Please useredactMeta(Object)
instead. -
redactSystem
A redactable argument of system data. System data is data from other parts of the system Couchbase interacts with over the network, including:- IP addresses
- IP tables
- Hosts names
- Ports
- DNS topology
- Parameters:
message
- the message to redact.- Returns:
- a new
RedactableArgument
.
-
system
Deprecated.Please useredactSystem(Object)
instead. -
type
The type of this redactable argument. -
message
The message of this redactable argument. -
toString
-
redactMeta(Object)
instead.