Skip to content

Commit

Permalink
Upgraade aws sqs to python3 (#20985)
Browse files Browse the repository at this point in the history
* upgrade

* rn

* fix lint

* docker

* knonw

* rn

* docker
  • Loading branch information
MosheEichler authored Sep 21, 2022
1 parent d9e12b6 commit 4134167
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Packs/AWS-SQS/.pack-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ ignore=IN126

[file:AWS-SQS.yml]
ignore=IN126,BA108,BA109,IN145

[known_words]
AbuseIPDB
2 changes: 1 addition & 1 deletion Packs/AWS-SQS/Integrations/AWS-SQS/AWS-SQS.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def main():
timeout = params.get('timeout')
retries = params.get('retries') or 5
aws_queue_url = params.get('queueUrl')
max_fetch = min(arg_to_number(params.get('max_fetch', 10)), 100)
max_fetch = min(arg_to_number(params.get('max_fetch', 10)) or 10, 100)
parse_body_as_json = params.get('parse_body_as_json', False)

commands = {
Expand Down
4 changes: 2 additions & 2 deletions Packs/AWS-SQS/Integrations/AWS-SQS/AWS-SQS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ configuration:
script:
script: ''
type: python
subtype: python2
subtype: python3
commands:
- name: aws-sqs-get-queue-url
arguments:
Expand Down Expand Up @@ -278,7 +278,7 @@ script:
from 900 seconds (15 minutes) up to the maximum session duration setting for
the role.
description: Deletes the messages in a queue specified by the QueueURL parameter.
dockerimage: demisto/boto3:2.0.0.24033
dockerimage: demisto/boto3py3:1.0.0.34383
isfetch: true
runonce: false
tests:
Expand Down
4 changes: 4 additions & 0 deletions Packs/AWS-SQS/ReleaseNotes/1_2_12.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

#### Integrations
##### AWS - SQS
- Updated the Docker image to: *demisto/boto3py3:1.0.0.34383*.
2 changes: 1 addition & 1 deletion Packs/AWS-SQS/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "AWS - SQS",
"description": "Amazon Web Services Simple Queuing Service (SQS)",
"support": "xsoar",
"currentVersion": "1.2.11",
"currentVersion": "1.2.12",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down

0 comments on commit 4134167

Please sign in to comment.