/** * @type LogpushResponse: Logpush job response * * @property jobId: Unique ID of the job. * * @property name: Logpush job name; the name cannot be changed after the job is created. * - **Pattern:** /^.*$/ * * @property logType: Type of logs; available log types are `http_requests`, `firewall_events`, and `page_shield_events`. * * @property filter: Filter provides a way to customize which logs you want to receive. Filters are added as escaped JSON strings formatted. If the filter is not displayed, it indicates that all logs should be included. * - **Pattern:** /^.*$/ * * @property logFields: List of log fields. Depending on the type of log, the list of fields that you would like to see in the logs may vary. * * @property destinationPath: Uniquely identifies s3 bucket for logs. * - **Pattern:** /^.*$/ * * @property enabled: Flag that indicates if the job is enabled or disabled. * * @property lastComplete: The last time that the log has been successfully transmitted to the destination. * * @property lastError: The last time the job failed. If empty, the job has either never failed or has run successfully at least once since the last failure. * * @property errorMessage: Provide details for the last failure message. If this field is empty, it indicates that the job successfully transmitted logs to the destination. * - **Pattern:** /^.*$/ * * @property createdOn: Job creation time. * */ export type LogpushResponse = { jobId?: number; name?: string; logType?: LogpushResponseLogTypeEnum; filter?: string; logFields?: Array; destinationPath?: string; enabled?: boolean; lastComplete?: string; lastError?: string; errorMessage?: string; createdOn?: string; } & { [key: string]: any; }; export type LogpushResponseLogTypeEnum = 'http_requests' | 'firewall_events' | 'page_shield_events';