Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/cato_networks/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# later versions go on top
- version: '0.1.1'
changes:
- description: Simplify the audit `last_timestamp` parse guard to use `is_error` instead of `try`/`has`.
type: enhancement
link: https://github.com/elastic/integrations/pull/20051
- version: '0.1.0'
changes:
- description: Initial release of package.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ program: |
// auditFeed.to may echo back the non-RFC3339 request layout, so guard the
// parse and fall back to window_to instead of aborting the final page.
"last_timestamp": body.data.auditFeed.?to.optMap(v,
try(timestamp(v), "error").as(t, !has(t.error) ?
timestamp(v).as(t, !is_error(t) ?
t.format("2006-01-02/15:04:05")
:
window_to
Expand Down
2 changes: 1 addition & 1 deletion packages/cato_networks/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 3.4.2
name: cato_networks
title: Cato Networks
version: 0.1.0
version: 0.1.1
description: Collect logs from Cato Networks with Elastic Agent.
type: integration
categories:
Expand Down
Loading