laptop and a wrench

漏洞

When calling the gis.admin.license.all().report function in the ArcGIS API for Python, ArcGIS Drone2Map licenses are listed under a single Drone2Map entitlement instead of being split into Standard and Advanced categories.

ArcGIS API for Python
漏洞 ID 编号 BUG-000165814
已提交March 8, 2024
上次修改时间February 10, 2025
适用范围ArcGIS API for Python
找到的版本2.2.0
操作系统N/A
操作系统版本N/A
状态In Review

解决办法

If the secondary license is expired or not in used by any users, reach out to Esri Support to request removing the license from the organization. If both licenses are needed/in use, modify the script to get and revoke multiple licenses that have the same name using a for loop.

Below is a sample code:

org_licenses=gis.admin.license.all()

D2M_licenses=[]

for l in org_licenses:

   if "Drone" in l.properties.listing['title']:

       D2M_licenses.append(l)

for license in D2M_licenses:

   license.revoke(username="USERNAME", entitlements="*")

重现步骤

漏洞 ID: BUG-000165814

软件:

  • ArcGIS API for Python

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项