Skip to content
Merged
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/panw_cortex_xdr/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.3.1"
changes:
- description: Fix rate limit.
type: bugfix
link: https://github.com/elastic/integrations/pull/3635
- version: "1.3.0"
changes:
- description: Update package to ECS 8.3.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ request.timeout: {{request_timeout}}
{{#if proxy_url }}
request.proxy_url: {{proxy_url}}
{{/if}}

request.rate_limit:
limit: '[[.last_response.header.Get "X-Rate-Limit-Limit"]]'
remaining: '[[.last_response.header.Get "X-Rate-Limit-Remaining"]]'
reset: '[[(parseDate (.last_response.header.Get "X-Rate-Limit-Reset")).Unix]]'
request.transforms:
- set:
target: header.Authorization
Expand Down
2 changes: 1 addition & 1 deletion packages/panw_cortex_xdr/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: panw_cortex_xdr
title: Palo Alto Cortex XDR Logs
version: "1.3.0"
version: "1.3.1"
release: ga
description: Collect and parse logs from Palo Alto Cortex XDR API with Elastic Agent.
type: integration
Expand Down