All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
DO NOT ADD CHANGES HERE - ADD THEM USING log_change.sh
v6.0-beta.2_schema-v4.1.0 - 2024-06-28
-
Add constants for system property keys to EventLoggingService.
-
Improve javadoc.
-
Add interface
ValidationErrorHandler
and changeExceptionAndLoggingErrorHandler
andLoggingErrorHandler
to implement it. Change constructors onDefaultEventLoggingService
to take aSupplier<ValidationErrorHandler>
instead of aErrorHandler
. AddQuietErrorHandler
and make this the default. Default behaviour for no-args constructor onDefaultEventLoggingService
is now to log a singleLogger
message containing all found validation messages at eitherERROR
orWARN
level as appropriate. Previous behaviour was to log a stacktrace for the first validation failure in LOG mode. THROW mode previously only worked ifExceptionAndLoggingErrorHandler
was used, now it can be used withLoggingErrorHandler
orQuietErrorHandler
, throwing when validation has done as much as it can. -
Make constructor for
event.logging.base.impl.EventLoggerBuilderImpl
public.
v6.0-beta.1_schema-v4.1.0 - 2024-06-19
-
Change to JAXB 4 dependencies (
javax.xml
=>jakarta.xml
). -
Change minimum Java version to Java 11.
-
Issue gchq/event-logging-schema#86 : Change
PermittedOrganisations.permittedOrganisation
from typeOrganistaion
toList<Organistaion>
. -
Issue gchq/event-logging-schema#62 : Add field
id
toAnyContent
. -
Issue gchq/event-logging-schema#84 : Change
BaseFile.hash
type fromHash
toList<Hash>
. This also affects the builder methods inFile
andFolder
. ReplacewithHash(myHash)
withaddHash(myHash)
orwithHash(List.of(myHash))
. -
Issue gchq/event-logging-schema#80 : Change
Location.floor
type fromBigInteger
toString
. -
Issue gchq/event-logging-schema#75 : Add field
changes
toUpdateEventAction
. -
Issue gchq/event-logging-schema#85 : Add
IN
enumeration toTermCondition
. -
Issue gchq/event-logging-schema#67 : Add field
outcome
toUnknownEventAction
. -
Issue gchq/event-logging-schema#74 : Add field
date
toEmail
. -
Issue gchq/event-logging-schema#69 : Add field
data
to the following classes:AntiMalwareThreat
,Door
,EventTime
,Location
,NetworkEventAction
,SystemDetail
. -
Change the class used for representing dates and times from
java.util.Date
tojava.time.Instant
. -
Issue gchq/event-logging-schema#76 : Add
Data
element toPermission
to allow for non-enumerated permission types. AddCreate
,Delete
andUse
toPermissionAttributeSimpleType
. -
Change the java module name from
event.logging.api
touk.gov.gchq.eventlogging
.
v5.0.3_schema-v4.0.0 - 2023-11-21
- Fix CI build.
v5.0.2_schema-v4.0.0 - 2023-11-20
- Fix CI build.
v5.0.1_schema-v4.0.0 - 2023-11-20
- Remove json schema artefact from release.
v5.0.0_schema-v4.0.0 - 2023-11-20
- Uplift schema version to v4.0.0.
v5.0-beta.36_schema-v4.0-beta.10 - 2023-05-10
- No change to event-logging library. Change Maven repository credentials.
v5.0-beta.35_schema-v4.0-beta.10 - 2022-06-07
- No change to event-logging library. Fix automated build.
v5.0-beta.34_schema-v4.0-beta.10 - 2022-06-07
- No change to event-logging library. Fix automated build.
v5.0-beta.33_schema-v4.0-beta.10 - 2022-06-07
- No change to event-logging library. Fix build process.
v5.0-beta.32_schema-v4.0-beta.10 - 2022-05-26
- Update schema to schema-v4.0-beta.10 which fixes a number of typos in the schema annotations and thus the event-logging javadoc.
v5.0-beta.31_schema-v4.0-beta.3 - 2022-04-29
- Issue #14 : Change DeviceUtil to strip square brackets from IPv6 addresses to ensure they are valid in the Schema.
v5.0-beta.30_schema-v4.0-beta.3 - 2021-11-12
- Make construcotr for MockEventLoggerBuilder public.
v5.0-beta.29_schema-v4.0-beta.3 - 2021-11-12
- Fix CI build.
v5.0-beta.28_schema-v4.0-beta.3 - 2021-11-12
- Remove
loggedResult()
andloggedAction()
methods from EventLoggingService. Instead useloggedWorkBuilder()
.
v5.0-beta.27_schema-v4.0-beta.3 - 2021-11-09
-
Add loggedWorkBuilder() to EventLoggingService.
-
Deprecate loggedXXX methods in EventLoggingService.
v5.0-beta.26_schema-v4.0-beta.3 - 2021-11-08
- No changes to event-logging. Fix build process.
v5.0-beta.25_schema-v4.0-beta.3 - 2021-11-08
- No changes to event-logging. Fix build process.
v5.0-beta.24_schema-v4.0-beta.3 - 2021-11-08
- No changes to event-logging. Fix build process.
v5.0-beta.23_schema-v4.0-beta.3 - 2021-11-08
- No changes to event-logging. Fix build process.
v5.0-beta.22_schema-v4.0-beta.3 - 2021-11-08
- No changes to event-logging. Fix build process.
v5.0-beta.21_schema-v4.0-beta.3 - 2021-11-05
- No changes to event-logging. Fix build process.
v5.0-beta.20_schema-v4.0-beta.3 - 2021-11-05
- No changes to event-logging. Fix build process.
v5.0-beta.19_schema-v4.0-beta.3 - 2021-11-05
- No changes to event-logging. Fix build process.
v5.0-beta.18_schema-v4.0-beta.3 - 2021-11-05
- Fix problem of a failure Outcome not being added when an exception is thrown during
loggedWork
inlog()
.
v5.0-beta.17_schema-v4.0-beta.3 - 2021-04-26
- Change filename of Maven artifacts from
event-logging-api...
toevent-logging...
.
v5.0-beta.16_schema-v4.0-beta.3 - 2021-04-23
- Change maven coordinates to
uk.gov.gchq.eventlogging:event-logging
and publish on maven central instead of bintray.
v5.0-beta.15_schema-v4.0-beta.3 - 2021-04-08
- Fix build number.
-
Issue gchq/stroom#2170 : Added better logging for FQDN resolution.
-
Uplift gradle version.
-
Uplift schema to
v4.0-beta.3
.
v5.0-beta.13_schema-v4.0-beta.1 - 2021-03-08
- No changes
v5.0-beta.12_schema-v4.0-beta.1 - 2021-03-08
- No changes
v5.0-beta.11_schema-v4.0-beta.1 - 2021-01-08
- Add additional
createOutcome
methods toEventLoggingUtil
.
v5.0-beta.10_schema-v4.0-beta.1 - 2021-01-08
-
Add
Purpose
arg tologgedXXX
methods. -
Add example application
-
Improve README
v5.0-beta.9_schema-v4.0-beta.1 - 2021-01-07
- Add missing handling of unsuccessful logged work outcome.
v5.0-beta.8_schema-v4.0-beta.1 - 2021-01-07
- Add overloaded
log
andcreateEvent
methods toEventLoggingService
.
v5.0-beta.7_schema-v4.0-beta.1 - 2021-01-07
- Add overloaded
log
method toEventLoggingService
.
v5.0-beta.6_schema-v4.0-beta.1 - 2021-01-07
- Improve loggedXXX methods in
EventLoggingService
.
v5.0-beta.5_schema-v4.0-beta.1 - 2021-01-05
- Add loggedResult and loggedAction methods.
v5.0-beta.4_schema-v4.0-beta.1 - 2021-01-04
- Add
AdvancedQueryOperator
interface.
v5.0-beta.3_schema-v4.0-beta.1 - 2020-12-17
- Change
HasOutcome#getOutcome
to returnBaseOutcome
, improve binding forHasOutcome
.
v5.0-beta.2_schema-v4.0-beta.1 - 2020-12-17
- Add
HasOutcome
interface and make all complex types with an Outcome element implement it.
v5.0-beta.1_schema-v4.0-beta.1 - 2020-12-17
-
Uplifted schema to v4.0-beta.1
-
Issue gchq/event-logging-schema#54 : Remove
Outcome
fromNetwork
, add newNetworkOutcome
class. -
Issue gchq/event-logging-schema#63: Allow
EventSource/Door
to be combined withDevice
,Client
andServer
. -
Issue gchq/event-logging-schema#64: Change
Door
sub-element constraints to be consistent with documentation. -
Issue gchq/event-logging-schema#65: Add enum values to
AuthenticateActionSimpleType
andAuthenticateLogonTypeSimpleType
to better describe physical access events -
Issue gchq/event-logging-schema#10 : Add
SearchResults
toBaseMultiObjectComplexType
to allow for use cases likeView/SearchResults
. -
Issue gchq/event-logging-schema#10 : Add
Id
,Name
andDescription
toQueryComplexType
to allow the linking of query to results. -
Issue gchq/event-logging-schema#39 : Add
TimeZoneName
element toLocationComplexType
to improve the recording of time zone information. -
Issue gchq/event-logging-schema#44 : Add
Approval
schema action. -
Issue gchq/event-logging-schema#47 : Add
CachedInteractive
,CachedRemoteInteractive
,Proxy
andOther
logon types toAuthenticateLogonTypeSimpleType
. -
Issue gchq/event-logging-schema#40: Add
State
,City
andTown
elements to provide more Location detail. -
Issue gchq/event-logging-schema#3 : Add
Type
attribute toHash
element inBaseFileComplexType
. -
Issue gchq/event-logging-schema#35 : Add
Meta
element toEvent
andBaseObjectGroup
to allow extension/decoration. -
Issue gchq/event-logging-schema#31 : Add
Tags
element toBaseObjectGroup
. -
Issue gchq/event-logging-schema#37 : Add
Tags
element toSystemComplexType
. -
Generate javadoc from the schema annotations.
-
Issue 5 : Add fluent builder api code.
-
Issue 3 : Change xjc bindings to force all top level classes [BREAKING CHANGE].
-
Issue 6 : Fix hard coded success value in EventLoggingUtil.createOutcome().
-
Revert to java 8