| Description |
This article describes how to resolve the Audit Log Cleanup error caused by Access Denied Permission issues.
CS-INTEGRATION-5: Error occurred while executing the connector action ERROR :: 403 Client Error: Forbidden for url: https://localhost/api/gateway/audit/activities/delete :: {'type': ''AccessDeniedException', 'message':'Access Denied.'} :: Url: https://localhost/api/gateway/audit/activities/delete |
| Scope | FortiSOAR v7.x. |
| Solution |
Assumptions: In my lab instance, the csadmin user has scheduled the AuditLog Cleanup playbook. The Playbook Administrator role is assigned to the csadmin user.
Step 1: Go to Settings -> Users, identify the relevant user and their role. Step 2: Go to Settings -> Roles, and select the Playbook Administrator role. Step 3: Scroll down to the Audit Log Activities module and select the delete privileges.
Note: User and role changes may vary between customer environments. Plan to adjust accordingly. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2026 Fortinet, Inc. All Rights Reserved.