public class FilterPolicy extends Object
JsonPointer
syntax to include for the audit event. By default all audit event fields
are included. The excludeIf property lists fields/values in JsonPointer
syntax to exclude for the audit
event.
The listed fields/values should be prefixed with the topic the JsonPointer
applies to. For example, the
following excludeIf value:
"/access/exclude/field"would exclude the field "/exclude/field" for the access audit topic. The following is an example FilterPolicy in json format.
{ "excludeIf" : [ "/access/exclude/field" ], "includeIf" : [ "/access/include/field" ] }
Constructor and Description |
---|
FilterPolicy() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getExcludeIf()
Gets the excludeIf list.
|
List<String> |
getIncludeIf()
Gets the includeIf list.
|
void |
setExcludeIf(Collection<String> excludeIf)
Sets the excludeIf list.
|
void |
setIncludeIf(Collection<String> includeIf)
Sets the includeIf list.
|
public FilterPolicy()
public List<String> getIncludeIf()
public void setIncludeIf(Collection<String> includeIf)
includeIf
- The list of includeIfs.public List<String> getExcludeIf()
public void setExcludeIf(Collection<String> excludeIf)
excludeIf
- The list of excludeIfs.Copyright 2010-2017 ForgeRock AS.