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
- EXECUTION
Properties
endDate *Requiredstring
namespace string
resources Non-dynamicarray
SubType string
Possible Values
AUDITLOG
APP
APP_EXECUTION
BINDING
DASHBOARD
EXECUTION
FLOW
GROUP
INVITATION
NAMESPACE
ROLE
SECURITY_INTEGRATION
SECRET
SETTING
TEMPLATE
TENANT
TENANT_ACCESS
TESTSUITE
TESTSUITE_RUN
VERSIONED_PLUGIN
USER
WORKER_GROUP
INSTANCE
UNKNOWN
startDate string
types Non-dynamicarray
SubType string
Possible Values
READ
CREATE
UPDATE
DELETE
LOGIN
LOGOUT
IMPERSONATE
LOGIN_FAILURE
ACCOUNT_LOCKED
Outputs
count integer
Default
0