Skip to content

Commit

Permalink
[MongoDBAtlasEventCollector] MyPy In Docker (#38139)
Browse files Browse the repository at this point in the history
* fix

* docker

* RN
  • Loading branch information
shmuel44 authored and omerKarkKatz committed Jan 15, 2025
1 parent ae884ff commit a6cf6e8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
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

0 comments on commit a6cf6e8

Please sign in to comment.