Azure-Sentinel icon indicating copy to clipboard operation
Azure-Sentinel copied to clipboard

DUO Security connector python SDK version

Open amatasci opened this issue 11 months ago • 44 comments

Describe the bug Cisco DUO informed that all applications using their API should use by February 2. 2026 the most recent CA certificate bundle (see https://help.duo.com/s/article/9451). The existing Sentinel connector uses the python SDK v.4.3.2 and it should be updated to v5.5.0

To Reproduce Nothing to reproduce on Sentinel side

Expected behavior The connector must continue to work also after February 2. 2026

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information): N/A

Smartphone (please complete the following information): N/A

Additional context Refer to https://help.duo.com/s/article/9451 for additional details. In DUO we have the possibility to audit all API calls and verify the python SDK version being used

amatasci avatar Dec 19 '25 13:12 amatasci

Hi @v-kasghosh - Please let us know if there is any update.

djkapur avatar Jan 14 '26 19:01 djkapur

Seconding the request for an update. We are facing the same issue with the expiring API.

drace1111 avatar Jan 14 '26 21:01 drace1111

I'm looking for an update as well. We can't have this breaking Feb 2nd.

robss2026 avatar Jan 15 '26 19:01 robss2026

Hello @hassanchawiche , Thank you for helping us with this.

Could you please share more details on this? We are concerned about whether the connector will continue to function after February 2, 2026, as that is the stated end date.

Sagar11-RockStar avatar Jan 16 '26 13:01 Sagar11-RockStar

It actually needs to be updated to 5.5.0 minimum, not 5.0.0.

clesuvic avatar Jan 16 '26 18:01 clesuvic

It actually needs to be updated to 5.5.0 minimum, not 5.0.0.

That's right, it has been a typo on my end. I fixed in my previous comment Thanks

amatasci avatar Jan 19 '26 06:01 amatasci

Hello @hassanchawiche,

Thank you for your help. Could you please share more details? We are concerned about whether the connector will continue to function after February 2, 2026, as that is the stated end date. Your help would be greatly appreciated.

Sagar11-RockStar avatar Jan 20 '26 07:01 Sagar11-RockStar

Hello amatasci! I'm an engineer working under Hassan. I've checked out the Cisco Duo security and it looks like it's already using version 5.5 of the SDK since June of last year.

To confirm, is there another requirments.txt file you were referencing?

m-ruiz21 avatar Jan 20 '26 16:01 m-ruiz21

Hello amatasci! I'm an engineer working under Hassan. I've checked out the Cisco Duo security and it looks like it's already using version 5.5 of the SDK since June of last year.

To confirm, is there another requirments.txt file you were referencing?

Our DUO "Unsupported Client" report is showing the Client Application using-

Duo API Python 4.3.2

Content Hub shows- Cisco DUO Security 3.0.2 installed. No updates available

The associated Function app has this notification too- Upgrade your app to newer version as Python 3.8 has reached EOL on 10/7/2024 and is no longer supported.

robss2026 avatar Jan 20 '26 16:01 robss2026

Hello amatasci! I'm an engineer working under Hassan. I've checked out the Cisco Duo security and it looks like it's already using version 5.5 of the SDK since June of last year.

To confirm, is there another requirments.txt file you were referencing?

For some clarification, we are on the Azure Government tenant. Can you confirm that this is true in Azure Gov as well? Our DUO admin console says it's still using 4.3.2

drace1111 avatar Jan 20 '26 16:01 drace1111

@drace1111 We are not using an Azure Government tenant and see the same you do.

robss2026 avatar Jan 20 '26 17:01 robss2026

Hello @amatasci , Thank you for helping us

we are using the python 3.11 conusmption plan and we still seeing it's an 4.3.2 version

Image Image

Sagar11-RockStar avatar Jan 21 '26 07:01 Sagar11-RockStar

Hello amatasci! I'm an engineer working under Hassan. I've checked out the Cisco Duo security and it looks like it's already using version 5.5 of the SDK since June of last year. To confirm, is there another requirments.txt file you were referencing?

Our DUO "Unsupported Client" report is showing the Client Application using-

Duo API Python 4.3.2

Content Hub shows- Cisco DUO Security 3.0.2 installed. No updates available

The associated Function app has this notification too- Upgrade your app to newer version as Python 3.8 has reached EOL on 10/7/2024 and is no longer supported.

Hello @m-ruiz21 as I already explained in a separate support ticket (#2512190050001903) the requirments.txt file mentions v5.5.0, but the AzureFunctionDuoSecurity.zip file is still including the older version 4.3.2 (as described in the above screenshots provided by @Sagar11-RockStar ). Please make sure to update the connector as soon as possible and before the expiration of the CA at the beginning of February. Thank you

amatasci avatar Jan 21 '26 07:01 amatasci

Hello @amatasci , Thank you for helping us

we are using the python 3.11 conusmption plan and we still seeing it's an 4.3.2 version

Image Image

Hello @amatasci , Thank you for your help. I can confirm that the connector is currently on version 3.0.2, and there is no option available to update it at this time.

Could you please guide me on how to update the connector to the latest version?

Image

https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/ReleaseNotes.md

Sagar11-RockStar avatar Jan 21 '26 14:01 Sagar11-RockStar

@Sagar11-RockStar I'm not part of Microsoft, I'm just a customer like you. @m-ruiz21 is the engineer working on this topic at Microsoft

amatasci avatar Jan 21 '26 14:01 amatasci

Hello amatasci! I'm an engineer working under Hassan. I've checked out the Cisco Duo security and it looks like it's already using version 5.5 of the SDK since June of last year. To confirm, is there another requirments.txt file you were referencing?

Our DUO "Unsupported Client" report is showing the Client Application using- Duo API Python 4.3.2 Content Hub shows- Cisco DUO Security 3.0.2 installed. No updates available The associated Function app has this notification too- Upgrade your app to newer version as Python 3.8 has reached EOL on 10/7/2024 and is no longer supported.

Hello @m-ruiz21 as I already explained in a separate support ticket (#2512190050001903) the requirments.txt file mentions v5.5.0, but the AzureFunctionDuoSecurity.zip file is still including the older version 4.3.2 (as described in the above screenshots provided by @Sagar11-RockStar ). Please make sure to update the connector as soon as possible and before the expiration of the CA at the beginning of February. Thank you

@amatasci thank you for your patience and for pointing that out : ) yes, I can confirm that, while the requirements.txt is up to the latest valid SDK version (5.5), the zip file does not have it installed. I'll make sure to install it and make a PR for it on my end and communicate it out to DUO that the fix is up.

In the meantime, y'all can just use the following command on your end to update the package:

pip install -r requirements.txt -t .python_packages/lib/site-packages --upgrade

preferably after cleaning out the old site-packages:

(unix)

rm -rf .python_packages

(windows)

Remove-Item -Recurse -Force .python_packages

m-ruiz21 avatar Jan 21 '26 16:01 m-ruiz21

Hello @amatasci , Thank you for helping us we are using the python 3.11 conusmption plan and we still seeing it's an 4.3.2 version Image Image

Hello @amatasci , Thank you for your help. I can confirm that the connector is currently on version 3.0.2, and there is no option available to update it at this time.

Could you please guide me on how to update the connector to the latest version?

Image https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/ReleaseNotes.md

Hello @m-ruiz21 Could you please help me with this ? Thanks for your help

Sagar11-RockStar avatar Jan 21 '26 16:01 Sagar11-RockStar

Hello @amatasci , Thank you for helping us we are using the python 3.11 conusmption plan and we still seeing it's an 4.3.2 version Image Image

Hello @amatasci , Thank you for your help. I can confirm that the connector is currently on version 3.0.2, and there is no option available to update it at this time. Could you please guide me on how to update the connector to the latest version? Image https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/ReleaseNotes.md

Hello @m-ruiz21 Could you please help me with this ? Thanks for your help

Hello Sagar : )

I'm working on updating the solution right now so that the solution's arm template points to the updated .zip file. Currently there is no new solution to install. Obviously, this is a top priority for us so I'm working on getting one out before the February deadline comes around, but since the connector is GA I want to make sure I take my time and check all the boxes.

Unfortunately, since this is an Azure Function connector, if you want to fix it yourself, you're going to have to:

  1. install the zip
  2. (optional) delete the old duo-client package within the site-packages directory or all of site-packages itself.
  3. update the packages to use the latest requirements.txt using pip install -r requirements.txt -t .python_packages/lib/site-packages --upgrade
  4. zip up the new connector code
  5. redeploy the function app using the new .zip using:
az functionapp deployment source config-zip \
  -g <resource_group> \
  -n <function_app_name> \
  --src <path_to_your_updated_zip_file>

Once the PR is merged in, I'll make sure to update the Github issue and contact Duo to update their article. Thankfully, the ARM template won't have to be modified since it just points directly to the Github repo so once that's out all you'd have to do is remove your old connector and reinstall it with the new version.

m-ruiz21 avatar Jan 21 '26 17:01 m-ruiz21

Hello @amatasci , Thank you for helping us we are using the python 3.11 conusmption plan and we still seeing it's an 4.3.2 version Image Image

Hello @amatasci , Thank you for your help. I can confirm that the connector is currently on version 3.0.2, and there is no option available to update it at this time. Could you please guide me on how to update the connector to the latest version? Image https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/ReleaseNotes.md

Hello @m-ruiz21 Could you please help me with this ? Thanks for your help

Hello Sagar : )

I'm working on updating the solution right now so that the solution's arm template points to the updated .zip file. Currently there is no new solution to install. Obviously, this is a top priority for us so I'm working on getting one out before the February deadline comes around, but since the connector is GA I want to make sure I take my time and check all the boxes.

Unfortunately, since this is an Azure Function connector, if you want to fix it yourself, you're going to have to:

  1. install the zip
  2. (optional) delete the old duo-client package within the site-packages directory or all of site-packages itself.
  3. update the packages to use the latest requirements.txt using pip install -r requirements.txt -t .python_packages/lib/site-packages --upgrade
  4. zip up the new connector code
  5. redeploy the function app using the new .zip using:
az functionapp deployment source config-zip \
  -g <resource_group> \
  -n <function_app_name> \
  --src <path_to_your_updated_zip_file>

Once the PR is merged in, I'll make sure to update the Github issue and contact Duo to update their article. Thankfully, the ARM template won't have to be modified since it just points directly to the Github repo so once that's out all you'd have to do is remove your old connector and reinstall it with the new version.

Thank you so much, @m-ruiz21 , for the detailed information.

I have just one quick question. In a worst-case scenario, if for some unforeseen reason the connector version cannot be updated before the deadline, would there be any impact?

Specifically, will the Function App continue to work as it is, or would it stop working completely? As noted, the requirements.txt file for the Function App already includes duo-client==5.5.0, which is the latest version.

Thank you for your guidance.

Thank you for your guidance.

Sagar11-RockStar avatar Jan 21 '26 18:01 Sagar11-RockStar

Hello @amatasci , Thank you for helping us we are using the python 3.11 conusmption plan and we still seeing it's an 4.3.2 version Image Image

Hello @amatasci , Thank you for your help. I can confirm that the connector is currently on version 3.0.2, and there is no option available to update it at this time. Could you please guide me on how to update the connector to the latest version? Image https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/ReleaseNotes.md

Hello @m-ruiz21 Could you please help me with this ? Thanks for your help

Hello Sagar : ) I'm working on updating the solution right now so that the solution's arm template points to the updated .zip file. Currently there is no new solution to install. Obviously, this is a top priority for us so I'm working on getting one out before the February deadline comes around, but since the connector is GA I want to make sure I take my time and check all the boxes. Unfortunately, since this is an Azure Function connector, if you want to fix it yourself, you're going to have to:

  1. install the zip
  2. (optional) delete the old duo-client package within the site-packages directory or all of site-packages itself.
  3. update the packages to use the latest requirements.txt using pip install -r requirements.txt -t .python_packages/lib/site-packages --upgrade
  4. zip up the new connector code
  5. redeploy the function app using the new .zip using:
az functionapp deployment source config-zip \
  -g <resource_group> \
  -n <function_app_name> \
  --src <path_to_your_updated_zip_file>

Once the PR is merged in, I'll make sure to update the Github issue and contact Duo to update their article. Thankfully, the ARM template won't have to be modified since it just points directly to the Github repo so once that's out all you'd have to do is remove your old connector and reinstall it with the new version.

Thank you so much, @m-ruiz21 , for the detailed information.

I have just one quick question. In a worst-case scenario, if for some unforeseen reason the connector version cannot be updated before the deadline, would there be any impact?

Specifically, will the Function App continue to work as it is, or would it stop working completely? As noted, the requirements.txt file for the Function App already includes duo-client==5.5.0, which is the latest version.

Thank you for your guidance.

Thank you for your guidance.

Unfortunately, you'll need to make sure that the AzF has duo-client version > 5.5 or you'll run into authentication issues when making the API calls.

m-ruiz21 avatar Jan 21 '26 19:01 m-ruiz21