acex 7.2.0__tar.gz → 7.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. {acex-7.2.0 → acex-7.4.0}/PKG-INFO +1 -1
  2. {acex-7.2.0 → acex-7.4.0}/pyproject.toml +2 -1
  3. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/collection_agents.py +15 -0
  4. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/compliance.py +8 -1
  5. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/management_connections.py +1 -0
  6. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/ztp_discoveries.py +6 -2
  7. {acex-7.2.0 → acex-7.4.0}/src/acex/automation_engine/automationengine.py +3 -0
  8. {acex-7.2.0 → acex-7.4.0}/src/acex/changelog/content/highlights.md +32 -0
  9. {acex-7.2.0 → acex-7.4.0}/src/acex/changelog.json +129 -0
  10. acex-7.4.0/src/acex/compliance/__init__.py +4 -0
  11. {acex-7.2.0 → acex-7.4.0}/src/acex/compliance/configuration.py +5 -0
  12. {acex-7.2.0 → acex-7.4.0}/src/acex/compliance/service.py +2 -3
  13. acex-7.4.0/src/acex/compliance/software.py +119 -0
  14. acex-7.4.0/src/acex/compliance/software_assets.py +205 -0
  15. acex-7.4.0/src/acex/credentials/vault_client.py +144 -0
  16. {acex-7.2.0 → acex-7.4.0}/src/acex/device_configs/device_config_manager.py +3 -0
  17. {acex-7.2.0 → acex-7.4.0}/src/acex/inventory/asset_service.py +40 -4
  18. {acex-7.2.0 → acex-7.4.0}/src/acex/inventory/collection_agent_manager.py +34 -1
  19. {acex-7.2.0 → acex-7.4.0}/src/acex/inventory/logical_node_service.py +29 -18
  20. {acex-7.2.0 → acex-7.4.0}/src/acex/inventory/node_service.py +82 -15
  21. {acex-7.2.0 → acex-7.4.0}/src/acex/inventory/region_assignment_manager.py +37 -6
  22. {acex-7.2.0 → acex-7.4.0}/src/acex/inventory/region_service.py +5 -5
  23. {acex-7.2.0 → acex-7.4.0}/src/acex/inventory/site_service.py +1 -2
  24. acex-7.4.0/src/acex/inventory/uniqueness.py +164 -0
  25. {acex-7.2.0 → acex-7.4.0}/src/acex/lldp/lldp_neighbor_manager.py +18 -7
  26. {acex-7.2.0 → acex-7.4.0}/src/acex/management_connections/mgmt_con_manager.py +38 -1
  27. acex-7.4.0/src/acex/migrations/versions/a6c2e8f4b1d3_add_node_collection_state.py +42 -0
  28. acex-7.4.0/src/acex/migrations/versions/c8d4f2a7e1b3_unique_inventory_identities.py +160 -0
  29. {acex-7.2.0 → acex-7.4.0}/src/acex/models/__init__.py +2 -0
  30. {acex-7.2.0 → acex-7.4.0}/src/acex/models/asset.py +5 -0
  31. acex-7.4.0/src/acex/models/collection_state.py +22 -0
  32. {acex-7.2.0 → acex-7.4.0}/src/acex/models/logical_node.py +5 -0
  33. {acex-7.2.0 → acex-7.4.0}/src/acex/models/node.py +7 -0
  34. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/integrations/database.py +5 -1
  35. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/neds/manager/ned_manager.py +11 -0
  36. {acex-7.2.0 → acex-7.4.0}/src/acex/settings/sections.py +25 -4
  37. acex-7.4.0/src/acex/utils/collection_state.py +125 -0
  38. acex-7.4.0/src/acex/utils/identity.py +24 -0
  39. {acex-7.2.0 → acex-7.4.0}/src/acex/ztp/approval.py +5 -3
  40. {acex-7.2.0 → acex-7.4.0}/src/acex/ztp/discovery.py +27 -1
  41. {acex-7.2.0 → acex-7.4.0}/src/acex/ztp/review_context.py +8 -4
  42. acex-7.2.0/src/acex/compliance/__init__.py +0 -3
  43. acex-7.2.0/src/acex/compliance/software.py +0 -81
  44. acex-7.2.0/src/acex/credentials/vault_client.py +0 -61
  45. {acex-7.2.0 → acex-7.4.0}/README.md +0 -0
  46. {acex-7.2.0 → acex-7.4.0}/src/acex/__init__.py +0 -0
  47. {acex-7.2.0 → acex-7.4.0}/src/acex/ai_ops/__init__.py +0 -0
  48. {acex-7.2.0 → acex-7.4.0}/src/acex/ai_ops/ai_ops.py +0 -0
  49. {acex-7.2.0 → acex-7.4.0}/src/acex/ai_ops/config.py +0 -0
  50. {acex-7.2.0 → acex-7.4.0}/src/acex/ai_ops/settings.py +0 -0
  51. {acex-7.2.0 → acex-7.4.0}/src/acex/ai_ops/web_ui_context.py +0 -0
  52. {acex-7.2.0 → acex-7.4.0}/src/acex/api/__init__.py +0 -0
  53. {acex-7.2.0 → acex-7.4.0}/src/acex/api/api.py +0 -0
  54. {acex-7.2.0 → acex-7.4.0}/src/acex/api/auth.py +0 -0
  55. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/ai_ops.py +0 -0
  56. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/assetclusters.py +0 -0
  57. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/assets.py +0 -0
  58. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/auth_config.py +0 -0
  59. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/bug_reports.py +0 -0
  60. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/changelog.py +0 -0
  61. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/config_components.py +0 -0
  62. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/contacts.py +0 -0
  63. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/credentials.py +0 -0
  64. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/cves.py +0 -0
  65. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/device_configs.py +0 -0
  66. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/git_repositories.py +0 -0
  67. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/health.py +0 -0
  68. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/lldp_neighbors.py +0 -0
  69. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/logical_nodes.py +0 -0
  70. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/neds.py +0 -0
  71. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/node_instances.py +0 -0
  72. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/observability.py +0 -0
  73. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/observability_agents.py +0 -0
  74. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/operation_runs.py +0 -0
  75. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/platforms.py +0 -0
  76. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/policies.py +0 -0
  77. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/regions.py +0 -0
  78. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/search.py +0 -0
  79. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/services.py +0 -0
  80. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/sites.py +0 -0
  81. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/workers.py +0 -0
  82. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/workflows.py +0 -0
  83. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/ztp.py +0 -0
  84. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/ztp_calls.py +0 -0
  85. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/ztp_dhcp.py +0 -0
  86. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/ztp_dhcp_scopes.py +0 -0
  87. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/ztp_methods.py +0 -0
  88. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/ztp_nodes.py +0 -0
  89. {acex-7.2.0 → acex-7.4.0}/src/acex/api/routers/ztp_vendor_classes.py +0 -0
  90. {acex-7.2.0 → acex-7.4.0}/src/acex/automation_engine/__init__.py +0 -0
  91. {acex-7.2.0 → acex-7.4.0}/src/acex/automation_engine/integrations.py +0 -0
  92. {acex-7.2.0 → acex-7.4.0}/src/acex/bug_report/__init__.py +0 -0
  93. {acex-7.2.0 → acex-7.4.0}/src/acex/bug_report/ado.py +0 -0
  94. {acex-7.2.0 → acex-7.4.0}/src/acex/bug_report/file.py +0 -0
  95. {acex-7.2.0 → acex-7.4.0}/src/acex/bug_report/slack.py +0 -0
  96. {acex-7.2.0 → acex-7.4.0}/src/acex/changelog/__init__.py +0 -0
  97. {acex-7.2.0 → acex-7.4.0}/src/acex/changelog/content/roadmap.md +0 -0
  98. {acex-7.2.0 → acex-7.4.0}/src/acex/changelog/models.py +0 -0
  99. {acex-7.2.0 → acex-7.4.0}/src/acex/changelog/service.py +0 -0
  100. {acex-7.2.0 → acex-7.4.0}/src/acex/changelog/tool.py +0 -0
  101. {acex-7.2.0 → acex-7.4.0}/src/acex/compilers/__init__.py +0 -0
  102. {acex-7.2.0 → acex-7.4.0}/src/acex/compilers/compiled_logical_node.py +0 -0
  103. {acex-7.2.0 → acex-7.4.0}/src/acex/compilers/config_compiler.py +0 -0
  104. {acex-7.2.0 → acex-7.4.0}/src/acex/config_diff/__init__.py +0 -0
  105. {acex-7.2.0 → acex-7.4.0}/src/acex/config_diff/logical_node_diff.py +0 -0
  106. {acex-7.2.0 → acex-7.4.0}/src/acex/config_map/__init__.py +0 -0
  107. {acex-7.2.0 → acex-7.4.0}/src/acex/config_map/config_map.py +0 -0
  108. {acex-7.2.0 → acex-7.4.0}/src/acex/config_map/context.py +0 -0
  109. {acex-7.2.0 → acex-7.4.0}/src/acex/config_map/filter.py +0 -0
  110. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/__init__.py +0 -0
  111. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/__init__.py +0 -0
  112. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/acl/__init__.py +0 -0
  113. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/acl/acl.py +0 -0
  114. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/augments/__init__.py +0 -0
  115. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/augments/base.py +0 -0
  116. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/augments/cisco/__init__.py +0 -0
  117. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/augments/cisco/access_session.py +0 -0
  118. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/augments/cisco/archive.py +0 -0
  119. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/augments/cisco/cisco_aaa.py +0 -0
  120. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/augments/cisco/cisco_logging.py +0 -0
  121. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/augments/cisco/control_policy.py +0 -0
  122. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/augments/cisco/device_sensor.py +0 -0
  123. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/augments/cisco/device_tracking_policy.py +0 -0
  124. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/augments/cisco/dhcp_snooping.py +0 -0
  125. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/augments/cisco/password_encryption.py +0 -0
  126. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/augments/cisco/service_policy.py +0 -0
  127. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/augments/cisco/ssh_dh_min_size.py +0 -0
  128. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/augments/cisco/vtp_primary_server.py +0 -0
  129. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/augments/juniper/__init__.py +0 -0
  130. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/augments/juniper/snmp_community_clients.py +0 -0
  131. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/base_component.py +0 -0
  132. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/cdp/__init__.py +0 -0
  133. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/cdp/cdp.py +0 -0
  134. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/interfaces/__init__.py +0 -0
  135. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/interfaces/interfaces.py +0 -0
  136. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/lacp/__init__.py +0 -0
  137. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/lacp/lacp.py +0 -0
  138. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/lldp/__init__.py +0 -0
  139. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/lldp/lldp.py +0 -0
  140. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/network_instances/__init__.py +0 -0
  141. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/network_instances/network_instances.py +0 -0
  142. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/routing/__init__.py +0 -0
  143. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/routing/routing.py +0 -0
  144. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/sampling/__init__.py +0 -0
  145. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/sampling/netflow.py +0 -0
  146. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/sampling/sflow.py +0 -0
  147. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/spanning_tree/__init__.py +0 -0
  148. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/spanning_tree/spanning_tree.py +0 -0
  149. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/system/__init__.py +0 -0
  150. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/system/aaa.py +0 -0
  151. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/system/clock.py +0 -0
  152. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/system/dhcp.py +0 -0
  153. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/system/dns.py +0 -0
  154. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/system/logging.py +0 -0
  155. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/system/ntp.py +0 -0
  156. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/system/services.py +0 -0
  157. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/system/snmp.py +0 -0
  158. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/system/ssh.py +0 -0
  159. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/system/system.py +0 -0
  160. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/system/vtp.py +0 -0
  161. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/vlan/__init__.py +0 -0
  162. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/components/vlan/vlan.py +0 -0
  163. {acex-7.2.0 → acex-7.4.0}/src/acex/configuration/configuration.py +0 -0
  164. {acex-7.2.0 → acex-7.4.0}/src/acex/constants.py +0 -0
  165. {acex-7.2.0 → acex-7.4.0}/src/acex/credentials/__init__.py +0 -0
  166. {acex-7.2.0 → acex-7.4.0}/src/acex/credentials/credential_manager.py +0 -0
  167. {acex-7.2.0 → acex-7.4.0}/src/acex/cve/__init__.py +0 -0
  168. {acex-7.2.0 → acex-7.4.0}/src/acex/cve/cve_manager.py +0 -0
  169. {acex-7.2.0 → acex-7.4.0}/src/acex/database/__init__.py +0 -0
  170. {acex-7.2.0 → acex-7.4.0}/src/acex/database/connection.py +0 -0
  171. {acex-7.2.0 → acex-7.4.0}/src/acex/database/db_manager.py +0 -0
  172. {acex-7.2.0 → acex-7.4.0}/src/acex/device_configs/__init__.py +0 -0
  173. {acex-7.2.0 → acex-7.4.0}/src/acex/exceptions/__init__.py +0 -0
  174. {acex-7.2.0 → acex-7.4.0}/src/acex/exceptions/standard.py +0 -0
  175. {acex-7.2.0 → acex-7.4.0}/src/acex/git_sync/__init__.py +0 -0
  176. {acex-7.2.0 → acex-7.4.0}/src/acex/git_sync/git.py +0 -0
  177. {acex-7.2.0 → acex-7.4.0}/src/acex/git_sync/manager.py +0 -0
  178. {acex-7.2.0 → acex-7.4.0}/src/acex/inventory/__init__.py +0 -0
  179. {acex-7.2.0 → acex-7.4.0}/src/acex/inventory/asset_cluster_manager.py +0 -0
  180. {acex-7.2.0 → acex-7.4.0}/src/acex/inventory/contact_assignment_manager.py +0 -0
  181. {acex-7.2.0 → acex-7.4.0}/src/acex/inventory/contact_service.py +0 -0
  182. {acex-7.2.0 → acex-7.4.0}/src/acex/inventory/inventory.py +0 -0
  183. {acex-7.2.0 → acex-7.4.0}/src/acex/jobs/__init__.py +0 -0
  184. {acex-7.2.0 → acex-7.4.0}/src/acex/jobs/dispatcher.py +0 -0
  185. {acex-7.2.0 → acex-7.4.0}/src/acex/jobs/manager.py +0 -0
  186. {acex-7.2.0 → acex-7.4.0}/src/acex/jobs/registry.py +0 -0
  187. {acex-7.2.0 → acex-7.4.0}/src/acex/jobs/types.py +0 -0
  188. {acex-7.2.0 → acex-7.4.0}/src/acex/lldp/__init__.py +0 -0
  189. {acex-7.2.0 → acex-7.4.0}/src/acex/logging_config/__init__.py +0 -0
  190. {acex-7.2.0 → acex-7.4.0}/src/acex/logging_config/logging_config.py +0 -0
  191. {acex-7.2.0 → acex-7.4.0}/src/acex/management_connections/__init__.py +0 -0
  192. {acex-7.2.0 → acex-7.4.0}/src/acex/messaging/__init__.py +0 -0
  193. {acex-7.2.0 → acex-7.4.0}/src/acex/messaging/producer.py +0 -0
  194. {acex-7.2.0 → acex-7.4.0}/src/acex/messaging/routing.py +0 -0
  195. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/README +0 -0
  196. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/env.py +0 -0
  197. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/script.py.mako +0 -0
  198. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/7d1b3e5a9c2f_device_config_last_collected_at.py +0 -0
  199. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/a1c5e7f9b2d4_add_job_cancelled_by.py +0 -0
  200. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/a3c9e5f1b7d2_ztp_discovery_asset.py +0 -0
  201. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/a8c4e1f7b2d9_add_workflows.py +0 -0
  202. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/a9222fcfea74_initial_schema.py +0 -0
  203. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/b3f1a2c4d5e6_add_trgm_indexes_for_contains_search.py +0 -0
  204. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/b460f36be39a_add_agent_version_and_build.py +0 -0
  205. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/b7d3f1e9a5c2_add_ztp_method_table.py +0 -0
  206. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/b8e2d4f6a1c3_provision_status_enrolled.py +0 -0
  207. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/c3f7a9e1d5b8_add_ztp_dhcp_tables.py +0 -0
  208. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/c7d2e9f1a3b4_split_node_status.py +0 -0
  209. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/c9e3a7f1b5d2_add_cve_tables.py +0 -0
  210. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/d2f8b4a6c1e9_add_git_repositories.py +0 -0
  211. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/d4e8a1b2c3f5_add_job_table.py +0 -0
  212. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/d4e8a2c6f0b1_add_ztp_method_bootstrap_login.py +0 -0
  213. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/e5f9b3c7d1a2_provision_status_stages.py +0 -0
  214. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/e7a3c5d9b2f4_git_repository_ca_certificate.py +0 -0
  215. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/f4b8d2a6c9e1_add_software_policy.py +0 -0
  216. {acex-7.2.0 → acex-7.4.0}/src/acex/migrations/versions/f6a0c4d8e2b3_add_ztp_discovery_table.py +0 -0
  217. {acex-7.2.0 → acex-7.4.0}/src/acex/models/bug_report.py +0 -0
  218. {acex-7.2.0 → acex-7.4.0}/src/acex/models/collection_agent.py +0 -0
  219. {acex-7.2.0 → acex-7.4.0}/src/acex/models/contacts.py +0 -0
  220. {acex-7.2.0 → acex-7.4.0}/src/acex/models/credential.py +0 -0
  221. {acex-7.2.0 → acex-7.4.0}/src/acex/models/cve.py +0 -0
  222. {acex-7.2.0 → acex-7.4.0}/src/acex/models/device_config.py +0 -0
  223. {acex-7.2.0 → acex-7.4.0}/src/acex/models/git_repository.py +0 -0
  224. {acex-7.2.0 → acex-7.4.0}/src/acex/models/hardware_model.py +0 -0
  225. {acex-7.2.0 → acex-7.4.0}/src/acex/models/job.py +0 -0
  226. {acex-7.2.0 → acex-7.4.0}/src/acex/models/lldp_neighbor.py +0 -0
  227. {acex-7.2.0 → acex-7.4.0}/src/acex/models/management_connections.py +0 -0
  228. {acex-7.2.0 → acex-7.4.0}/src/acex/models/ned.py +0 -0
  229. {acex-7.2.0 → acex-7.4.0}/src/acex/models/old/interfaces.py +0 -0
  230. {acex-7.2.0 → acex-7.4.0}/src/acex/models/old/network_instances.py +0 -0
  231. {acex-7.2.0 → acex-7.4.0}/src/acex/models/old/vlans.py +0 -0
  232. {acex-7.2.0 → acex-7.4.0}/src/acex/models/pagination.py +0 -0
  233. {acex-7.2.0 → acex-7.4.0}/src/acex/models/regions.py +0 -0
  234. {acex-7.2.0 → acex-7.4.0}/src/acex/models/sites.py +0 -0
  235. {acex-7.2.0 → acex-7.4.0}/src/acex/models/software_policy.py +0 -0
  236. {acex-7.2.0 → acex-7.4.0}/src/acex/models/workflow.py +0 -0
  237. {acex-7.2.0 → acex-7.4.0}/src/acex/models/ztp_dhcp_scope.py +0 -0
  238. {acex-7.2.0 → acex-7.4.0}/src/acex/models/ztp_discovery.py +0 -0
  239. {acex-7.2.0 → acex-7.4.0}/src/acex/models/ztp_method.py +0 -0
  240. {acex-7.2.0 → acex-7.4.0}/src/acex/models/ztp_vendor_class.py +0 -0
  241. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/__init__.py +0 -0
  242. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/agents/__init__.py +0 -0
  243. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/agents/manager.py +0 -0
  244. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/agents/models.py +0 -0
  245. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/capability.py +0 -0
  246. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/components/__init__.py +0 -0
  247. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/components/base.py +0 -0
  248. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/components/icmp_ping.py +0 -0
  249. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/components/snmp.py +0 -0
  250. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/providers.py +0 -0
  251. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/registry.py +0 -0
  252. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/renderers/__init__.py +0 -0
  253. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/renderers/grafana/__init__.py +0 -0
  254. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/renderers/grafana/builder.py +0 -0
  255. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/renderers/grafana/dashboards.py +0 -0
  256. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/renderers/grafana/datasources.py +0 -0
  257. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/renderers/grafana/renderer.py +0 -0
  258. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/renderers/telegraf.py +0 -0
  259. {acex-7.2.0 → acex-7.4.0}/src/acex/observability/settings.py +0 -0
  260. {acex-7.2.0 → acex-7.4.0}/src/acex/operations/__init__.py +0 -0
  261. {acex-7.2.0 → acex-7.4.0}/src/acex/operations/kinds.py +0 -0
  262. {acex-7.2.0 → acex-7.4.0}/src/acex/operations/runs.py +0 -0
  263. {acex-7.2.0 → acex-7.4.0}/src/acex/platforms/__init__.py +0 -0
  264. {acex-7.2.0 → acex-7.4.0}/src/acex/platforms/catalog.py +0 -0
  265. {acex-7.2.0 → acex-7.4.0}/src/acex/platforms/hardware_models.py +0 -0
  266. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/__init__.py +0 -0
  267. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/adaptors/__init__.py +0 -0
  268. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/adaptors/adapter_base.py +0 -0
  269. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/adaptors/asset_adapter.py +0 -0
  270. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/adaptors/contact_adapter.py +0 -0
  271. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/adaptors/datasource_adapter.py +0 -0
  272. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/adaptors/logical_node_adapter.py +0 -0
  273. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/adaptors/node_adapter.py +0 -0
  274. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/adaptors/region_adapter.py +0 -0
  275. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/adaptors/site_adapter.py +0 -0
  276. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/datasources/netbox.py +0 -0
  277. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/integrations/__init__.py +0 -0
  278. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/integrations/in_memory.py +0 -0
  279. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/integrations/integration_plugin_base.py +0 -0
  280. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/integrations/integration_plugin_factory_base.py +0 -0
  281. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/integrations/netbox.py +0 -0
  282. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/integrations/netbox_mock.py +0 -0
  283. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/integrations/netbox_old.py +0 -0
  284. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/integrations/sqlite.py +0 -0
  285. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/neds/__init__.py +0 -0
  286. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/neds/manager/__init__.py +0 -0
  287. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/neds/manager/wheels.py +0 -0
  288. {acex-7.2.0 → acex-7.4.0}/src/acex/plugins/plugin_manager.py +0 -0
  289. {acex-7.2.0 → acex-7.4.0}/src/acex/policies/__init__.py +0 -0
  290. {acex-7.2.0 → acex-7.4.0}/src/acex/policies/software.py +0 -0
  291. {acex-7.2.0 → acex-7.4.0}/src/acex/search/__init__.py +0 -0
  292. {acex-7.2.0 → acex-7.4.0}/src/acex/search/service.py +0 -0
  293. {acex-7.2.0 → acex-7.4.0}/src/acex/settings/__init__.py +0 -0
  294. {acex-7.2.0 → acex-7.4.0}/src/acex/settings/ai_ops.py +0 -0
  295. {acex-7.2.0 → acex-7.4.0}/src/acex/settings/bug_report.py +0 -0
  296. {acex-7.2.0 → acex-7.4.0}/src/acex/settings/influxdb.py +0 -0
  297. {acex-7.2.0 → acex-7.4.0}/src/acex/settings/section.py +0 -0
  298. {acex-7.2.0 → acex-7.4.0}/src/acex/settings/settings.py +0 -0
  299. {acex-7.2.0 → acex-7.4.0}/src/acex/utils/__init__.py +0 -0
  300. {acex-7.2.0 → acex-7.4.0}/src/acex/utils/agent_node_links.py +0 -0
  301. {acex-7.2.0 → acex-7.4.0}/src/acex/utils/restclient.py +0 -0
  302. {acex-7.2.0 → acex-7.4.0}/src/acex/workflows/__init__.py +0 -0
  303. {acex-7.2.0 → acex-7.4.0}/src/acex/workflows/job_types.py +0 -0
  304. {acex-7.2.0 → acex-7.4.0}/src/acex/workflows/library.py +0 -0
  305. {acex-7.2.0 → acex-7.4.0}/src/acex/workflows/runs.py +0 -0
  306. {acex-7.2.0 → acex-7.4.0}/src/acex/workflows/walk.py +0 -0
  307. {acex-7.2.0 → acex-7.4.0}/src/acex/ztp/__init__.py +0 -0
  308. {acex-7.2.0 → acex-7.4.0}/src/acex/ztp/bootstrap.py +0 -0
  309. {acex-7.2.0 → acex-7.4.0}/src/acex/ztp/calls.py +0 -0
  310. {acex-7.2.0 → acex-7.4.0}/src/acex/ztp/dhcp_scopes.py +0 -0
  311. {acex-7.2.0 → acex-7.4.0}/src/acex/ztp/kea.py +0 -0
  312. {acex-7.2.0 → acex-7.4.0}/src/acex/ztp/methods.py +0 -0
  313. {acex-7.2.0 → acex-7.4.0}/src/acex/ztp/pipeline.py +0 -0
  314. {acex-7.2.0 → acex-7.4.0}/src/acex/ztp/pipeline_view.py +0 -0
  315. {acex-7.2.0 → acex-7.4.0}/src/acex/ztp/vendor_classes.py +0 -0
  316. {acex-7.2.0 → acex-7.4.0}/src/acex_api/__init__.py +0 -0
  317. {acex-7.2.0 → acex-7.4.0}/src/acex_api/__main__.py +0 -0
  318. {acex-7.2.0 → acex-7.4.0}/src/acex_api/app.py +0 -0
  319. {acex-7.2.0 → acex-7.4.0}/src/acex_api/config.py +0 -0
  320. {acex-7.2.0 → acex-7.4.0}/src/acex_api/server.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: acex
3
- Version: 7.2.0
3
+ Version: 7.4.0
4
4
  Summary: ACE-X Backend - Core automation engine and API
5
5
  License: AGPL-3.0
6
6
  Keywords: automation,control,api
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "acex"
3
- version = "7.2.0"
3
+ version = "7.4.0"
4
4
  description = "ACE-X Backend - Core automation engine and API"
5
5
  authors = ["Johan Lahti <johan.lahti@acebit.se>"]
6
6
  readme = "README.md"
@@ -48,6 +48,7 @@ vault = ["hvac"]
48
48
  pytest = "^8.0.0"
49
49
  pytest-asyncio = "^0.23.0"
50
50
  acex-driver-cisco-ioscli = "^5"
51
+ acex-driver-cisco-ios-classic-cli = "^0"
51
52
  acex-driver-juniper-junoscli = "^2"
52
53
 
53
54
  [tool.pytest.ini_options]
@@ -1,5 +1,6 @@
1
1
  from acex.constants import BASE_URL
2
2
  from acex_devkit.models.agent_manifest import AckResult, AgentNodeSetResult
3
+ from acex_devkit.models.collection_state import AgentCollectionSummary, CollectionResultsAccepted
3
4
  from fastapi import APIRouter
4
5
 
5
6
 
@@ -28,5 +29,19 @@ def create_router(automation_engine):
28
29
  "/collection_agents/{id}/ack", cam.ack_manifest, methods=["POST"], response_model=AckResult, tags=tags
29
30
  )
30
31
  router.add_api_route("/collection_agents/{id}/manifest", cam.get_manifest, methods=["GET"], tags=tags)
32
+ router.add_api_route(
33
+ "/collection_agents/{id}/collection",
34
+ cam.collection_summary,
35
+ methods=["GET"],
36
+ response_model=AgentCollectionSummary,
37
+ tags=tags,
38
+ )
39
+ router.add_api_route(
40
+ "/collection_agents/{id}/results",
41
+ cam.report_results,
42
+ methods=["POST"],
43
+ response_model=CollectionResultsAccepted,
44
+ tags=tags,
45
+ )
31
46
 
32
47
  return router
@@ -1,4 +1,4 @@
1
- from acex.compliance import ComplianceService
1
+ from acex.compliance import ComplianceService, SoftwareAssets
2
2
  from acex.constants import BASE_URL
3
3
  from fastapi import APIRouter
4
4
 
@@ -18,4 +18,11 @@ def create_router(automation_engine):
18
18
  router.add_api_route("/sites/{site_name}", compliance.site, methods=["GET"], tags=tags)
19
19
  router.add_api_route("/regions/{region_name}", compliance.region, methods=["GET"], tags=tags)
20
20
 
21
+ # Software compliance asset by asset. A plain function, so the server runs it on a worker thread: it reads the
22
+ # database and decides in memory, and does not hold up other requests.
23
+ software_assets = SoftwareAssets(
24
+ automation_engine.db, compliance.software, automation_engine.inventory.region_assignment_manager
25
+ )
26
+ router.add_api_route("/software/assets", software_assets.query, methods=["GET"], tags=tags)
27
+
21
28
  return router
@@ -15,5 +15,6 @@ def create_router(automation_engine):
15
15
  router.add_api_route("/management_connections", manager.create_connection, methods=["POST"], tags=tags)
16
16
  router.add_api_route("/management_connections", manager.list_connections, methods=["GET"], tags=tags)
17
17
  router.add_api_route("/management_connections/{id}", manager.get_connection, methods=["GET"], tags=tags)
18
+ router.add_api_route("/management_connections/{id}", manager.update_connection, methods=["PATCH"], tags=tags)
18
19
  router.add_api_route("/management_connections/{id}", manager.delete_connection, methods=["DELETE"], tags=tags)
19
20
  return router
@@ -46,9 +46,13 @@ def create_router(automation_engine):
46
46
  def approve_many(body: ZtpBulkApprove, user: dict = Depends(_auth.get_current_user)): # noqa: B008
47
47
  """Approve many discoveries; each one that cannot be approved is skipped with a reason.
48
48
 
49
- With `dry_run`, nothing is written and the answer says what would happen.
49
+ With `dry_run`, nothing is written and the answer says what would happen. If an asset with a serial is
50
+ added by someone else while this is being written, nothing is approved and the answer is 409.
50
51
  """
51
- return discoveries.approve_many(body.items, reviewed_by=_reviewer(user), dry_run=body.dry_run)
52
+ try:
53
+ return discoveries.approve_many(body.items, reviewed_by=_reviewer(user), dry_run=body.dry_run)
54
+ except ReviewConflict as exc:
55
+ raise HTTPException(status_code=status.HTTP_409_CONFLICT, detail=str(exc)) from exc
52
56
 
53
57
  @router.post("/reject", response_model=ZtpBulkResult)
54
58
  def reject_many(body: ZtpBulkReject, user: dict = Depends(_auth.get_current_user)): # noqa: B008
@@ -177,6 +177,9 @@ class AutomationEngine:
177
177
  role_id=vault.role_id,
178
178
  secret_id=vault.secret_id.get_secret_value() if vault.secret_id else None,
179
179
  verify=vault.verify,
180
+ k8s_role=vault.k8s_role,
181
+ k8s_mount=vault.k8s_mount,
182
+ k8s_token_path=vault.k8s_token_path,
180
183
  )
181
184
  key = creds.encryption_key.get_secret_value() if creds.encryption_key else None
182
185
  self.credential_manager = CredentialManager(self.db, key, vault_client=vault_client)
@@ -13,6 +13,38 @@ writes the draft, a person or an assistant. `python scripts/changelog.py validat
13
13
  Nothing is compiled: an edit that is merged is live in the next image.
14
14
  -->
15
15
 
16
+ ## 2026-11-24 ZTP discovers and provisions Cisco switches again
17
+
18
+ A Cisco switch that fetches its ZTP bootstrap is logged in to, identified and listed for approval again, and an approved switch gets its full configuration pushed. A device that has not applied its bootstrap yet is tried again for up to ten minutes.
19
+
20
+ ## 2026-11-24 See which nodes the collection agent cannot reach
21
+
22
+ A node the collection agent could not collect on its last try gets a red label with the reason: unreachable, login failed, privilege level, SSH algorithm and more. The node and the agent show since when and how many attempts in a row, and the Nodes list can be filtered on it.
23
+
24
+ ## 2026-11-24 Software compliance, asset by asset
25
+
26
+ Compliance > Software lists every asset with the version it runs and its status: not allowed, unknown version, no policy, accepted or golden. Filter by status, site or region, search and sort, and share the view through the address.
27
+
28
+ ## 2026-11-24 Choose the columns of the Nodes list
29
+
30
+ Configure Table on the Nodes list picks the columns and their order, including the new collection columns. The choice is kept in the browser.
31
+
32
+ ## 2026-11-24 No duplicate assets, hostnames or nodes
33
+
34
+ The inventory refuses an asset with a serial number that already exists, a logical node with a hostname that already exists and a second node on the same logical node or asset. The forms say which record is in the way and link to it.
35
+
36
+ ## 2026-11-24 A first driver for FortiGate
37
+
38
+ ACEX can reach a FortiGate over SSH and read its configuration, so a FortiGate can be collected like the other devices. Changing its configuration comes later.
39
+
40
+ ## 2026-11-24 MikroTik, Waystream and Cisco Business devices can be added
41
+
42
+ MikroTik RouterOS routers and switches, two Waystream iBOS switches and Cisco Catalyst 1300 switches can now be created as assets, with their hardware models. There is no driver for them yet.
43
+
44
+ ## 2026-11-13 A driver for Cisco IOS devices
45
+
46
+ Devices that run classic IOS now have a driver of their own, next to the one for IOS-XE. It reads what IOS prints in its own way, such as ACL entries without sequence numbers, numbered access lists, port-fast on access ports and device tracking. An asset uses it when its driver is set to the new one.
47
+
16
48
  ## 2026-11-12 Compliance for the whole installation
17
49
 
18
50
  ACEX measures every node's configuration against what it should have, and every asset's software against the versions you approve. The new Compliance section ranks the best and the worst sites and lists every region, the dashboard shows both figures, and a site's Compliance tab breaks them down per node and per asset.
@@ -3,6 +3,135 @@
3
3
  "component": "acex",
4
4
  "name": "ACEX backend",
5
5
  "releases": [
6
+ {
7
+ "version": "7.4.0",
8
+ "date": "2026-11-24",
9
+ "entries": [
10
+ {
11
+ "id": "20261116-nodes-say-whether-the-collection-agent",
12
+ "kind": "added",
13
+ "title": "Nodes say whether the collection agent can reach them",
14
+ "description": "A collection agent reports the result for each node after a round to `POST /api/v1/inventory/collection_agents/{id}/results`. A node then carries `collection` in the node list and on the node: `ok` or `failing`, the time of the last attempt and of the last successful collection, since when it has failed, how many times in a row, the category and message of the last failure, and the id and name of the collection agent that made the last attempt. An uploaded configuration counts as a successful collection; it does not say which agent made it, so the agent that reported last stays. The node list can be filtered on `collection_status` (`ok`, `failing` or `unknown`, for nodes no agent has reported on yet) and on `collection_agent_id`. `GET /api/v1/inventory/collection_agents/{id}/collection` says how many of the nodes that agent made the last attempt on were collected and, for the others, how many failed for each reason. Run the migration to add the table.",
15
+ "breaking": false,
16
+ "audience": "user",
17
+ "refs": []
18
+ },
19
+ {
20
+ "id": "20261119-software-compliance-can-be-listed-asset",
21
+ "kind": "added",
22
+ "title": "Software compliance can be listed asset by asset",
23
+ "description": "The assets of every node, each against the software policy, as a page you can filter, search and sort: `GET /api/v1/compliance/software/assets`. Each row has the asset, its running version, the version to aim for, its status, and the node, site and regions it belongs to. Narrow it with `status` (more than once if you like), `site` and `region`, search with `q`, and order it with `sort` and `order`. Without a `sort` the assets that are not on an approved version come first. `status_counts` says how many assets each status has among those the other filters match. It counts the same assets as the compliance of the installation and answers at once however many nodes there are, because it reads the software policy and the inventory and never a node's configuration.",
24
+ "breaking": false,
25
+ "audience": "developer",
26
+ "refs": []
27
+ },
28
+ {
29
+ "id": "20261105-the-driver-list-says-which-ned-interface",
30
+ "kind": "added",
31
+ "title": "The driver list says which NED interface each driver implements",
32
+ "description": "`GET /api/v1/neds` and `GET /api/v1/neds/{ned_id}` return `interface_version` for each driver, the NED interface it declares or `null` when it declares none, so an agent or worker can tell before it installs a driver whether it can run it.",
33
+ "breaking": false,
34
+ "audience": "developer",
35
+ "refs": []
36
+ },
37
+ {
38
+ "id": "20261124-the-fortinet-fortios-driver-is-served-to",
39
+ "kind": "added",
40
+ "title": "The Fortinet FortiOS driver is served to the collection agents",
41
+ "description": "`GET /api/v1/neds` now lists the Fortinet FortiOS driver, so a collection agent installs it for an asset of vendor Fortinet and OS FortiOS. The driver reads a FortiGate's configuration over SSH; it does not write configuration yet.",
42
+ "breaking": false,
43
+ "audience": "user",
44
+ "refs": []
45
+ },
46
+ {
47
+ "id": "20261119-the-node-list-can-be-filtered-by-asset-ref-type",
48
+ "kind": "added",
49
+ "title": "The node list can be filtered by asset_ref_type",
50
+ "description": "`GET /api/v1/inventory/node_instances` takes `asset_ref_type`, `asset` or `asset_cluster`, to use with `asset_ref_id`. A node is bound to either an asset or an asset cluster, and the two have their own numbers, so `asset_ref_id` alone could return a node that belongs to a cluster when an asset had the same number. Without `asset_ref_type` the list answers as before.",
51
+ "breaking": false,
52
+ "audience": "developer",
53
+ "refs": []
54
+ },
55
+ {
56
+ "id": "20261124-vault-login-from-kubernetes-and-a-ca",
57
+ "kind": "added",
58
+ "title": "Vault login from Kubernetes, and a CA file for Vault's certificate",
59
+ "description": "The backend can log in to Vault from Kubernetes, with the token of the pod's service account, so a pod needs no stored secret. Set `ACEX_CREDENTIALS_VAULT_K8S_ROLE` to the Vault role; `ACEX_CREDENTIALS_VAULT_K8S_MOUNT` (default `kubernetes`) and `ACEX_CREDENTIALS_VAULT_K8S_TOKEN_PATH` (default the standard service account path) only need setting when yours differ. The token file is read again at every login, because Kubernetes rotates it, and the backend logs in again when its Vault token has expired. If an AppRole and a Kubernetes role are both set the AppRole is used, and either goes before a static token.\n\n`ACEX_CREDENTIALS_VAULT_VERIFY` can also be the path of a CA file, for a Vault with a private CA. It applies to Vault only: the other HTTPS calls of the backend, such as the one to the OIDC provider, keep the certificate authorities they use today. A path that does not exist stops the backend from starting.",
60
+ "breaking": false,
61
+ "audience": "user",
62
+ "refs": []
63
+ },
64
+ {
65
+ "id": "20261117-duplicate-assets-logical-nodes-and-nodes",
66
+ "kind": "changed",
67
+ "title": "Duplicate assets, logical nodes and nodes are refused",
68
+ "description": "Adding or editing an asset with a serial number that another asset already has is now refused. The same goes for a logical node with a hostname that already exists, for a second node on a logical node that already has one, and for a second node on an asset or cluster that already backs a node. Serial numbers and hostnames are compared ignoring capital letters and spaces around them, and a blank one is refused. The API answers 409 and names the existing record, so a client can point the user at it.\n\nAdding a node for a logical node or asset that does not exist, or moving a node onto one, is now answered with 404.\n\nIf your database already holds duplicates, including nodes that share an asset, the backend still starts. It writes them to the startup log, with the statement to run once they are sorted out, and leaves that unique index out until then. New duplicates are refused either way.",
69
+ "breaking": false,
70
+ "audience": "user",
71
+ "refs": []
72
+ },
73
+ {
74
+ "id": "20261120-a-management-connection-can-be-changed",
75
+ "kind": "fixed",
76
+ "title": "A management connection can be changed, so Set primary works",
77
+ "description": "`PATCH /api/v1/inventory/management_connections/{id}` now exists. Before, the API had no such route and answered 405, so Set primary on a node's Management Connections card did nothing and showed no message, and `client.inventory.management_connections.update(...)` failed the same way. Send only the fields to change: `primary`, `connection_type` or `target_ip`. A field left out or sent as `null` keeps its value. Making a connection primary makes the node's other connections non-primary. A connection that does not exist answers 404.",
78
+ "breaking": false,
79
+ "audience": "user",
80
+ "refs": []
81
+ },
82
+ {
83
+ "id": "20261123-a-region-lists-only-its-own-sites-and",
84
+ "kind": "fixed",
85
+ "title": "A whole region name finds that region only, in lists and when assigning sites",
86
+ "description": "A region was found by a pattern, so a region whose name is part of another's got the sites of both: `eu` listed the sites of `eu-north` in `GET /api/v1/inventory/regions/{id}` and in the list of regions with their sites. Where two sites had names like `hq` and `hq-2`, the region could show the details of the wrong one. Both now use the whole name.\n\nAssigning a site to a region (`POST /api/v1/inventory/region_assignments`) had the same flaw in two ways. A site already in `eu-north` was refused with 409 when assigned to `eu`. And a region or a site that does not exist was accepted when a longer name contained it (assigning to `eu` when only `eu-north` existed stored an assignment to a region that is not there). It now answers 409 only for an assignment that exists, and 404 for a region or site that does not.\n\nThe `region` filter of the node instance, logical node and site lists did the same: `region=eu` also returned what is in `eu-north`. Now a whole region name, in any case, means that region and no other, even when it has no sites. A part of a name still matches every region that contains it, as before, so `region=eu` finds both `eu-north` and `eu-south` while no region is named `eu`. Creating a region with exactly that name changes what the filter finds.",
87
+ "breaking": false,
88
+ "audience": "developer",
89
+ "refs": []
90
+ },
91
+ {
92
+ "id": "20261124-credentials-in-vault-keep-working-after",
93
+ "kind": "fixed",
94
+ "title": "Credentials in Vault keep working after the Vault token has expired",
95
+ "description": "A backend that logs in to Vault with an AppRole used to log in once, at startup. When that token expired, every credential with source `vault` answered 503 until the backend was restarted. The backend now logs in again when Vault refuses a read and the token no longer works, and tries the read once more. Several requests that meet an expired token share one new login. A refusal because the policy does not allow the path is left alone, and so are the other errors (Vault sealed or unreachable, a secret that does not exist). A backend given a static token behaves as before: the token is not renewed.\n\nThe integrations guide names the settings as they are, `ACEX_CREDENTIALS_VAULT_ADDR`, `_TOKEN`, `_ROLE_ID`, `_SECRET_ID` and `_VERIFY`.",
96
+ "breaking": false,
97
+ "audience": "user",
98
+ "refs": []
99
+ },
100
+ {
101
+ "id": "20261116-lists-without-a-sort-keep-a-stable-order",
102
+ "kind": "fixed",
103
+ "title": "Lists without a sort keep a stable order while you page through them",
104
+ "description": "Sites, logical nodes, assets, contacts and regions are now returned in ID order when you do not ask for a sort. Before, their order was not defined, so paging through one while entries were being edited could show the same entry twice and skip another. Lists you sort explicitly are unchanged.",
105
+ "breaking": false,
106
+ "audience": "user",
107
+ "refs": []
108
+ },
109
+ {
110
+ "id": "20261118-lldp-neighbors-match-names-in-any-case",
111
+ "kind": "fixed",
112
+ "title": "LLDP neighbors are matched to nodes whatever case the device reports its name in",
113
+ "description": "A neighbor that reported its name in another case than the inventory holds, such as `CORE-SW1` for `core-sw1`, or with spaces around it, was left unresolved, so its link was missing from the topology. It is now matched ignoring case and spaces, with or without the domain. A name that matches exactly still wins. Links that were left unresolved for this reason are filled in the next time the node's neighbors are collected.",
114
+ "breaking": false,
115
+ "audience": "user",
116
+ "refs": []
117
+ }
118
+ ]
119
+ },
120
+ {
121
+ "version": "7.3.0",
122
+ "date": "2026-11-13",
123
+ "entries": [
124
+ {
125
+ "id": "20261113-search-assets-from-one-box",
126
+ "kind": "added",
127
+ "title": "Search assets from one box",
128
+ "description": "`GET /api/v1/inventory/assets?q=<text>` finds assets whose serial number, hardware model, vendor or driver (NED id) contains the text, ignoring case. It combines with the existing filters, such as `assigned=false`, and `total` counts only the assets that match.",
129
+ "breaking": false,
130
+ "audience": "user",
131
+ "refs": []
132
+ }
133
+ ]
134
+ },
6
135
  {
7
136
  "version": "7.2.0",
8
137
  "date": "2026-11-12",
@@ -0,0 +1,4 @@
1
+ from .service import ComplianceService
2
+ from .software_assets import SoftwareAssets
3
+
4
+ __all__ = ["ComplianceService", "SoftwareAssets"]
@@ -2,6 +2,7 @@ import asyncio
2
2
  import logging
3
3
 
4
4
  from acex.config_diff import DiffLogicalNode
5
+ from acex_devkit.exceptions import DriverException
5
6
  from acex_devkit.models.compliance import (
6
7
  ConfigurationCompliance,
7
8
  ConfigurationComplianceSummary,
@@ -24,6 +25,10 @@ class ConfigurationCheck:
24
25
  await asyncio.sleep(0) # parsing is the longest step; let the server answer before the comparison
25
26
  except HTTPException:
26
27
  raise
28
+ except DriverException as exc:
29
+ # A driver that cannot parse (Junos has no parser yet) leaves the node unmeasured, and that is not an error.
30
+ log.debug("Node %s is not measured: %s", node_instance_id, exc)
31
+ observed = None
27
32
  except Exception:
28
33
  # A configuration its NED cannot parse is as good as none: this node is not measured, the others are.
29
34
  log.exception("Could not parse the observed configuration of node %s", node_instance_id)
@@ -4,7 +4,7 @@ from collections import defaultdict
4
4
  from datetime import UTC, datetime
5
5
 
6
6
  from acex.compliance.configuration import ConfigurationCheck
7
- from acex.compliance.software import SoftwareCheck
7
+ from acex.compliance.software import ApprovedVersions, SoftwareCheck
8
8
  from acex.config_diff import DiffLogicalNode
9
9
  from acex_devkit.models.compliance import (
10
10
  ComplianceOverview,
@@ -16,7 +16,6 @@ from acex_devkit.models.compliance import (
16
16
  SoftwareCompliance,
17
17
  )
18
18
  from acex_devkit.models.node_response import NodeListItem
19
- from acex_devkit.models.policy import SoftwarePolicyResponse
20
19
  from fastapi import HTTPException, Response
21
20
 
22
21
  log = logging.getLogger(__name__)
@@ -140,7 +139,7 @@ class ComplianceService:
140
139
  )
141
140
  return results
142
141
 
143
- async def measure(self, node_instance_id: str, approved: list[SoftwarePolicyResponse]) -> NodeCompliance:
142
+ async def measure(self, node_instance_id: str, approved: ApprovedVersions) -> NodeCompliance:
144
143
  node = await self.inventory.node_instances.get(node_instance_id) # 404 for an unknown node
145
144
  return NodeCompliance(
146
145
  configuration=await self.configuration.node(node_instance_id),
@@ -0,0 +1,119 @@
1
+ from collections import defaultdict
2
+ from functools import lru_cache
3
+ from typing import Protocol
4
+
5
+ from acex.policies import SoftwarePolicyManager
6
+ from acex_devkit.models.compliance import (
7
+ AssetSoftwareCompliance,
8
+ SoftwareCompliance,
9
+ SoftwareComplianceSummary,
10
+ SoftwareStatus,
11
+ )
12
+ from acex_devkit.models.node_response import NodeInstance
13
+ from acex_devkit.models.platform import OS, Vendor
14
+ from acex_devkit.models.policy import SoftwarePolicyCreate, SoftwarePolicyResponse
15
+
16
+ MEASURED = (SoftwareStatus.golden, SoftwareStatus.accepted, SoftwareStatus.not_allowed)
17
+
18
+
19
+ class Measurable(Protocol):
20
+ """What the check reads of an asset: an asset of the inventory, or a row read for it."""
21
+
22
+ vendor: Vendor
23
+ hardware_model: str
24
+ os: OS
25
+ os_version: str | None
26
+
27
+
28
+ @lru_cache(maxsize=4096)
29
+ def running_key(os: OS, version: str):
30
+ """`SoftwarePolicyCreate.version_key`, read once for each version: many assets run the same one."""
31
+ return SoftwarePolicyCreate.version_key(os, version)
32
+
33
+
34
+ class ApprovedVersions:
35
+ """The versions the software policy approves, indexed by what an asset is matched on. The policy is read and
36
+ indexed once for every asset a check covers; each asset then finds its versions without going through it all."""
37
+
38
+ def __init__(self, policies: list[SoftwarePolicyResponse]):
39
+ # Each version with its key, in the order the policy lists them.
40
+ self._for_model = defaultdict(list)
41
+ self._for_vendor = defaultdict(list)
42
+ for policy in policies:
43
+ version = (SoftwarePolicyCreate.version_key(policy.os, policy.os_version), policy)
44
+ if policy.hardware_model:
45
+ self._for_model[(policy.vendor, policy.os, policy.hardware_model.casefold())].append(version)
46
+ elif policy.hardware_model is None:
47
+ self._for_vendor[(policy.vendor, policy.os)].append(version)
48
+
49
+ def covering(self, asset: Measurable) -> list[tuple[object, SoftwarePolicyResponse]]:
50
+ """The versions approved for the asset's model on its OS; where its model has none on that OS, those for
51
+ its vendor on that OS. Each comes with its key. The golden version among them is the one for that OS."""
52
+ for_model = self._for_model.get((asset.vendor, asset.os, asset.hardware_model.casefold()))
53
+ return for_model or self._for_vendor.get((asset.vendor, asset.os), [])
54
+
55
+
56
+ class SoftwareCheck:
57
+ """Software compliance: what each asset of a node runs against the versions the software policy approves for
58
+ its hardware model on the OS it runs, or else for its vendor on that OS. A version not approved is not allowed.
59
+ A policy for another OS does not concern the asset."""
60
+
61
+ def __init__(self, policies: SoftwarePolicyManager):
62
+ self.policies = policies
63
+
64
+ def approved(self) -> ApprovedVersions:
65
+ """The policy as it stands, read once for every node a check covers."""
66
+ return ApprovedVersions(self.policies.list_policies())
67
+
68
+ def node(self, node: NodeInstance, approved: ApprovedVersions) -> SoftwareCompliance:
69
+ """Each asset on its own: a cluster's members are counted one by one."""
70
+ assets = node.asset.assets if node.asset.type == "asset_cluster" else [node.asset]
71
+ results = [self.asset(asset, approved) for asset in assets]
72
+ return SoftwareCompliance(**self.count(results).model_dump(), assets=results)
73
+
74
+ def asset(self, asset: Measurable, approved: ApprovedVersions) -> AssetSoftwareCompliance:
75
+ status, golden_version = self.status(asset, approved)
76
+ return AssetSoftwareCompliance(
77
+ asset_id=asset.id,
78
+ hardware_model=asset.hardware_model,
79
+ os=asset.os,
80
+ os_version=asset.os_version,
81
+ status=status,
82
+ golden_version=golden_version,
83
+ )
84
+
85
+ @staticmethod
86
+ def status(asset: Measurable, approved: ApprovedVersions) -> tuple[SoftwareStatus, str | None]:
87
+ """What the asset runs against the policy, and the version to aim for where the policy names one. The one
88
+ place the status is decided: a node's compliance and the list of assets both read it from here. It takes the
89
+ index, not the policy as a list: indexing per asset would be slower than the scan it replaces."""
90
+ versions = approved.covering(asset)
91
+ golden = next((policy for _, policy in versions if policy.golden), None)
92
+ golden_version = golden.os_version if golden else None
93
+ if not versions:
94
+ return SoftwareStatus.no_policy, golden_version
95
+ if asset.os_version is None:
96
+ return SoftwareStatus.unknown_version, golden_version
97
+ running = running_key(asset.os, asset.os_version)
98
+ match = next((policy for key, policy in versions if key == running), None)
99
+ if match is None:
100
+ return SoftwareStatus.not_allowed, golden_version
101
+ return (SoftwareStatus.golden if match.golden else SoftwareStatus.accepted), golden_version
102
+
103
+ def summarize(self, results: list[SoftwareCompliance]) -> SoftwareComplianceSummary:
104
+ return self.count([asset for result in results for asset in result.assets])
105
+
106
+ @staticmethod
107
+ def count(assets: list[AssetSoftwareCompliance]) -> SoftwareComplianceSummary:
108
+ by_status = {status: sum(1 for a in assets if a.status == status) for status in SoftwareStatus}
109
+ measured = sum(by_status[s] for s in MEASURED)
110
+ compliant = by_status[SoftwareStatus.golden] + by_status[SoftwareStatus.accepted]
111
+ return SoftwareComplianceSummary(
112
+ assets_total=len(assets),
113
+ golden_count=by_status[SoftwareStatus.golden],
114
+ accepted_count=by_status[SoftwareStatus.accepted],
115
+ not_allowed_count=by_status[SoftwareStatus.not_allowed],
116
+ no_policy_count=by_status[SoftwareStatus.no_policy],
117
+ unknown_version_count=by_status[SoftwareStatus.unknown_version],
118
+ compliance_percentage=round(compliant / measured * 100, 2) if measured else None,
119
+ )