fossa_export_audit_logs
Queue a CSV export of audit logs for a date range and receive the download link via email. Use this to retrieve your organization's audit history.
Instructions
Queue a CSV export of the audit log for a date range and have FOSSA email the download link to the calling token's user.
WRITES TO FOSSA. Requires FOSSA_ALLOW_WRITES=true.
No audit entry changes, but this creates a background job and mails the organization's audit history out, so it is gated like any other POST. Dates are YYYY-MM-DD and both are required. Requires a premium FOSSA subscription.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "fossa_export_audit_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topics | No | ||
| actions | No | ||
| end_date | Yes | ||
| start_date | Yes | ||
| topic_actions | No | ||
| acting_user_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||