PurgeAuditLogs ​Purge​Audit​Logs

yaml
type: "io.kestra.plugin.ee.core.log.purgeauditlogs"
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
- EXECUTION
Properties
SubType string
Possible Values
AUDITLOGAPPAPP_EXECUTIONBINDINGDASHBOARDEXECUTIONFLOWGROUPINVITATIONNAMESPACEROLESECURITY_INTEGRATIONSECRETSETTINGTEMPLATETENANTTENANT_ACCESSTESTSUITETESTSUITE_RUNVERSIONED_PLUGINUSERWORKER_GROUPINSTANCEUNKNOWN
SubType string
Possible Values
READCREATEUPDATEDELETELOGINLOGOUTIMPERSONATELOGIN_FAILUREACCOUNT_LOCKED
Default 0