splunk-soar-sdk 3.3.1__py3-none-any.whl → 3.4.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
soar_sdk/params.py CHANGED
@@ -14,6 +14,8 @@ remove_when_soar_newer_than(
14
14
  "7.0.0", "NotRequired from typing_extensions is in typing in Python 3.11+"
15
15
  )
16
16
 
17
+ MAX_COUNT_VALUE = 4294967295
18
+
17
19
 
18
20
  def Param(
19
21
  description: str | None = None,
@@ -192,6 +194,12 @@ class OnPollParams(Params):
192
194
  allow_list=True,
193
195
  )
194
196
 
197
+ def is_manual_poll(self) -> bool:
198
+ """Check if this is a manual poll execution (poll now) vs scheduled polling."""
199
+ if not self.container_count:
200
+ return False
201
+ return int(self.container_count) != MAX_COUNT_VALUE
202
+
195
203
 
196
204
  class OnESPollParams(Params):
197
205
  """Canonical parameters for the special 'on es poll' action."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: splunk-soar-sdk
3
- Version: 3.3.1
3
+ Version: 3.4.0
4
4
  Summary: The official framework for developing and testing Splunk SOAR Apps
5
5
  Project-URL: Homepage, https://github.com/phantomcyber/splunk-soar-sdk
6
6
  Project-URL: Documentation, https://github.com/phantomcyber/splunk-soar-sdk
@@ -16,7 +16,7 @@ Classifier: Natural Language :: English
16
16
  Classifier: Programming Language :: Python :: 3
17
17
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
18
18
  Classifier: Typing :: Typed
19
- Requires-Python: <=3.14,>=3.13
19
+ Requires-Python: <3.15,>=3.13
20
20
  Requires-Dist: beautifulsoup4>=4.10.0
21
21
  Requires-Dist: bleach>=6.2.0
22
22
  Requires-Dist: build>=1.3.0
@@ -59,7 +59,7 @@ The recommended installation method is via [uv](https://docs.astral.sh/uv/).
59
59
 
60
60
  ## Find us at .conf25
61
61
 
62
- To learn more about the SDK, check out our presentation at [.conf25](https://conf.splunk.com/sessions/catalog.html?search=DEV1495#/)!
62
+ To learn more about the SDK, check out our (presentation slides)[https://conf.splunk.com/files/2025/slides/DEV1495.pdf] from .conf25!
63
63
 
64
64
  ## Installing the SDK as a tool
65
65
 
@@ -15,7 +15,7 @@ soar_sdk/exceptions.py,sha256=413-AcIM7IMixoyVk_0yDaqsUhommb784uH5vSv18lU,2129
15
15
  soar_sdk/field_utils.py,sha256=Jb0HteUPd-CtuDM7rNXVLy4uRxl419zeDxY_oOpU8GM,287
16
16
  soar_sdk/input_spec.py,sha256=79MFGF2IkAAoWpHmZYP0VqUBu10SkvmF_RPmXkf8bQ4,4677
17
17
  soar_sdk/logging.py,sha256=30cUxU7Tjf_OY4rUOrvjDoqPH7pcFydrdDbcG4ppY_s,11424
18
- soar_sdk/params.py,sha256=I-XL_5b7XEZEpnqAG05dll7rdscRnzbBInypO8miD_U,10308
18
+ soar_sdk/params.py,sha256=_rLi4uZ7Z_Gp3lkgipAHfKc04FJSz9pqBgP3FYemw0E,10587
19
19
  soar_sdk/paths.py,sha256=XhpanQCAiTXaulRx440oKu36mnll7P05TethHXgMpgQ,239
20
20
  soar_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  soar_sdk/types.py,sha256=-mOu8_sphcgJictMTn4Dl_6ijd2elLAlU2nuXF74zQc,616
@@ -103,8 +103,8 @@ soar_sdk/views/components/pie_chart.py,sha256=LVTeHVJN6nf2vjUs9y7PDBhS0U1fKW750l
103
103
  soar_sdk/webhooks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
104
104
  soar_sdk/webhooks/models.py,sha256=PG9SDs5xXqtFndm5C8AsJOTYXU5v_UTY7SpYosWT_CA,4542
105
105
  soar_sdk/webhooks/routing.py,sha256=MnzbnIDy2uG_5mJzsTeX-NsE6QYvzyqEGbHmEFj-DG8,6900
106
- splunk_soar_sdk-3.3.1.dist-info/METADATA,sha256=3Y2eWE1VKaxWd8ZDzrvflA5jt2ZCX6LdwR2JRUe7VeY,7334
107
- splunk_soar_sdk-3.3.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
108
- splunk_soar_sdk-3.3.1.dist-info/entry_points.txt,sha256=CgBjo2ZWpYNkt9TgvToL26h2Tg1yt8FbvYTb5NVgNuc,51
109
- splunk_soar_sdk-3.3.1.dist-info/licenses/LICENSE,sha256=gNCGrGhrSQb1PUzBOByVUN1tvaliwLZfna-QU2r2hQ8,11345
110
- splunk_soar_sdk-3.3.1.dist-info/RECORD,,
106
+ splunk_soar_sdk-3.4.0.dist-info/METADATA,sha256=48BpbywWZ2BDcMD4ZKBUGmZJ9WE1VZW6IuDt8ssYVlE,7333
107
+ splunk_soar_sdk-3.4.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
108
+ splunk_soar_sdk-3.4.0.dist-info/entry_points.txt,sha256=CgBjo2ZWpYNkt9TgvToL26h2Tg1yt8FbvYTb5NVgNuc,51
109
+ splunk_soar_sdk-3.4.0.dist-info/licenses/LICENSE,sha256=gNCGrGhrSQb1PUzBOByVUN1tvaliwLZfna-QU2r2hQ8,11345
110
+ splunk_soar_sdk-3.4.0.dist-info/RECORD,,