Skip to content

Commit

Permalink
Updating python SDK to 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gjanders committed Mar 29, 2024
1 parent 93af159 commit 7ff94ca
Show file tree
Hide file tree
Showing 28 changed files with 751 additions and 793 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This is a basic workflow to generate build
name: "Generate build, run app inspect and update splunklib"

on: push

jobs:
pre-release:
name: "Run on push - Add Utilities & App Inspect"
runs-on: "ubuntu-latest"

steps:
- uses: VatsalJagani/splunk-app-action@v4
with:
my_github_token: ${{ secrets.MY_GITHUB_TOKEN }}
splunkbase_username: ${{ secrets.SPLUNKBASE_USERNAME }}
splunkbase_password: ${{ secrets.SPLUNKBASE_PASSWORD }}
to_make_permission_changes: true
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ Shannon Davis (Splunk)
Steven (malvidin on github)

# Release Notes
## 2.4.2
Updated python SDK to 2.0.1

## 2.4.1
- Added support for null argument padding, so `find('decrypt2')` is equivalent to `find('decrypt2', 0)`
- Added zlib_deflate for internal validation of zlib_inflate, which can also be used for information analysis
Expand Down
9 changes: 4 additions & 5 deletions bin/lib/splunklib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2011-2015 Splunk, Inc.
# Copyright © 2011-2024 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand All @@ -14,12 +14,10 @@

"""Python library for Splunk."""

from __future__ import absolute_import
from splunklib.six.moves import map
import logging

DEFAULT_LOG_FORMAT = '%(asctime)s, Level=%(levelname)s, Pid=%(process)s, Logger=%(name)s, File=%(filename)s, ' \
'Line=%(lineno)s, %(message)s'
'Line=%(lineno)s, %(message)s'
DEFAULT_DATE_FORMAT = '%Y-%m-%d %H:%M:%S %Z'


Expand All @@ -31,5 +29,6 @@ def setup_logging(level, log_format=DEFAULT_LOG_FORMAT, date_format=DEFAULT_DATE
format=log_format,
datefmt=date_format)

__version_info__ = (1, 7, 3)

__version_info__ = (2, 0, 1)
__version__ = ".".join(map(str, __version_info__))
Loading

0 comments on commit 7ff94ca

Please sign in to comment.