Skip to content

Releases: gjanders/SplunkVersionControl

1.2.19

Choose a tag to compare

@gjanders gjanders released this 25 Apr 02:14

Adding python.required in inputs.conf, commands.conf and restmap.conf as requested by splunkbase, this is supported in 10.2 and above. Harmless warning messages may occur on older Splunk versions.

1.2.18

Choose a tag to compare

@gjanders gjanders released this 07 Feb 04:36

Updates to splunkversioncontrol_backup_class.py:

  • Remove the "disabled" flag from the collections if it exists during the backup

1.2.17

Choose a tag to compare

@gjanders gjanders released this 07 Jan 08:05

Updates to splunkversioncontrol_backup_class.py:

  • Added retry logic
  • Renamed type to obj_type to avoid clashes with the builtin python type
  • Added logic to remove default entries for savedsearches when backing up (this can reduce the display.visualization entries in some cases)
  • The code now triggers an exit with a particular exit code depending where the failure occurs

Updated Splunk python SDK to 2.1.1

1.2.16

Choose a tag to compare

@gjanders gjanders released this 03 Nov 06:49
  • splunkversioncontrol_backup_class.py - added "embed.expiry" to ignoreList (due to reports of issues in dashboards in new versions of Splunk cloud)

1.2.15

Choose a tag to compare

@gjanders gjanders released this 13 Oct 09:00
  • splunkversioncontrol_backup_class.py - added "embed.enabled" to ignoreList (due to reports of issues in dashboards in new versions of Splunk cloud)

1.2.14

Choose a tag to compare

@gjanders gjanders released this 15 Jun 05:30
  • splunkversioncontrol_utility.py - additional logging for errors

Files:

  • splunkversioncontrol_backup.py
  • splunkversioncontrol_backup_class.py
  • splunkversioncontrol_restore.py
  • splunkversioncontrol_rest_restore.py
  • splunkversioncontrol_restore_class.py

Modified to use the REST API search/jobs v2 endpoint
Note that due to the use of the v2 endpoints this release supports 9.0 and above.

1.2.13

Choose a tag to compare

@gjanders gjanders released this 09 May 06:02
  • splunkversioncontrol_restore_class.py - updated to show a message if the app in question does not exist

Library updates:

  • Updated Splunk python SDK to 2.1.0

Includes updates from 1.2.12:

  • Update as per github issue #28, python code update to splunkversioncontrol_utility.py for Splunk 9.3 compatibility contributed by ParksBra

1.2.11

Choose a tag to compare

@gjanders gjanders released this 17 Apr 23:57

Library updates:

  • Updated Splunk python SDK to 2.0.1

1.2.10

Choose a tag to compare

@gjanders gjanders released this 29 Jun 10:09

Updates:

  • Disabled urllib3 warnings
  • Added timeout=0 on SplunkVersionControl ChangeDetector Directory savedsearch
  • Added some minor comments about /services/properties/savedsearches/default (no changes in this version)
  • Updated various internal calls to use sslVerify setting. Hopefully nothing will break but this will result in more SSL verification in various parts of the code

Library updates:

  • Updated Splunk python SDK to 1.7.3

1.2.9

Choose a tag to compare

@gjanders gjanders released this 22 Sep 10:16

New features:

  • Added wildcard support for restores, so restore a savedsearch of Test* will now restore any savedsearch starting with Test, wildcards can be used on any knowledge object
  • Created a new file called test_git.py

Updates:

  • Re-factored splunkversioncontrol_restore_class.py
  • Added more debug logging in case something does fail on restoration
  • Updated the savedsearches for the _audit index query to look for info=completed as well as info=granted, as this does not appear in Splunk 9
  • Added more time for the _audit log entry to appear, previously it would appear on the same second the dashboard was run, now there is an approx 10 second delay

Library updates:

  • Updated Splunk python SDK to 1.7.2