Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

entityanalytics_entra_id: add support for request trace logging #10765

Merged
merged 2 commits into from
Sep 11, 2024
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/entityanalytics_entra_id/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.3.0"
changes:
- description: Add support for request trace logging.
type: enhancement
link: https:/elastic/integrations/pull/10765
- version: "1.2.0"
changes:
- description: Update the kibana constraint to ^8.13.0. Modified the field definitions to remove ECS fields made redundant by the ecs@mappings component template.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ data_stream:
login_endpoint: http://{{Hostname}}:{{Port}}
api_endpoint: http://{{Hostname}}:{{Port}}/v1.0
dataset: all
enable_request_tracer: true
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
provider: azure-ad
{{#if enable_request_tracer}}
tracer.filename: "../../logs/entra_id/http-request-trace-*.ndjson"
tracer.maxbackups: 5
tracer.maxsize: 1
Comment on lines +4 to +5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like tracer.maxbackups and tracer.maxsize are undocumented in the input. We could maybe document them.
https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-entity-analytics.html#_tracer_enabled

{{/if}}
sync_interval: {{sync_interval}}
update_interval: {{update_interval}}
client_id: {{client_id}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ streams:
# yvgJ38BRsFOtkRuAGSf6ZUwTO8JJRRIFnpUzXflAnGivK9M13D5GEQMmIl6U9Pvk
# sxSmbIUfc2SGJGCJD4I=
# -----END CERTIFICATE-----
- name: enable_request_tracer
type: bool
title: Enable request tracing
multi: false
required: false
show_user: false
description: The request tracer logs requests and responses to the agent's local file-system for debugging configurations. Enabling this request tracing compromises security and should only be used for debugging. See [documentation](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-entity-analytics.html#_tracer_enabled) for details.
- name: tags
type: text
title: Tags
Expand Down
4 changes: 2 additions & 2 deletions packages/entityanalytics_entra_id/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: "3.0.2"
name: entityanalytics_entra_id
title: "Microsoft Entra ID Entity Analytics"
version: "1.2.0"
version: "1.3.0"
description: "Collect identities from Microsoft Entra ID (formerly Azure Active Directory) with Elastic Agent."
type: integration
categories:
Expand All @@ -10,7 +10,7 @@ categories:
- security
conditions:
kibana:
version: "^8.13.0"
version: "^8.15.1"
elastic:
subscription: "basic"
icons:
Expand Down