Skip to content

Commit

Permalink
Axonius Pack - Add proxy support (demisto#37016) (demisto#37053)
Browse files Browse the repository at this point in the history
* Add proxy support

* Update release notes and docker image

* add .

---------

Co-authored-by: sahar-hagbi1 <[email protected]>
Co-authored-by: Tal <[email protected]>
  • Loading branch information
3 people authored Nov 4, 2024
1 parent 84e81e1 commit 651e554
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Packs/Axonius/Integrations/Axonius/Axonius.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,8 @@ def main():
secret: str = params.get('credentials', {}).get('password')
certverify: bool = not params.get("insecure", False)

handle_proxy() # noqa: F821, F405
proxies: dict = handle_proxy() # noqa: F821, F405
demisto.debug(f"Attempting to connect via proxy with: {proxies}")

demisto.debug(f"Command being called is {command}")
args: dict = demisto.args()
Expand All @@ -394,6 +395,7 @@ def main():
secret=secret,
certverify=certverify,
certwarn=False,
proxy=proxies.get("https") or proxies.get("http"),
)
return_results(run_command(client, args, command)) # noqa: F821, F405

Expand Down
2 changes: 1 addition & 1 deletion Packs/Axonius/Integrations/Axonius/Axonius.yml
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ script:
- contextPath: Axonius.assets.updates
description: Number of assets updated.
type: Number
dockerimage: demisto/axonius:1.1.0.108438
dockerimage: demisto/axonius:1.1.0.114764
runonce: false
script: '-'
subtype: python3
Expand Down
7 changes: 7 additions & 0 deletions Packs/Axonius/ReleaseNotes/1_2_5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

#### Integrations

##### Axonius

- Added proxy support.
- Updated the Docker image to: *demisto/axonius:1.1.0.114764*.
2 changes: 1 addition & 1 deletion Packs/Axonius/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Axonius",
"description": "Enrichment for devices and users in your environment.",
"support": "partner",
"currentVersion": "1.2.4",
"currentVersion": "1.2.5",
"author": "Axonius",
"url": "https://docs.axonius.com",
"email": "[email protected]",
Expand Down

0 comments on commit 651e554

Please sign in to comment.