Skip to content

Commit

Permalink
[Auto Update Docker] AUD-demisto/auto_update_docker_staging_branch_2 (#…
Browse files Browse the repository at this point in the history
…34968)

* Updated docker image to demisto/pcap-miner:1.0.0.96695. PR batch #1/1 (#34716)

Co-authored-by: Tal Zichlinsky <[email protected]>

* Updated docker image to demisto/pycountry:1.0.0.96960. PR batch #1/1 (#34718)

Co-authored-by: Tal Zichlinsky <[email protected]>

* Updated docker image to demisto/py3-tools:1.0.0.96976. PR batch #1/1 (#34717)

Co-authored-by: Tal Zichlinsky <[email protected]>

* Updated docker image to demisto/xsoar-tools:1.0.0.96723. PR batch #1/1 (#34719)

Co-authored-by: Tal Zichlinsky <[email protected]>

* Updated docker image to demisto/ansible-runner:1.0.0.96928. PR batch #1/1 (#34715)

Co-authored-by: Tal Zichlinsky <[email protected]>

* Update RN

* pre-commit

* format

---------

Co-authored-by: Tal Zichlinsky <[email protected]>
  • Loading branch information
samuelFain and talzich authored Jun 26, 2024
1 parent b6976ac commit 6570200
Show file tree
Hide file tree
Showing 24 changed files with 519 additions and 470 deletions.
144 changes: 72 additions & 72 deletions Packs/AnsibleCiscoIOS/Integrations/AnsibleCiscoIOS/AnsibleCiscoIOS.yml

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions Packs/AnsibleCiscoIOS/ReleaseNotes/1_0_8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Integrations

##### Ansible Cisco IOS

- Updated the Docker image to: *demisto/ansible-runner:1.0.0.96928*.
2 changes: 1 addition & 1 deletion Packs/AnsibleCiscoIOS/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Ansible Cisco IOS",
"description": "Manage and control Cisco IOS based network devices.",
"support": "xsoar",
"currentVersion": "1.0.7",
"currentVersion": "1.0.8",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
9 changes: 9 additions & 0 deletions Packs/ContentManagement/ReleaseNotes/1_2_20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

#### Scripts

##### ConfigurationSetup

- Updated the Docker image to: *demisto/xsoar-tools:1.0.0.96723*.
##### ListCreator

- Updated the Docker image to: *demisto/xsoar-tools:1.0.0.96723*.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ tags:
- Content Management
timeout: '0'
type: python
dockerimage: demisto/xsoar-tools:1.0.0.36076
dockerimage: demisto/xsoar-tools:1.0.0.96723
tests:
- No tests (auto formatted)
fromversion: 6.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags:
- Content Management
timeout: '0'
type: python
dockerimage: demisto/xsoar-tools:1.0.0.19258
dockerimage: demisto/xsoar-tools:1.0.0.96723
tests:
- No tests (auto formatted)
fromversion: 6.0.0
2 changes: 1 addition & 1 deletion Packs/ContentManagement/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "XSOAR CI/CD",
"description": "This pack enables you to orchestrate your XSOAR system configuration.",
"support": "xsoar",
"currentVersion": "1.2.19",
"currentVersion": "1.2.20",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import dateparser
from datetime import datetime, timedelta
from bs4 import BeautifulSoup
from typing import List

DATE_FORMAT = '%Y-%m-%dT%H:%M:%S'
HOST = demisto.params().get('host')
Expand Down Expand Up @@ -79,7 +78,7 @@ def login(host=HOST, cov_id=None, username=USERNAME, password=PASSWORD, verify_s
p = {'username': username, 'password': password}
r = s.post(host + '/rest/login', data=p, verify=verify_ssl)

if 200 != r.status_code:
if r.status_code != 200:
raise Exception("Failed to login to %s - %d" % (host, r.status_code))

if not s.cookies:
Expand Down Expand Up @@ -626,14 +625,13 @@ def list_org():

url = f'https://{HOST}/index'
r = requests.get(url, verify=VERIFY_SSL)
org_names: List[dict] = []
org_names: list[dict] = []

soup = BeautifulSoup(r.text, 'html.parser')
for link in soup.find_all('a'):
org_name = link.contents[0]
if org_name:
if org_name not in [i['org_name'] for i in org_names]:
org_names.append({'org_name': org_name})
if org_name and org_name not in [i['org_name'] for i in org_names]:
org_names.append({'org_name': org_name})

return org_names

Expand Down
Loading

0 comments on commit 6570200

Please sign in to comment.