Skip to content

Releases: splunk/splunk-sdk-java

Release 1.9.5

18 May 06:00
1e1ea17
Compare
Choose a tag to compare

Version 1.9.5

New Features and APIs

  • Added static method addClusterMasterURIsToHosts in HttpService class to update list of Valid Hosts with Cluster Master Hosts (GitHub PR #215)
  • Added instance method getClusterMasters in Service class to get list of cluster master hosts

Release 1.9.4

13 Mar 08:43
3e1cbf6
Compare
Choose a tag to compare

Version 1.9.4

Minor Changes

  • Added check for localhost IPv6 address, for IPv6 compatible apps (GitHub PR #210)
  • Updating SSL_SOCKET_FACTORY instance on changing validateCertificates flag. (GitHub PR #206)

Release 1.9.3

08 Dec 11:46
00cd195
Compare
Choose a tag to compare

Version 1.9.3

Minor Changes

  • Re-fetch logic for instancetype and version fields if not set within Service instance to avoid NPE (GitHub PR #202)
  • Check for local IP as alternative to localhost within HostnameVerifier, addressing issue with certain local workflows

Release 1.9.2

18 Nov 06:02
2452ea6
Compare
Choose a tag to compare

Version 1.9.2

New Features and APIs

  • Added feature that allows to update ACL properties of an entity (GitHub PR #196)

Minor Changes

  • Added null check for child to handle error when no value is passed for a parameter in modular-inputs (Ref issue #198 & GitHub PR #199)

Release 1.9.1

14 Sep 06:02
305e6aa
Compare
Choose a tag to compare

Version 1.9.1

New Features and APIs

  • SDK Support for third-party (Load Balancer) "sticky sessions"(cookie persistence) (Github PR #192)
  • Added Args option for Saved Search history method (GitHub Issue #126 & PR #188 )

Minor Changes

  • Special handling related to the semantic versioning of specific Search APIs functional in Splunk Enterprise 9.0.2 and (Splunk Cloud 9.0.2209). These SDK changes will enable seamless transition between the APIs based on the version of the Splunk Enterprise/Cloud (Github PR #193)
  • Updated checks to fetch Storage Passwords with wildcards in namespace. (GitHub PR #187)

Release 1.9.0

17 Jun 16:48
b4644fa
Compare
Choose a tag to compare

Version 1.9.0

New Features and APIs

  • SDK Support for splunkd search API changes, for Splunk 9.0+. (Github PR #189)

Minor Changes

  • Automated docs generation using GitHub actions. (Github PR #184)

Release v1.8.0

10 Dec 05:09
7222d59
Compare
Choose a tag to compare

New Features and APIs

  • Added a support to add custom headers in Service class.
  • SSL Certificate validation (default implementation) added.
    • Boolean flag is introduced to skip/validate certificate. Use HttpService.setValidateCertificates() to enable/disable certificate validation.
    • Breaking change: Certificate validation is now enforced by default, for local or non-production use cases use HttpService.setValidateCertificates(false).
  • Apps/app-install replaced with apps/local.
  • Breaking change: HttpService.useTLS flag removed, please use HttpService.setSslSecurityProtocol() to set a specific SSL/TLS implementation or else TLS v1.2 is used by default for Java 1.8.

Minor Changes

  • External Entities restricted in XML factory.
    • Prevent expansion of external entities in Document Builder factory.
  • Headers modified in Socket creation.
    • Http Request uses raw request headers by including escape characters which seems vulnerable. It was replaced with PrintWriter methods to avoid escape characters.
    • Host parameter used in Socket is omitted to prevent exposing it to external users.
  • README.md file modified with all login methods along with Splunk Search creation example.
  • Deploy plugin is removed from Splunk module pom to avoid redundancy.
  • Setter methods for Session and Bearer token added along with test case.
    • Use: service.setSplunkToken() for session tokens and service.setBearerToken() for long-lived tokens.
  • Modular input folder name renamed based on newer splunk folder name validation.
  • SDK app collection URL has been updated to v1.1.0 in docker compose file.
    • Test files in sdk app collections are modified based on python v3 syntax.
  • Added Saved Search test case based on title.

Release 1.7.1

06 Aug 18:01
636b3c1
Compare
Choose a tag to compare

Version 1.7.1

Minor Changes

  • Dependency breaking changes are resolved.

Resolved issues

  • Users encountering > Could not resolve com.splunk:splunk:1.7.0. > inconsistent module metadata found. Descriptor: com.splunk:splunk:1.7.1 Errors: bad version: expected='1.7.0' found='1.7.1' for version 1.7.0 should use 1.7.1 as we work through the new maven setup for the SDK

Release v1.7.0

29 Jul 05:39
87368b5
Compare
Choose a tag to compare

Known Issues

  • Users encountering > Could not resolve com.splunk:splunk:1.7.0. > inconsistent module metadata found. Descriptor: com.splunk:splunk:1.7.1 Errors: bad version: expected='1.7.0' found='1.7.1' should upgrade to 1.7.1 as we work through the new maven setup for the SDK

New Features and APIs

  • Added Credits.md file along with licences.
  • Improved TLS implementation as default behavior and turned on hostname verification for all hosts.

Minor changes

  • Replaced Travis CI with Github actions.
  • Fixed Javadoc generation while project packaging.
  • Fixed breaking change of Index.getMaxHotBuckets() method behavior to return as String instead of int.
  • SDK build is migrated from ant build tool to maven build tool.
    • Dependencies directory for ant build is removed and maven dependencies are added using pom.xml.
    • Dependencies are upgraded to its LTS version.
    • Project structure is re-organized with respect to Maven.

Release v1.6.5

27 Nov 20:34
308dc65
Compare
Choose a tag to compare

Non-breaking changes

  • Fixed bug for push back buffer is full when exporting data in XML