Skip to content

Commit f2befb3

Browse files
authored
demisto/python3:3.11.10.116439, demisto/boto3py3:1.0.0.116921, demist… (demisto#37285)
* demisto/python3:3.11.10.116439, demisto/boto3py3:1.0.0.116921, demisto/auth-utils:1.0.0.116930 | 0-100 | PR batch #1/1 * update to UTC + docker native image * remove import timezone * update release notes
1 parent 4bc5e97 commit f2befb3

45 files changed

Lines changed: 213 additions & 66 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Packs/AWS-SecurityHub/Integrations/AWS_SecurityHub/AWS_SecurityHub.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import boto3
44

55
import urllib3.util
6-
from datetime import timezone
6+
from datetime import UTC
77
from dateparser import parse
88

99
# Disable insecure warnings
@@ -815,7 +815,7 @@ def fetch_incidents(client, aws_sh_severity, archive_findings, additional_filter
815815
date_from = parse(f'{first_fetch_timestamp} UTC')
816816
last_run = date_from.isoformat() # type: ignore
817817

818-
now = datetime.now(timezone.utc)
818+
now = datetime.now(UTC)
819819

820820
filters = {
821821
'CreatedAt': [{

Packs/AWS-SecurityHub/Integrations/AWS_SecurityHub/AWS_SecurityHub.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2077,7 +2077,7 @@ script:
20772077
description: The UTC timestamp in seconds since the last update. The incident is only updated if it was modified after the last update time.
20782078
- name: get-mapping-fields
20792079
description: Returns the list of fields to map in outgoing mirroring. This command is only used for debugging purposes.
2080-
dockerimage: demisto/boto3py3:1.0.0.100468
2080+
dockerimage: demisto/boto3py3:1.0.0.116921
20812081
isfetch: true
20822082
ismappable: true
20832083
isremotesyncin: true
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
#### Integrations
3+
4+
##### AWS - Security Hub
5+
6+
7+
- Updated the Docker image to: *demisto/boto3py3:1.0.0.116921*.

Packs/AWS-SecurityHub/pack_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "AWS - Security Hub",
33
"description": "Amazon Web Services Security Hub Service.",
44
"support": "xsoar",
5-
"currentVersion": "1.3.37",
5+
"currentVersion": "1.3.38",
66
"author": "Cortex XSOAR",
77
"url": "https://www.paloaltonetworks.com/cortex",
88
"email": "",

Packs/Akamai_SIEM/Integrations/Akamai_SIEM/Akamai_SIEM.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ script:
220220
- contextPath: IP.Geo.Country
221221
description: The country in which the IP address is located.
222222
type: String
223-
dockerimage: demisto/auth-utils:1.0.0.116752
223+
dockerimage: demisto/auth-utils:1.0.0.116930
224224
isfetch: true
225225
isfetch:marketplacev2: false
226226
isfetchevents: true
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
#### Integrations
3+
4+
##### Akamai WAF SIEM
5+
6+
7+
- Updated the Docker image to: *demisto/auth-utils:1.0.0.116930*.

Packs/Akamai_SIEM/pack_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Akamai WAF SIEM",
33
"description": "Use the Akamai WAF SIEM integration to retrieve security events from Akamai Web Application Firewall (WAF) service.",
44
"support": "xsoar",
5-
"currentVersion": "1.1.7",
5+
"currentVersion": "1.1.8",
66
"author": "Cortex XSOAR",
77
"url": "https://www.paloaltonetworks.com/cortex",
88
"email": "",

Packs/Box/Integrations/BoxV2/BoxV2.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import jwt
1212
import re
1313
from distutils.util import strtobool
14-
from datetime import timezone
14+
from datetime import UTC
1515
from typing import Any, Dict, Tuple, List, Optional, BinaryIO
1616
from requests.models import Response
1717
from hashlib import sha1
@@ -1935,7 +1935,7 @@ def test_module(client: Client, params: dict, first_fetch_time: int) -> str:
19351935
if not params.get('as_user'):
19361936
raise DemistoException("In order to use fetch, a User ID for Fetching Incidents is "
19371937
"required.")
1938-
created_after = datetime.fromtimestamp(first_fetch_time, tz=timezone.utc).strftime(
1938+
created_after = datetime.fromtimestamp(first_fetch_time, tz=UTC).strftime(
19391939
DATE_FORMAT)
19401940
response = client.list_events(
19411941
as_user=params.get('as_user'), # type:ignore
@@ -1965,12 +1965,12 @@ def fetch_incidents(client: Client, max_results: int, last_run: dict, first_fetc
19651965
created_after = last_run.get('time', None)
19661966
incidents = []
19671967
if not created_after:
1968-
created_after = datetime.fromtimestamp(first_fetch_time, tz=timezone.utc).strftime(
1968+
created_after = datetime.fromtimestamp(first_fetch_time, tz=UTC).strftime(
19691969
DATE_FORMAT)
19701970
results = client.list_events(stream_type='admin_logs', as_user=as_user, limit=max_results,
19711971
created_after=created_after)
19721972
raw_incidents = results.get('entries', [])
1973-
next_run = datetime.now(tz=timezone.utc).strftime(DATE_FORMAT)
1973+
next_run = datetime.now(tz=UTC).strftime(DATE_FORMAT)
19741974
for raw_incident in raw_incidents:
19751975
event = Event(raw_input=raw_incident)
19761976
xsoar_incident = event.format_incident()

Packs/Box/Integrations/BoxV2/BoxV2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2496,7 +2496,7 @@ script:
24962496
- contextPath: Box.Folder.item_status
24972497
description: The status of the parent of the item.
24982498
type: String
2499-
dockerimage: demisto/auth-utils:1.0.0.91447
2499+
dockerimage: demisto/auth-utils:1.0.0.116930
25002500
isfetch: true
25012501
runonce: false
25022502
script: '-'

Packs/Box/ReleaseNotes/3_2_5.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
#### Integrations
3+
4+
##### Box v2
5+
6+
7+
- Updated the Docker image to: *demisto/auth-utils:1.0.0.116930*.

0 commit comments

Comments
 (0)