This content is associated with a legacy version of the Replicated product. For the current Replicated product documentation, see docs.replicated.com.
retraced.events
type object
Collect Audit Log events from a running Audit Log instance
collect:
v1:
- retraced.events:
output_dir: /audit/events
api_endpoint: 'https://auditlogs.mycorp.internal:8080'
api_token: aef342f32f22f3edf1f1f3f3ef
project_id: f3edf1f1f3f3efaef342f32f22
collect:
v1:
- retraced.events:
output_dir: /audit/events
api_endpoint: 'https://auditlogs.mycorp.internal:8080'
api_token: aef342f32f22f3edf1f1f3f3ef
project_id: f3edf1f1f3f3efaef342f32f22
insecure: true
timeout_seconds: 10
mask:
Action: true
Description: true
ActorID: true
ActorName: true
CanonicalTime: true
query:
CRUD: 'c,u,d'
Required Parameters
-
api_endpoint
- The location of the Audit Logs API endpoint in the formhttp(s)://<host>:<port>
-
api_token
- An API token for communicating with the audit log instance -
project_id
- The Audit Log Project ID
Optional Parameters
-
insecure
- Set totrue
to skip SSL verification on the endpoint -
mask
- A mask to determine what fields to include in the output file, as in https://github.com/retracedhq/retraced-go/blob/master/graphql.go#L160 -
query
- A structured query for filtering events, as in https://github.com/retracedhq/retraced-go/blob/master/graphql.go#L16
Outputs
audit_events.csv
- The audit events in CSV format