| 123456789101112131415161718192021222324 |
- // @ts-ignore
- /* eslint-disable */
- import request from '@repo/api-client'
- /** Generate an audit Generate a security audit for your n8n instance. POST /audit */
- export async function postAudit(
- body: {
- additionalOptions?: {
- daysAbandonedWorkflow?: number
- categories?: ('credentials' | 'database' | 'nodes' | 'filesystem' | 'instance')[]
- }
- },
- options?: { [key: string]: any }
- ) {
- return request<API.audit>('/audit', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json'
- },
- data: body,
- ...(options || {})
- })
- }
|