Skip to content

[Cloud Security] Add is_internal flag to fleet server hosts configuration#175983

Merged
maxcold merged 11 commits intomainfrom
csp-add-is-internal-fleet-server-host-flag
Feb 2, 2024
Merged

[Cloud Security] Add is_internal flag to fleet server hosts configuration#175983
maxcold merged 11 commits intomainfrom
csp-add-is-internal-fleet-server-host-flag

Conversation

@maxcold
Copy link
Copy Markdown
Contributor

@maxcold maxcold commented Jan 31, 2024

Summary

introducing a new is_internal config option for xpack.fleet.fleetServerHosts. The usage is currently to protect the internal fleet server hosts in the UI:

  • filter them out in the Settings UI
  • disable internal hosts in the agent policy form

Checklist

Delete any items that are not applicable to this PR.

@github-actions
Copy link
Copy Markdown
Contributor

A documentation preview will be available soon.

Help us out by validating the Buildkite preview and reporting issues here.
Please also be sure to double check all images to ensure they are correct in the preview.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here.

@maxcold
Copy link
Copy Markdown
Contributor Author

maxcold commented Feb 1, 2024

/ci

@maxcold
Copy link
Copy Markdown
Contributor Author

maxcold commented Feb 1, 2024

/ci

@maxcold
Copy link
Copy Markdown
Contributor Author

maxcold commented Feb 1, 2024

/ci

1 similar comment
@maxcold
Copy link
Copy Markdown
Contributor Author

maxcold commented Feb 1, 2024

/ci

@maxcold
Copy link
Copy Markdown
Contributor Author

maxcold commented Feb 1, 2024

/ci

@maxcold maxcold marked this pull request as ready for review February 1, 2024 17:25
@maxcold maxcold requested review from a team as code owners February 1, 2024 17:25
@maxcold maxcold changed the title add is_internal to fleet server host configuration [Cloud Security] Add is_internal flag to fleet server hosts configuration Feb 1, 2024
@maxcold maxcold added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:Cloud Security Cloud Security team related labels Feb 1, 2024
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security)

@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Feb 1, 2024
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/fleet (Team:Fleet)

Copy link
Copy Markdown
Member

@kilfoyle kilfoyle left a comment

Choose a reason for hiding this comment

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

LGTM for the docs update. 👍
Just one super small suggestion.

@nchaulet nchaulet self-requested a review February 1, 2024 19:04
Copy link
Copy Markdown
Member

@nchaulet nchaulet left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>
@kibana-ci
Copy link
Copy Markdown

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
fleet 1.2MB 1.2MB +72.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Copy Markdown
Contributor

@pgayvallet pgayvallet left a comment

Choose a reason for hiding this comment

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

LGTM for SO type change

@maxcold maxcold merged commit 2b929ca into main Feb 2, 2024
@maxcold maxcold deleted the csp-add-is-internal-fleet-server-host-flag branch February 2, 2024 16:09
fkanout pushed a commit to fkanout/kibana that referenced this pull request Feb 7, 2024
…tion (elastic#175983)

## Summary

- Follow up after elastic#175546
- Part of elastic#165251

introducing a new `is_internal` config option for
`xpack.fleet.fleetServerHosts`. The usage is currently to protect the
internal fleet server hosts in the UI:

- filter them out in the Settings UI
- disable internal hosts in the agent policy form



### Checklist

Delete any items that are not applicable to this PR.

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this pull request Feb 15, 2024
…tion (elastic#175983)

## Summary

- Follow up after elastic#175546
- Part of elastic#165251

introducing a new `is_internal` config option for
`xpack.fleet.fleetServerHosts`. The usage is currently to protect the
internal fleet server hosts in the UI:

- filter them out in the Settings UI
- disable internal hosts in the agent policy form



### Checklist

Delete any items that are not applicable to this PR.

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>
fkanout pushed a commit to fkanout/kibana that referenced this pull request Mar 4, 2024
…tion (elastic#175983)

## Summary

- Follow up after elastic#175546
- Part of elastic#165251

introducing a new `is_internal` config option for
`xpack.fleet.fleetServerHosts`. The usage is currently to protect the
internal fleet server hosts in the UI:

- filter them out in the Settings UI
- disable internal hosts in the agent policy form



### Checklist

Delete any items that are not applicable to this PR.

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Cloud Security Cloud Security team related Team:Fleet Team label for Observability Data Collection Fleet team v8.13.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants