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/ti_flashpoint/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.4.0"
changes:
- description: Add X-FP-IntegrationPlatform, X-FP-IntegrationVersion and X-FP-IntegrationPlatformVersion client identification headers to all API requests.
type: enhancement
link: https://github.com/elastic/integrations/pull/20566
- version: "0.3.2"
changes:
- description: Set agentless deployment mode `release` field to `ga`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ state:
initial_interval: {{initial_interval}}
page_size: {{page_size}}
api_token: {{api_token}}
integration_version: !!str {{#if _meta.package.version}}{{_meta.package.version}}{{else}}unknown{{/if}}
integration_platform_version: !!str {{#if _meta.agent.version}}{{_meta.agent.version}}{{else}}unknown{{/if}}
redact:
fields:
- api_token
Expand All @@ -40,6 +42,9 @@ program: |
"Header": {
"Accept": ["application/json"],
"Authorization": ["Bearer " + state.api_token],
"X-FP-IntegrationPlatform": ["Elastic"],
"X-FP-IntegrationVersion": [state.integration_version],
"X-FP-IntegrationPlatformVersion": [state.integration_platform_version],
}
}).do_request().as(resp, resp.StatusCode == 200 ?
resp.Body.decode_json().as(body,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ state:
initial_interval: {{initial_interval}}
page_size: {{page_size}}
api_token: {{api_token}}
integration_version: !!str {{#if _meta.package.version}}{{_meta.package.version}}{{else}}unknown{{/if}}
integration_platform_version: !!str {{#if _meta.agent.version}}{{_meta.agent.version}}{{else}}unknown{{/if}}
redact:
fields:
- api_token
Expand All @@ -40,6 +42,9 @@ program: |
"Header": {
"Accept": ["application/json"],
"Authorization": ["Bearer " + state.api_token],
"X-FP-IntegrationPlatform": ["Elastic"],
"X-FP-IntegrationVersion": [state.integration_version],
"X-FP-IntegrationPlatformVersion": [state.integration_platform_version],
}
}).do_request().as(resp, resp.StatusCode == 200 ?
resp.Body.decode_json().as(body,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ state:
initial_interval: {{initial_interval}}
page_size: {{page_size}}
api_token: {{api_token}}
integration_version: !!str {{#if _meta.package.version}}{{_meta.package.version}}{{else}}unknown{{/if}}
integration_platform_version: !!str {{#if _meta.agent.version}}{{_meta.agent.version}}{{else}}unknown{{/if}}
redact:
fields:
- api_token
Expand All @@ -39,6 +41,9 @@ program: |
"Header": {
"Accept": ["application/json"],
"Authorization": ["Bearer " + state.api_token],
"X-FP-IntegrationPlatform": ["Elastic"],
"X-FP-IntegrationVersion": [state.integration_version],
"X-FP-IntegrationPlatformVersion": [state.integration_platform_version],
}
}).do_request().as(resp, resp.StatusCode == 200 ?
resp.Body.decode_json().as(body,
Expand Down
2 changes: 1 addition & 1 deletion packages/ti_flashpoint/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 3.3.2
name: ti_flashpoint
title: Flashpoint
version: 0.3.2
version: 0.4.0
description: Collect logs from Flashpoint with Elastic Agent.
type: integration
categories:
Expand Down