Releases: splunk/splunk-sdk-java
Releases · splunk/splunk-sdk-java
Release 1.9.5
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
Release 1.9.3
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
Release 1.9.1
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
Release v1.8.0
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
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
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
Non-breaking changes
- Fixed bug for push back buffer is full when exporting data in XML