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

[O11y][HAProxy] Enable secret for the password field, update format version and add dashboard-level filters. #9897

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

harnish-elastic
Copy link
Contributor

@harnish-elastic harnish-elastic commented May 16, 2024

  • Enhancement

Proposed commit message

  • Update format version to 3.0.2.
  • Update kibana version to 8.12.0.
  • Inline "by reference" visualizations.
  • Added dashboard level filters.
  • Enable secrets for sensitive fields.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.

Screenshots

HAProxy
Backend Before Backend After
haproxy  backend-before haproxy  backend-after
Frontend Before Frontend After
haproxy  frontend-before haproxy  frontend-after
HTTP backend Before HTTP backend After
haproxy  http backend-before haproxy  http backend-after
HTTP frontend Before HTTP frontend After
haproxy  http frontend - before haproxy  http frontend - after
HTTP server Before HTTP server After
haproxy  http server - before haproxy  http server - after
Log overview Before Log overview After
haproxy  logs overview - before haproxy  logs overview - after

@harnish-elastic harnish-elastic added the enhancement New feature or request label May 16, 2024
@harnish-elastic harnish-elastic self-assigned this May 16, 2024
@elasticmachine
Copy link

elasticmachine commented May 16, 2024

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@harnish-elastic harnish-elastic marked this pull request as ready for review May 17, 2024 06:17
@harnish-elastic harnish-elastic requested a review from a team as a code owner May 17, 2024 06:17
@ritalwar
Copy link
Contributor

Can you add screenshots for the filter-related changes?

description: Collect logs and metrics from HAProxy servers with Elastic Agent.
type: integration
icons:
- src: /img/logo_haproxy.svg
title: logo HAProxy
size: 32x32
type: image/svg+xml
format_version: 1.0.0
license: basic
format_version: 3.0.0
Copy link
Contributor

Choose a reason for hiding this comment

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

The format version should be upgraded to 3.0.2 for secret enablement change.

@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.12.0"
changes:
- description: Update format version and enable secrets for sensitive fields. For more details, refer https://www.elastic.co/guide/en/fleet/current/agent-policy.html#agent-policy-secret-values
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- description: Update format version and enable secrets for sensitive fields. For more details, refer https://www.elastic.co/guide/en/fleet/current/agent-policy.html#agent-policy-secret-values
- description: Enable secret for the `password` field and add dashboard-level filters.

We don't need to add the link here since it's already shown in Kibana, but I'm okay with keeping it if you prefer. We didn't do this in other secret enablement PRs.

@harnish-elastic
Copy link
Contributor Author

Can you add screenshots for the filter-related changes?

It is already present in the screenshot section of the description.

@elasticmachine
Copy link

💚 Build Succeeded

History

cc @harnish-elastic

Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@ritalwar ritalwar changed the title [O11y][HAProxy] Update format version and enable secrets for sensitive fields [O11y][HAProxy] Enable secret for the password field, update format version and add dashboard-level filters. May 28, 2024
Copy link
Collaborator

@kush-elastic kush-elastic left a comment

Choose a reason for hiding this comment

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

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants