Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SplunkPy] MyPy In Docker #38035

Merged
merged 3 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Packs/SplunkPy/Integrations/SplunkPy/SplunkPy.py
Original file line number Diff line number Diff line change
Expand Up @@ -2500,7 +2500,7 @@
total_parsed_results: list[dict[str, Any]] = []
dbot_scores: list[dict[str, Any]] = []

while len(total_parsed_results) < int(num_of_results_from_query) and len(total_parsed_results) < results_limit:
while len(total_parsed_results) < int(num_of_results_from_query) and len(total_parsed_results) < results_limit: # type: ignore[arg-type]

Check failure on line 2503 in Packs/SplunkPy/Integrations/SplunkPy/SplunkPy.py

View workflow job for this annotation

GitHub Actions / pre-commit / pre-commit

Ruff (E501)

Packs/SplunkPy/Integrations/SplunkPy/SplunkPy.py:2503:131: E501 Line too long (141 > 130 characters)

Check failure on line 2503 in Packs/SplunkPy/Integrations/SplunkPy/SplunkPy.py

View workflow job for this annotation

GitHub Actions / pre-commit / pre-commit

Ruff (E501)

Packs/SplunkPy/Integrations/SplunkPy/SplunkPy.py:2503:131: E501 Line too long (141 > 130 characters)
current_batch_of_results = get_current_results_batch(search_job, batch_size, results_offset)
max_results_to_add = results_limit - len(total_parsed_results)
parsed_batch_results, batch_dbot_scores = parse_batch_of_results(current_batch_of_results, max_results_to_add,
Expand Down
2 changes: 1 addition & 1 deletion Packs/SplunkPy/Integrations/SplunkPy/SplunkPy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ script:
- contextPath: Splunk.UserMapping.SplunkUser
description: Splunk user mapping.
type: String
dockerimage: demisto/splunksdk-py3:1.0.0.115556
dockerimage: demisto/splunksdk-py3:1.0.0.117329
isfetch: true
ismappable: true
isremotesyncin: true
Expand Down
6 changes: 6 additions & 0 deletions Packs/SplunkPy/ReleaseNotes/3_1_50.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Integrations

##### SplunkPy

Updated the Docker image to: *demisto/splunksdk-py3:1.0.0.117329*.
2 changes: 1 addition & 1 deletion Packs/SplunkPy/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Splunk",
"description": "Run queries on Splunk servers.",
"support": "xsoar",
"currentVersion": "3.1.49",
"currentVersion": "3.1.50",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
Loading