# The contents of this file are subject to the terms of the Common Development and
# Distribution License (the License). You may not use this file except in compliance with the
# License.
#
# You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
# specific language governing permission and limitations under the License.
#
# When distributing Covered Software, include this CDDL Header Notice in each file and include
# the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
# Header, with the fields enclosed by brackets [] replaced by your own identifying
# information: "Portions copyright [year] [name of copyright owner]".
#
# Copyright 2015-2016 ForgeRock AS.


########################################################################################################################
# Global configuration properties
########################################################################################################################
audit-description=Audit Logging
a001=Audit logging
a001.help=Select to enable audit logging for OpenAM.
a004=Field exclusion policies
a004.help=A list of fields or values (JSON pointers) to exclude from the audit event.
a004.help.txt=To specify a field or value within a field to be filtered out of the event, start the pointer with the event \
  topic (access, activity, authentication or config) followed by the field name or the path to the value in the field. \
  For example to filter out the userId field in an access event the pointer will be:<p>/access/userId</p> and to \
  filter out the content-type value in the http.request.headers field the pointer will be:\
  <p>/access/http/request/headers/content-type</p>Only values that are made up of JSON strings can be manipulated in \
  this way.

audit.topic.access=Access
audit.topic.activity=Activity
audit.topic.authentication=Authentication
audit.topic.config=Configuration

########################################################################################################################
# Audit event handler translations
########################################################################################################################
handler.name.csv=CSV
handler.name.jdbc=JDBC
handler.name.syslog=Syslog
handler.name.elasticsearch=Elasticsearch
handler.name.jms=JMS

# Additions to handler properties. Other properties are stored in commons audit translation.properties.
audit.handlers.jdbc.databaseType.help=Select the database to use for logging audit events.
audit.handler.jdbc.oracle=Oracle
audit.handler.jdbc.mysql=MySQL
audit.handler.jdbc.other=Other

# Event handler config table
subconfig.section.header=Audit Event Handlers
subconfig.table.column.name=Name
subconfig.table.column.type=Type
services.subconfig.table.title=Event Handler Instances
services.subconfig.table.empty.message=There are no event handler instances.
label.items=Item(s)
button.new=New...
button.delete=Delete
button.cancel=Cancel
button.reset=Reset
button.save=Save
button.next=Next
button.add=Add...

# Event handler config messages
event.handler.message.deleted=Event handler has been deleted.
event.handler.message.deleted.plural=Event handlers have been deleted.
event.handler.selection.message=Select the event handler to create

# Event handler config creation
event.handler.page.title.add=Add Audit Event Handler
event.handler.add.name=Event handler name
event.handler.page.title.select=Select Audit Event Handler
event.handler.page.title.edit=Edit Audit Event Handler - {0}
blank.header=

# Inline messages
message.input.error=Invalid or Missing Input
message.missing.name=The name is missing or empty.
message.updated=Profile was updated.
message.error=Error
message.warning=Warning
message.information=Information
message.question=Question

########################################################################################################################
# Common handler section properties
########################################################################################################################
section.label.AuditService.Global.commonHandler=General Handler Configuration
section.label.AuditService.Global.commonHandlerPlugin=Audit Event Handler Factory
section.label.AuditService.Organization.commonHandler=General Handler Configuration
section.label.AuditService.Organization.commonHandlerPlugin=Audit Event Handler Factory

########################################################################################################################
# CSV handler section properties
########################################################################################################################
sections.CSV=\
  commonHandler \
  csvConfig \
  csvFileRotation \
  csvFileRetention \
  csvBuffering \
  csvSecurity \
  commonHandlerPlugin

section.label.AuditService.Global.csvConfig=CSV Configuration
section.label.AuditService.Global.csvFileRotation=File Rotation
section.label.AuditService.Global.csvFileRetention=File Retention
section.label.AuditService.Global.csvBuffering=Buffering
section.label.AuditService.Global.csvSecurity=Tamper Evident Configuration

section.label.AuditService.Organization.csvConfig=CSV Configuration
section.label.AuditService.Organization.csvFileRotation=File Rotation
section.label.AuditService.Organization.csvFileRetention=File Retention
section.label.AuditService.Organization.csvBuffering=Buffering
section.label.AuditService.Organization.csvSecurity=Tamper Evident Configuration

########################################################################################################################
# Syslog handler section properties
########################################################################################################################
sections.Syslog=\
  commonHandler \
  sysLogConfig \
  sysLogBuffering \
  commonHandlerPlugin

section.label.AuditService.Global.sysLogConfig=Syslog Configuration
section.label.AuditService.Global.sysLogBuffering=Buffering

section.label.AuditService.Organization.sysLogConfig=Syslog Configuration
section.label.AuditService.Organization.sysLogBuffering=Buffering

########################################################################################################################
# JDBC handler section properties
########################################################################################################################
sections.JDBC=\
  commonHandler \
  jdbcDatabaseConfig \
  jdbcBuffering \
  commonHandlerPlugin

section.label.AuditService.Global.jdbcDatabaseConfig=Database Configuration
section.label.AuditService.Global.jdbcBuffering=Buffering

section.label.AuditService.Organization.jdbcDatabaseConfig=Database Configuration
section.label.AuditService.Organization.jdbcBuffering=Buffering

########################################################################################################################
# Elasticsearch handler section properties
########################################################################################################################
sections.Elasticsearch=\
  commonHandler \
  elasticsearchConfig \
  elasticsearchAuthentication \
  elasticsearchBuffering \
  commonHandlerPlugin

section.label.AuditService.Global.elasticsearchConfig=Elasticsearch Configuration
section.label.AuditService.Global.elasticsearchAuthentication=Authentication
section.label.AuditService.Global.elasticsearchBuffering=Buffering

section.label.AuditService.Organization.elasticsearchConfig=Elasticsearch Configuration
section.label.AuditService.Organization.elasticsearchAuthentication=Authentication
section.label.AuditService.Organization.elasticsearchBuffering=Buffering

########################################################################################################################
# JMS handler section properties
########################################################################################################################
sections.JMS=\
  commonHandler \
  jmsConfiguration \
  batchEvents \
  commonHandlerPlugin

section.label.AuditService.Global.jmsConfiguration=JMS Configuration
section.label.AuditService.Global.batchEvents=Batch Events

section.label.AuditService.Organization.jmsConfiguration=JMS Configuration
section.label.AuditService.Organization.batchEvents=Batch Events

########################################################################################################################
# Splunk handler section properties
########################################################################################################################
sections.Splunk=\
  commonHandler \
  splunkConfig \
  splunkBuffering \
  commonHandlerPlugin

section.label.AuditService.Global.splunkConfig=Splunk Configuration
section.label.AuditService.Global.splunkBuffering=Buffering

section.label.AuditService.Organization.splunkConfig=Splunk Configuration
section.label.AuditService.Organization.splunkBuffering=Buffering


########################################################################################################################
# NOTE:
# These properties were copied from commonAuditTranslation.properties in Common Audit.
# Some of them were adjusted to include units. Consult this file before adding new properties.
########################################################################################################################

# AuditService configuration
audit.service.handlerForQueries=Query Handler
audit.service.handlerForQueries.help=Handler for reading and querying
audit.service.availableAuditEventHandlers=Available Handlers
audit.service.availableAuditEventHandlers.help=List of available handler classes
audit.service.filter.policies=Filter Policies
audit.service.filter.policies.help=Create policies to filter parts of an audit event
audit.service.filter.policies.include=List of inclusion policies
audit.service.filter.policies.include.help=A list of fields (JSON pointers) to include in the audit event
audit.service.filter.policies.exclude=List of exclusion policies
audit.service.filter.policies.exclude.help=A list of fields (JSON pointers) to exclude from the audit event

# Configuration applicable to all handler types
audit.handlers.all.name=Name
audit.handlers.all.name.help=Name of the audit event handler
audit.handlers.all.topics=Topics
audit.handlers.all.topics.help=List of topics handled by an audit event handler
audit.handlers.all.enabled=Enabled
audit.handlers.all.enabled.help=Enables or disables an audit event handler

# CSV handler configuration
audit.handlers.csv.logDirectory=Log Directory
audit.handlers.csv.logDirectory.help=Directory in which to store audit log CSV files
audit.handlers.csv.formatting=CSV Output Formatting
audit.handlers.csv.formatting.quoteChar=Quote Character
audit.handlers.csv.formatting.quoteChar.help=Character to append and prepend to a CSV field
audit.handlers.csv.formatting.delimiterChar=Delimiter Character
audit.handlers.csv.formatting.delimiterChar.help=Character between CSV fields.
audit.handlers.csv.formatting.endOfLineSymbols=End of Line Symbols
audit.handlers.csv.formatting.endOfLineSymbols.help=Characters that mark the end of a line
audit.handlers.csv.security=CSV Tamper Evident Configuration
audit.handlers.csv.security.enabled=Is Enabled
audit.handlers.csv.security.enabled.help=Enables the CSV tamper evident feature
audit.handlers.csv.security.filename=Certificate Store Location
audit.handlers.csv.security.filename.help=Path to Java keystore
audit.handlers.csv.security.password=Certificate Store Password
audit.handlers.csv.security.password.help=Password for Java keystore
audit.handlers.csv.security.signatureInterval=Signature Interval
audit.handlers.csv.security.signatureInterval.help=Signature generation interval (seconds)
audit.handlers.csv.buffering=Buffering
audit.handlers.csv.buffering.help=Configuration for optional event buffering
audit.handlers.csv.buffering.enabled=Buffering Enabled
audit.handlers.csv.buffering.enabled.help=Enables or disables buffering
audit.handlers.csv.buffering.autoFlush=Flush Each Event Immediately
audit.handlers.csv.buffering.autoFlush.help=Performance may be improved by writing all buffered events before flushing

handler.factory=Factory Class Name
handler.factory.help=The fully qualified class name of the factory responsible for creating the Audit Event \
  Handler. The class must implement org.forgerock.openam.audit.AuditEventHandlerFactory.

# JDBC handler configuration
audit.handlers.jdbc.databaseType=Database Type
audit.handlers.jdbc.databaseType.help.txt=Identifies the database in use (MySQL, Oracle SQL)
audit.handlers.jdbc.connectionPool=Connection Pool
audit.handlers.jdbc.connectionPool.driverClassName=JDBC Driver
audit.handlers.jdbc.connectionPool.driverClassName.help=Fully qualified JDBC driver class name
audit.handlers.jdbc.connectionPool.jdbcUrl=JDBC Database URL
audit.handlers.jdbc.connectionPool.jdbcUrl.help=Url of the JDBC database
audit.handlers.jdbc.connectionPool.username=Database Username
audit.handlers.jdbc.connectionPool.password=Database Password
audit.handlers.jdbc.connectionPool.autoCommit=Auto Commit
audit.handlers.jdbc.connectionPool.autoCommit.help=Enables or disables automatic committing of changes to the database
audit.handlers.jdbc.connectionPool.connectionTimeout=Connection Timeout (seconds)
audit.handlers.jdbc.connectionPool.connectionTimeout.help=Max wait time before failing the connection attempt
audit.handlers.jdbc.connectionPool.idleTimeout=Maximum Connection Idle Timeout (seconds)
audit.handlers.jdbc.connectionPool.idleTimeout.help=Max idle time before the connection is closed
audit.handlers.jdbc.connectionPool.maxLifetime=Maximum Connection Time (seconds)
audit.handlers.jdbc.connectionPool.maxLifetime.help=The maximum time a JDBC connection can be open
audit.handlers.jdbc.connectionPool.minIdle=Minimum Idle Connections
audit.handlers.jdbc.connectionPool.minIdle.help= Minimum number of idle connections in the connection pool
audit.handlers.jdbc.connectionPool.maxPoolSize=Maximum Connections
audit.handlers.jdbc.connectionPool.maxPoolSize.help=Maximum number of connections in the connection pool
audit.handlers.jdbc.connectionPool.poolName=Connection Pool Name
audit.handlers.jdbc.connectionPool.poolName.help=Name of the connection pool
audit.handlers.jdbc.tableMappings=Event to Database Schema Mappings
audit.handlers.jdbc.mapping.event=Audit Event Topic
audit.handlers.jdbc.mapping.table=Database Table
audit.handlers.jdbc.mapping.fieldToColumn=Field Mappings
audit.handlers.jdbc.mapping.fieldToColumn.help=Mapping of audit event topic fields to database table fields
audit.handlers.jdbc.buffering=Buffering
audit.handlers.jdbc.buffering.help=Configuration for optional event buffering
audit.handlers.jdbc.buffering.enabled=Buffering Enabled
audit.handlers.jdbc.buffering.enabled.help=Enables or disables audit event buffering
audit.handlers.jdbc.buffering.autoFlush=Flush Each Event Immediately
audit.handlers.jdbc.buffering.autoFlush.help=Performance may be improved by writing all buffered events before flushing
audit.handlers.jdbc.buffering.maxSize=Buffer Size (number of events)
audit.handlers.jdbc.buffering.maxSize.help=Size of the event buffer queue
audit.handlers.jdbc.buffering.maxSize.help.txt=Size of the queue where events are buffered before they are written to \
  the database. This queue has to be big enough to store all incoming events that have not yet been written to the \
  database. If the queue reaches capacity, the process will block until a write occurs.
audit.handlers.jdbc.buffering.writerThreads=Writer Threads
audit.handlers.jdbc.buffering.writerThreads.help=Number of threads used to write the buffered events
audit.handlers.jdbc.buffering.interval=Write Interval
audit.handlers.jdbc.buffering.interval.help=Interval at which buffered events are written to the database (seconds)
audit.handlers.jdbc.buffering.maxBatchedEvents=Max Batched Events
audit.handlers.jdbc.buffering.maxBatchedEvents.help=Maximum number of batched statements the database can support per \
  connection

# Syslog handler configuration
audit.handlers.syslog.transportProtocol=Transport Protocol
audit.handlers.syslog.host=Server hostname
audit.handlers.syslog.host.help=Host name or IP address of receiving syslog server
audit.handlers.syslog.port=Server port
audit.handlers.syslog.port.help=Port number of receiving syslog server
audit.handlers.syslog.connectTimeout=Connection timeout
audit.handlers.syslog.connectTimeout.help=Timeout for connecting to syslog server (seconds)
audit.handlers.syslog.facility=Facility
audit.handlers.syslog.facility.help=Syslog facility value to apply to all events
audit.handlers.syslog.severityFieldMappings=Map audit event field to Syslog Severity
audit.handlers.syslog.severityFieldMappings.help=Defaults to INFORMATIONAL if no mapping is defined
audit.handlers.syslog.severityFieldMapping.topic=Audit Event Topic
audit.handlers.syslog.severityFieldMapping.field=Audit Event Field
audit.handlers.syslog.severityFieldMapping.valueMappings=Value Mapping
audit.handlers.syslog.severityFieldMapping.valueMappings.help=Mapping of event values to Syslog SEVERITY values
audit.handlers.syslog.severityFieldMapping.valueMappings.help.txt=Syslog SEVERITY options: \
  EMERGENCY: System is unusable\
  ALERT: Action must be taken immediately\
  CRITICAL: Critical conditions\
  ERROR: Error conditions\
  WARNING: Warning conditions\
  NOTICE: Normal but significant conditions\
  INFORMATIONAL: Informational messages\
  DEBUG: Debug-level messages
audit.handlers.syslog.buffering=Buffering
audit.handlers.syslog.buffering.txt=Configuration for optional event buffering
audit.handlers.syslog.buffering.enabled=Buffering Enabled
audit.handlers.syslog.buffering.enabled.help=Enables or disables audit event buffering

# File rotation configuration
audit.handlers.file.fileRotation=File Rotation
audit.handlers.file.fileRotation.help=Configures audit file rotation
audit.handlers.file.rotationFilePrefix=File Rotation Prefix
audit.handlers.file.rotationFilePrefix.help=Prefix to prepend to audit files when rotating audit files
audit.handlers.file.rotationTimes=Rotation Times
audit.handlers.file.rotationTimes.help=Durations after midnight to trigger file rotation, in seconds.
audit.handlers.file.rotationInterval=Rotation Interval
audit.handlers.file.rotationInterval.help=Interval to trigger audit file rotations, in seconds. A negative or zero \
  value disables this feature
audit.handlers.file.rotationEnabled=Rotation Enabled
audit.handlers.file.rotationEnabled.help=Enables and disables audit file rotation
audit.handlers.file.rotationFileSuffix=File Rotation Suffix
audit.handlers.file.rotationFileSuffix.help=Suffix to append to audit files when they are rotated. Suffix should \
  be a timestamp
audit.handlers.file.maxFileSize=Maximum File Size
audit.handlers.file.maxFileSize.help=Maximum size, in bytes, which an audit file can grow to before rotation \
  is triggered. A negative or zero value indicates this policy is disabled

# File retention configuration
audit.handlers.file.fileRetention=File Retention
audit.handlers.file.fileRetention.help=Configures audit file retention
audit.handlers.file.maxNumberOfHistoryFiles=Maximum Number of Historical Files
audit.handlers.file.maxNumberOfHistoryFiles.help=Maximum number of backup audit files allowed. A value of -1 \
  disables pruning of old history files
audit.handlers.file.maxDiskSpaceToUse=Maximum Disk Space
audit.handlers.file.maxDiskSpaceToUse.help=The maximum amount of disk space the audit files can occupy, in bytes. \
  A negative or zero value indicates this policy is disabled
audit.handlers.file.minFreeSpaceRequired=Minimum Free Space Required
audit.handlers.file.minFreeSpaceRequired.help=Minimum amount of disk space required, in bytes, on the system where \
  audit files are stored. A negative or zero value indicates this policy is disabled

# Elasticsearch handler configuration
audit.handlers.elasticsearch.index=Elasticsearch Index
audit.handlers.elasticsearch.index.help=Elasticsearch index to which audit log messages will be written
audit.handlers.elasticsearch.hostname=Server Hostname
audit.handlers.elasticsearch.hostname.help=Host name or IP address of Elasticsearch server
audit.handlers.elasticsearch.port=Server Port
audit.handlers.elasticsearch.port.help=Port number of Elasticsearch server
audit.handlers.elasticsearch.ssl=SSL Enabled
audit.handlers.elasticsearch.ssl.help=Use HTTPS protocol for communication with Elasticsearch
audit.handlers.elasticsearch.username=Username
audit.handlers.elasticsearch.password=Password
audit.handlers.elasticsearch.bufferingEnabled=Buffering Enabled
audit.handlers.elasticsearch.bufferingSize=Batch Size
audit.handlers.elasticsearch.bufferingSize.help=Number of audit log events to batch before submitting to Elasticsearch
audit.handlers.elasticsearch.bufferingMaxEvents=Queue Capacity
audit.handlers.elasticsearch.bufferingMaxEvents.help=Maximum number of audit logs in the batch queue; additional \
  events are dropped
audit.handlers.elasticsearch.bufferingWriteInterval=Write interval (in milliseconds)
audit.handlers.elasticsearch.bufferingWriteInterval.help=Interval at which buffered events are written to Elasticsearch

#JMS handler configuration
audit.handlers.jms.deliveryMode=Delivery Mode
audit.handlers.jms.deliveryMode.help=JMS mode to deliver the messages in, either PERSISTENT or NON_PERSISTENT
audit.handlers.jms.sessionMode=Session Mode
audit.handlers.jms.sessionMode.help=JMS session acknowledgement mode: AUTO, CLIENT, or DUPS_OK
audit.handlers.jms.batch=Batch Configuration Settings
audit.handlers.jms.batch.help=Batch configuration settings to be utilized if batch is enabled
audit.handlers.jms.publisher.batch.batchEnabled=Batch enabled
audit.handlers.jms.publisher.batch.batchEnabled.help=Boolean for batch delivery of audit events
audit.handlers.jms.publisher.batch.capacity=Capacity
audit.handlers.jms.publisher.batch.capacity.help=Maximum event count in the batch queue; additional events are dropped
audit.handlers.jms.publisher.batch.threadCount=Thread Count
audit.handlers.jms.publisher.batch.threadCount.help=Number of concurrent threads that pull events from the batch queue
audit.handlers.jms.publisher.batch.maxBatchedEvents=Max Batched
audit.handlers.jms.publisher.batch.maxBatchedEvents.help=Maximum number of events per batch
audit.handlers.jms.publisher.batch.insertTimeoutSec=Insert Timeout
audit.handlers.jms.publisher.batch.insertTimeoutSec.help=Waiting period (seconds) for available capacity, when a new event enters the queue
audit.handlers.jms.publisher.batch.pollTimeoutSec=Polling Timeout
audit.handlers.jms.publisher.batch.pollTimeoutSec.help=Worker thread waiting period (seconds) for the next event, before going idle
audit.handlers.jms.publisher.batch.shutdownTimeoutSec=Shutdown Timeout
audit.handlers.jms.publisher.batch.shutdownTimeoutSec.help=Application waiting period (seconds) for worker thread termination
audit.handlers.jms.jndi=JNDI Configuration Settings
audit.handlers.jms.jndi.help=JNDI initial context settings
audit.handlers.jms.jndi.contextProperties=JNDI Context Properties
audit.handlers.jms.jndi.contextProperties.help=Settings to populate the JNDI initial context with
audit.handlers.jms.jndi.topicName=JMS Topic Name
audit.handlers.jms.jndi.topicName.help=JNDI lookup name for the JMS topic
audit.handlers.jms.jndi.connectionFactoryName=JMS Connection Factory Name
audit.handlers.jms.jndi.connectionFactoryName.help=JNDI lookup name for the JMS connection factory

#Splunk handler configuration
audit.handlers.splunk.authzToken=Authorization Token
audit.handlers.splunk.authzToken.help=Authorization token used to connect to Splunk HTTP Event Collector endpoint.
audit.handlers.splunk.hostname=Server Hostname
audit.handlers.splunk.hostname.help=Host name or IP address of Splunk server
audit.handlers.splunk.port=Server Port
audit.handlers.splunk.port.help=Port number of Splunk server
audit.handlers.splunk.ssl=SSL Enabled
audit.handlers.splunk.ssl.help=Use HTTPS protocol for communication with Splunk
audit.handlers.splunk.bufferingSize=Batch Size
audit.handlers.splunk.bufferingSize.help=Number of audit log events to batch before submitting to Splunk
audit.handlers.splunk.bufferingMaxEvents=Queue Capacity
audit.handlers.splunk.bufferingMaxEvents.help=Maximum number of audit logs in the batch queue; additional \
  events are dropped
audit.handlers.splunk.bufferingWriteInterval=Write interval (in milliseconds)
audit.handlers.splunk.bufferingWriteInterval.help=Interval at which buffered events are written to Splunk
