splunk-soar-sdk 2.3.3__py3-none-any.whl → 2.3.4__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/app_templates/basic_app/.pre-commit-config.yaml +79 -6
- soar_sdk/cli/init/cli.py +4 -0
- {splunk_soar_sdk-2.3.3.dist-info → splunk_soar_sdk-2.3.4.dist-info}/METADATA +1 -1
- {splunk_soar_sdk-2.3.3.dist-info → splunk_soar_sdk-2.3.4.dist-info}/RECORD +7 -7
- {splunk_soar_sdk-2.3.3.dist-info → splunk_soar_sdk-2.3.4.dist-info}/WHEEL +0 -0
- {splunk_soar_sdk-2.3.3.dist-info → splunk_soar_sdk-2.3.4.dist-info}/entry_points.txt +0 -0
- {splunk_soar_sdk-2.3.3.dist-info → splunk_soar_sdk-2.3.4.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,11 +1,84 @@
|
|
|
1
|
+
# See https://pre-commit.com for more information
|
|
2
|
+
# See https://pre-commit.com/hooks.html for more hooks
|
|
3
|
+
|
|
4
|
+
# By default, run each hook only in the standard pre-commit stage
|
|
5
|
+
default_install_hook_types: [pre-commit, commit-msg]
|
|
6
|
+
default_stages: [pre-commit]
|
|
7
|
+
|
|
8
|
+
# This is a template for connector pre-commit hooks
|
|
1
9
|
repos:
|
|
2
|
-
-
|
|
3
|
-
rev:
|
|
10
|
+
- repo: https://github.com/compilerla/conventional-pre-commit
|
|
11
|
+
rev: v4.1.0
|
|
4
12
|
hooks:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
13
|
+
- id: conventional-pre-commit
|
|
14
|
+
stages: [commit-msg]
|
|
15
|
+
args: [--verbose]
|
|
16
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
17
|
+
rev: v5.0.0
|
|
18
|
+
hooks:
|
|
19
|
+
- id: check-merge-conflict
|
|
20
|
+
- id: end-of-file-fixer
|
|
21
|
+
exclude: ^NOTICE$
|
|
22
|
+
exclude_types: [ markdown ]
|
|
23
|
+
- id: trailing-whitespace
|
|
24
|
+
exclude: ^NOTICE$
|
|
25
|
+
exclude_types: [ markdown ]
|
|
26
|
+
- id: requirements-txt-fixer
|
|
27
|
+
- id: check-json
|
|
28
|
+
- id: check-yaml
|
|
29
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
30
|
+
rev: v0.11.7
|
|
31
|
+
hooks:
|
|
32
|
+
- id: ruff
|
|
33
|
+
args: [ "--fix", "--unsafe-fixes"] # Allow unsafe fixes (ruff pretty strict about what it can fix)
|
|
34
|
+
- id: ruff-format
|
|
35
|
+
- repo: https://github.com/djlint/djLint
|
|
36
|
+
rev: v1.36.4
|
|
37
|
+
hooks:
|
|
38
|
+
- id: djlint-reformat-django
|
|
39
|
+
- id: djlint-django
|
|
40
|
+
- repo: https://github.com/phantomcyber/soar-app-linter
|
|
41
|
+
rev: 0.1.0
|
|
42
|
+
hooks:
|
|
43
|
+
- id: soar-app-linter
|
|
44
|
+
args: ["--single-repo", "--message-level", "error"]
|
|
45
|
+
- repo: https://github.com/hukkin/mdformat
|
|
46
|
+
rev: 0.7.22
|
|
47
|
+
hooks:
|
|
48
|
+
- id: mdformat
|
|
49
|
+
exclude: "release_notes/.*"
|
|
50
|
+
- repo: https://github.com/returntocorp/semgrep
|
|
51
|
+
rev: v1.89.0
|
|
52
|
+
hooks:
|
|
53
|
+
- id: semgrep
|
|
54
|
+
- repo: https://github.com/Yelp/detect-secrets
|
|
8
55
|
rev: v1.5.0
|
|
9
56
|
hooks:
|
|
10
|
-
|
|
57
|
+
- id: detect-secrets
|
|
11
58
|
args: ['--no-verify']
|
|
59
|
+
exclude_types: [json]
|
|
60
|
+
exclude: "README.md"
|
|
61
|
+
# Central hooks
|
|
62
|
+
- repo: https://github.com/phantomcyber/dev-cicd-tools
|
|
63
|
+
rev: v2.1.0
|
|
64
|
+
hooks:
|
|
65
|
+
- id: build-docs
|
|
66
|
+
language: python
|
|
67
|
+
additional_dependencies: ["local-hooks"]
|
|
68
|
+
args: ['.']
|
|
69
|
+
- id: copyright
|
|
70
|
+
language: python
|
|
71
|
+
additional_dependencies: ["local-hooks"]
|
|
72
|
+
args: ['.']
|
|
73
|
+
- id: notice-file
|
|
74
|
+
language: python
|
|
75
|
+
additional_dependencies: ["local-hooks"]
|
|
76
|
+
args: ['.']
|
|
77
|
+
- id: release-notes
|
|
78
|
+
language: python
|
|
79
|
+
additional_dependencies: ["local-hooks"]
|
|
80
|
+
args: ['.']
|
|
81
|
+
- id: static-tests
|
|
82
|
+
language: python
|
|
83
|
+
additional_dependencies: ["local-hooks"]
|
|
84
|
+
args: ['.']
|
soar_sdk/cli/init/cli.py
CHANGED
|
@@ -190,6 +190,10 @@ def init_sdk_app(
|
|
|
190
190
|
app_text = ast.unparse(app_module)
|
|
191
191
|
(app_dir / "src/app.py").write_text(app_text)
|
|
192
192
|
|
|
193
|
+
release_notes_dir = app_dir / "release_notes"
|
|
194
|
+
release_notes_dir.mkdir(exist_ok=True)
|
|
195
|
+
(release_notes_dir / "unreleased.md").write_text("**Unreleased**\n")
|
|
196
|
+
|
|
193
197
|
uv_path = shutil.which("uv")
|
|
194
198
|
if not uv_path:
|
|
195
199
|
rprint("[red]uv command not found. Please install uv to continue.[/]")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: splunk-soar-sdk
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.4
|
|
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
|
|
@@ -23,7 +23,7 @@ soar_sdk/apis/container.py,sha256=eLV3S1zvwfMerNXM78gsSqiMDv731oVwBcdfQJdxSn4,87
|
|
|
23
23
|
soar_sdk/apis/utils.py,sha256=lyqVGVRzRfCmel0k678CSD4tVASXkVZGm4Qzee2KbyM,982
|
|
24
24
|
soar_sdk/apis/vault.py,sha256=nOIi7oqrBl59AfI1i0zWxfj-TO24x02_RYLSgT0rXNY,8565
|
|
25
25
|
soar_sdk/app_templates/basic_app/.gitignore,sha256=CwSrCn9YISq7Q2EJVc7o1kdkXqysZngGJfz-4pOMMdY,3517
|
|
26
|
-
soar_sdk/app_templates/basic_app/.pre-commit-config.yaml,sha256=
|
|
26
|
+
soar_sdk/app_templates/basic_app/.pre-commit-config.yaml,sha256=0sFjnoC-scXm80ZgA4TPyc6BN1VaF4eY9p8qwEchB38,2526
|
|
27
27
|
soar_sdk/app_templates/basic_app/logo.svg,sha256=_JTop6spn5oPWPk-w6Tzumx_FTSBanOYra3vE2FO-6c,285
|
|
28
28
|
soar_sdk/app_templates/basic_app/logo_dark.svg,sha256=PTxIs_1CKK9ZY3v-K1QoGwaUng9ZUL2MhUeO2jeHu_0,291
|
|
29
29
|
soar_sdk/app_templates/basic_app/uv.lock,sha256=AfgaIBg88KH-0iyXpCXacXAwHYKm0c-on2gWXjV9L-Y,80216
|
|
@@ -33,7 +33,7 @@ soar_sdk/cli/cli.py,sha256=62n6b41bjXILtkqLTpeID8JyDYMbkfXNV1LCo52YUsA,926
|
|
|
33
33
|
soar_sdk/cli/path_utils.py,sha256=rFJDAe-sTC_6KgSiidlD3JcpygFmyHAEsn1j_6eWpIc,1263
|
|
34
34
|
soar_sdk/cli/utils.py,sha256=GNZLFAMH_BKQo2-D5GvweWxeuR7DfR8eMZS4-sJUggU,1441
|
|
35
35
|
soar_sdk/cli/init/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
36
|
-
soar_sdk/cli/init/cli.py,sha256=
|
|
36
|
+
soar_sdk/cli/init/cli.py,sha256=FU9N0pMGUoNA0qHnA3m63vfytmXPHpHxHep-D-T16-c,14674
|
|
37
37
|
soar_sdk/cli/manifests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
38
|
soar_sdk/cli/manifests/cli.py,sha256=cly5xVdj4bBIdZVMQPIWTXRgUfd1ON3qKO-76Fwql18,524
|
|
39
39
|
soar_sdk/cli/manifests/deserializers.py,sha256=xFTRzWEszKbkO-yNUvGnQfjdJryXpB2FalkxaDmzm3Y,16589
|
|
@@ -96,8 +96,8 @@ soar_sdk/views/components/pie_chart.py,sha256=LVTeHVJN6nf2vjUs9y7PDBhS0U1fKW750l
|
|
|
96
96
|
soar_sdk/webhooks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
97
97
|
soar_sdk/webhooks/models.py,sha256=-rjuFA9cRX5zTLp7cHSHVTkt5eVJD6BdESGbj_qkyHI,4540
|
|
98
98
|
soar_sdk/webhooks/routing.py,sha256=BKbURSrBPdOTS5UFL-mHzFEr-Fj04mJMx9KeiPrZ2VQ,6872
|
|
99
|
-
splunk_soar_sdk-2.3.
|
|
100
|
-
splunk_soar_sdk-2.3.
|
|
101
|
-
splunk_soar_sdk-2.3.
|
|
102
|
-
splunk_soar_sdk-2.3.
|
|
103
|
-
splunk_soar_sdk-2.3.
|
|
99
|
+
splunk_soar_sdk-2.3.4.dist-info/METADATA,sha256=U0BNBr8ZFSOR7hfUx2qQP-Wn5p4zcabzTo8U0xowIpY,7361
|
|
100
|
+
splunk_soar_sdk-2.3.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
101
|
+
splunk_soar_sdk-2.3.4.dist-info/entry_points.txt,sha256=CgBjo2ZWpYNkt9TgvToL26h2Tg1yt8FbvYTb5NVgNuc,51
|
|
102
|
+
splunk_soar_sdk-2.3.4.dist-info/licenses/LICENSE,sha256=gNCGrGhrSQb1PUzBOByVUN1tvaliwLZfna-QU2r2hQ8,11345
|
|
103
|
+
splunk_soar_sdk-2.3.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|