action anchore_list_events { label: "List Events" description: "Returns a paginated list of events in the descending order of their occurrence. Optional query parameters may be used for filtering results" provider: anchore method: GET path: "/events" encoding: json input: { type: "object" properties: { before: { type: "string" } event_type: { type: "string" } level: { type: "string" } limit: { type: "integer" } page: { type: "integer" } resource_id: { type: "string" } resource_type: { type: "string" } since: { type: "string" } source_hostid: { type: "string" } source_servicename: { type: "string" } "x-anchore-account": { type: "string" } } additionalProperties: false } output: { type: "object" description: "Response envelope for paginated listing of events" properties: { item_count: { type: "integer" description: "Number of events in this page" } next_page: { type: "boolean" description: "Boolean flag, True indicates there are more events and False otherwise" } page: { type: "integer" description: "Page number of this result set" } results: { type: "array" description: "List of events" items: { type: "object" description: "A record of occurance of an asynchronous event triggered either by system or by user activity" properties: { created_at: { type: "string" format: "date-time" } event: { type: "object" properties: { category: { type: "string" } details: { type: "object" } level: { type: "string" } message: { type: "string" } resource: { type: "object" properties: { id: { type: "string" } type: { type: "string" } user_id: { type: "string" } } } source: { type: "object" properties: { base_url: { type: "string" } hostid: { type: "string" } request_id: { type: "string" } servicename: { type: "string" } } } timestamp: { type: "string" format: "date-time" } type: { type: "string" } } } generated_uuid: { type: "string" } } } } } } }