|
| 1 | +## 5.1.0 (2026-05-04) |
| 2 | + |
| 3 | +Full Changelog: [v5.0.0...v5.1.0](https://github.com/cloudflare/cloudflare-python/compare/v5.0.0...v5.1.0) |
| 4 | + |
| 5 | +### Features |
| 6 | + |
| 7 | +* **security_center:** add `audit_logs`, `classification`, and `context` sub-resources to insights ([ed7d261](https://github.com/cloudflare/cloudflare-python/commit/ed7d261e6)) |
| 8 | +* **zero_trust:** add `deployment_groups` sub-resource to devices ([7121a55](https://github.com/cloudflare/cloudflare-python/commit/7121a55d3)) |
| 9 | +* **aisearch:** update generated types and methods ([54b87759](https://github.com/cloudflare/cloudflare-python/commit/54b87759b)) |
| 10 | +* **email_security:** update generated types and methods ([23a979df](https://github.com/cloudflare/cloudflare-python/commit/23a979df2)) |
| 11 | +* **radar:** update generated types and methods ([b48274ef](https://github.com/cloudflare/cloudflare-python/commit/b48274ef7)) |
| 12 | +* **zones:** update generated types and methods ([f0a54099](https://github.com/cloudflare/cloudflare-python/commit/f0a540997)) |
| 13 | + |
| 14 | +#### Security Center - New Insights Sub-Resources |
| 15 | + |
| 16 | +**AuditLogs** (`client.security_center.insights.audit_logs`) |
| 17 | + |
| 18 | +- `list(*, account_id, zone_id, **params) -> SyncCursorPagination[AuditLogListResponse]` |
| 19 | +- `list_by_insight(issue_id, *, account_id, zone_id, **params) -> SyncCursorPagination[AuditLogListByInsightResponse]` |
| 20 | + |
| 21 | +New types: |
| 22 | +```python |
| 23 | +from cloudflare.types.security_center.insights import ( |
| 24 | + AuditLogListResponse, |
| 25 | + AuditLogListByInsightResponse, |
| 26 | +) |
| 27 | +``` |
| 28 | + |
| 29 | +**Classification** (`client.security_center.insights.classification`) |
| 30 | + |
| 31 | +- `update(issue_id, *, account_id, zone_id, **params) -> ClassificationUpdateResponse` |
| 32 | + |
| 33 | +New types: |
| 34 | +```python |
| 35 | +from cloudflare.types.security_center.insights import ClassificationUpdateResponse |
| 36 | +``` |
| 37 | + |
| 38 | +**Context** (`client.security_center.insights.context`) |
| 39 | + |
| 40 | +- `get(issue_id, *, account_id) -> Optional[ContextGetResponse]` |
| 41 | + |
| 42 | +New types: |
| 43 | +```python |
| 44 | +from cloudflare.types.security_center.insights import ContextGetResponse |
| 45 | +``` |
| 46 | + |
| 47 | +#### Zero Trust - Device Deployment Groups |
| 48 | + |
| 49 | +New sub-resource `client.zero_trust.devices.deployment_groups`: |
| 50 | + |
| 51 | +- `create(*, account_id, **params) -> DeploymentGroup` |
| 52 | +- `list(*, account_id, **params) -> SyncV4PagePaginationArray[DeploymentGroup]` |
| 53 | +- `delete(group_id, *, account_id) -> DeploymentGroupDeleteResponse` |
| 54 | +- `edit(group_id, *, account_id, **params) -> DeploymentGroup` |
| 55 | +- `get(group_id, *, account_id) -> DeploymentGroup` |
| 56 | + |
| 57 | +New types: |
| 58 | +```python |
| 59 | +from cloudflare.types.zero_trust.devices import DeploymentGroup, DeploymentGroupDeleteResponse |
| 60 | +``` |
0 commit comments