PurgeAuditLogs
PurgeAuditLogs
yaml
type: "io.kestra.plugin.ee.core.log.PurgeAuditLogs"Examples
yaml
id: audit_log_cleanup
namespace: system
tasks:
- id: purge_audit_logs
type: io.kestra.plugin.ee.core.log.PurgeAuditLogs
description: Purge audit logs older than 1 month
endDate: "{{ now() | dateAdd(-1, 'MONTHS') }}"
yaml
id: "purgeauditlogs"
type: "io.kestra.plugin.ee.core.log.PurgeAuditLogs"
endDate: "{{ now() | dateAdd(-1, 'MONTHS') }}"
resources:
- FLOW
- EXECUTIONProperties
endDate *Requiredstring
namespace string
resources Non-dynamicarray
SubTypestring
Possible Values
AUDITLOGAPPASSETAPP_EXECUTIONBLUEPRINTBINDINGDASHBOARDEXECUTIONFLOWKV_STOREGROUPINVITATIONNAMESPACENAMESPACE_FILEROLESECURITY_INTEGRATIONSECRETSETTINGTEMPLATETRIGGERTENANTTENANT_ACCESSTESTSUITETESTSUITE_RUNVERSIONED_PLUGINUSERWORKER_GROUPINSTANCEUNKNOWNstartDate string
types Non-dynamicarray
SubTypestring
Possible Values
READCREATEUPDATEDELETELOGINLOGOUTIMPERSONATELOGIN_FAILUREACCOUNT_LOCKEDOutputs
count integer
Default
0