Skip to content

Commit f8107f2

Browse files
author
Shakeel Mohamed
committed
Merge branch 'master' into develop
2 parents 486ad19 + 906c581 commit f8107f2

File tree

7 files changed

+38
-6
lines changed

7 files changed

+38
-6
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
# Splunk SDK for Python Changelog
22

33

4+
## Version 1.3.0
5+
6+
### New features and APIs
7+
8+
* Added support for Storage Passwords.
9+
10+
* Added a script (GenerateHelloCommand) to the searchcommand_app to generate a custom search command.
11+
12+
* Added a human readable title parameter to `modularinput.argument`.
13+
14+
* Renamed the searchcommand `csv` module to `splunk_csv`.
15+
16+
### Bug fixes
17+
18+
* Now entities that contain slashes in their name can be created, accessed and deleted correctly.
19+
20+
* Fixed a perfomance issue with connecting to Splunk on Windows.
21+
22+
* Improved the `service.restart()` function.
23+
424
## Version 1.2.3
525

626
### New features and APIs

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The Splunk Software Development Kit for Python
22

3-
#### Version 1.2.3
3+
#### Version 1.3.0
44

55
The Splunk Software Development Kit (SDK) for Python contains library code and
66
examples designed to enable developers to build applications using Splunk.

docs/client.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ splunklib.client
110110
:inherited-members:
111111

112112
.. autoclass:: Service
113-
:members: apps, confs, capabilities, event_types, fired_alerts, indexes, info, inputs, jobs, loggers, messages, modular_input_kinds, parse, restart, restart_required, roles, search, saved_searches, settings, splunk_version, users
113+
:members: apps, confs, capabilities, event_types, fired_alerts, indexes, info, inputs, jobs, loggers, messages, modular_input_kinds, parse, restart, restart_required, roles, search, saved_searches, settings, splunk_version, storage_passwords, users
114114
:inherited-members:
115115

116116
.. autoclass:: Settings
@@ -121,6 +121,14 @@ splunklib.client
121121
:members: submit
122122
:inherited-members:
123123

124+
.. autoclass:: StoragePassword
125+
:members: clear_password, encrypted_password, realm, username
126+
:inherited-members:
127+
128+
.. autoclass:: StoragePasswords
129+
:members: create, delete
130+
:inherited-members:
131+
124132
.. autoclass:: User
125133
:members: role_entities
126134
:inherited-members:

docs/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ For more information, see the `Splunk Developer Portal <http://dev.splunk.com/vi
8585

8686
:class:`~splunklib.client.Settings` class
8787

88+
:class:`~splunklib.client.StoragePassword` class
89+
90+
:class:`~splunklib.client.StoragePasswords` class
91+
8892
:class:`~splunklib.client.User` class
8993

9094
:class:`~splunklib.client.Users` class

examples/searchcommands_app/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
splunk-sdk-python search_commands_app example
1+
splunk-sdk-python searchcommands_app example
22
=============================================
33

44
This app provides several examples of custom search commands which illustrate each of the base types:

splunklib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414

1515
"""Python library for Splunk."""
1616

17-
__version_info__ = (1, 2, 3)
17+
__version_info__ = (1, 3, 0)
1818
__version__ = ".".join(map(str, __version_info__))
1919

splunklib/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,9 +473,9 @@ def modular_input_kinds(self):
473473

474474
@property
475475
def storage_passwords(self):
476-
"""Returns the collection of the modular input kinds on this Splunk instance.
476+
"""Returns the collection of the storage passwords on this Splunk instance.
477477
478-
:return: A :class:`ReadOnlyCollection` of :class:`ModularInputKind` entities.
478+
:return: A :class:`ReadOnlyCollection` of :class:`StoragePasswords` entities.
479479
"""
480480
return StoragePasswords(self)
481481

0 commit comments

Comments
 (0)