Skip to content

Release v1.8.0

Compare
Choose a tag to compare
@bparmar-splunk bparmar-splunk released this 10 Dec 05:09
· 87 commits to master since this release
7222d59

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.