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

[MongoDBAtlasEventCollector] MyPy In Docker #38139

Merged
merged 6 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def first_time_fetching_events(client: Client, fetch_limit: int) -> tuple[list,
enrich_event(event, event_type='events')
last_fetched_event = results[0] if results else None
new_min_time = last_fetched_event.get('created') if last_fetched_event else None
return results, new_min_time
return results, new_min_time # type: ignore[return-value]


def fetch_events_command(client: Client, fetch_limit: int, last_run: dict) -> tuple[list, dict]:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ script:
name: limit
required: true
outputs:
- contextPath: MongoDBAtlasEventCollector
description: The list of the events and alerts.
type: List
- contextPath: MongoDBAtlasEventCollector
description: The list of the events and alerts.
type: List
runonce: false
script: '-'
type: python
subtype: python3
isfetchevents: true
dockerimage: demisto/python3:3.11.10.116439
dockerimage: demisto/python3:3.11.11.1940698
fromversion: 6.10.0
marketplaces:
- marketplacev2
Expand Down
6 changes: 6 additions & 0 deletions Packs/MongoDBAtlas/ReleaseNotes/1_0_2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Integrations

##### MongoDB Atlas

Updated the Docker image to: *demisto/python3:3.11.11.1940698*.
2 changes: 1 addition & 1 deletion Packs/MongoDBAtlas/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "MongoDB Atlas",
"description": "Cloud-based database service for deploying, managing, and scaling MongoDB clusters.",
"support": "xsoar",
"currentVersion": "1.0.1",
"currentVersion": "1.0.2",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
Loading