splunk-soar-sdk 3.3.2__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 +8 -0
- {splunk_soar_sdk-3.3.2.dist-info → splunk_soar_sdk-3.4.0.dist-info}/METADATA +1 -1
- {splunk_soar_sdk-3.3.2.dist-info → splunk_soar_sdk-3.4.0.dist-info}/RECORD +6 -6
- {splunk_soar_sdk-3.3.2.dist-info → splunk_soar_sdk-3.4.0.dist-info}/WHEEL +0 -0
- {splunk_soar_sdk-3.3.2.dist-info → splunk_soar_sdk-3.4.0.dist-info}/entry_points.txt +0 -0
- {splunk_soar_sdk-3.3.2.dist-info → splunk_soar_sdk-3.4.0.dist-info}/licenses/LICENSE +0 -0
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
|
+
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
|
|
@@ -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=
|
|
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.
|
|
107
|
-
splunk_soar_sdk-3.
|
|
108
|
-
splunk_soar_sdk-3.
|
|
109
|
-
splunk_soar_sdk-3.
|
|
110
|
-
splunk_soar_sdk-3.
|
|
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,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|