Skip to content

Conversation

taylor-swanson
Copy link
Contributor

  • Fixed Fleet Agent Policy monitoring settings not being applied correctly, particularily when the values would be set to false.
  • Update Fleet Agent Policy acceptance tests to verify disabling monitoring works as intended.
  • Fix ELASTICSEARCH_INSECURE environment variable not being set.

Related:

- Fixed Fleet Agent Policy monitoring settings not being applied
correctly, particularily when the values would be set to false.
- Update Fleet Agent Policy acceptance tests to verify disabling
monitoring works as intended.
- Fix ELASTICSEARCH_INSECURE environment variable not being set.
@taylor-swanson taylor-swanson added the bug Something isn't working label Oct 13, 2023
@taylor-swanson taylor-swanson self-assigned this Oct 13, 2023
@taylor-swanson taylor-swanson marked this pull request as ready for review October 13, 2023 20:43
tobio
tobio previously approved these changes Oct 15, 2023
Copy link
Member

@tobio tobio left a comment

Choose a reason for hiding this comment

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

LGTM


if insecure, ok := os.LookupEnv("ELASTICSEARCH_INSECURE"); ok {
if insecureValue, err := strconv.ParseBool(insecure); err != nil {
if insecureValue, err := strconv.ParseBool(insecure); err == nil {
Copy link
Member

Choose a reason for hiding this comment

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

👍

tobio
tobio previously approved these changes Oct 24, 2023
Copy link
Member

@tobio tobio left a comment

Choose a reason for hiding this comment

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

LGTM

@taylor-swanson
Copy link
Contributor Author

@tobio, looks like the merge cleared your review, so if you could re-approve and merge, that'd be great!

@tobio tobio merged commit 8afba4d into elastic:main Oct 26, 2023
@taylor-swanson taylor-swanson deleted the bug/fleet-agent-policy-monitoring branch October 27, 2023 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Updating Existing Fleet Policy to Remove Agent Logging Fails
2 participants