Open
Correct docs/spec wording and align Endpoint prevention message strings#15210
Conversation
Copilot
AI
changed the title
Fix documentation and user-facing text issues from #15144
Correct docs/spec wording and align Endpoint prevention message strings
Jun 30, 2026
Copilot created this pull request from a session on behalf of
ebeahan
June 30, 2026 00:53
View session
Contributor
|
This pull request does not have a backport label. Could you fix it @Copilot? 🙏
|
ebeahan
approved these changes
Jul 1, 2026
Contributor
🔍 Preview links for changed docs |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR aims to correct user-facing wording in documentation and align Endpoint prevention-related message strings with integration test expectations.
Changes:
- Updated Endpoint integration test assertions to expect revised prevention message grammar (“requires … to be …”).
- Corrected typos/wording in docs, including fixing a broken relative link in
docs/architecture.md. - Cleaned up Helm chart contributing guidance wording for the
helm-docsworkflow.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| testing/integration/ess/endpoint_security_test.go | Updates expected Endpoint prevention messages in ESS integration tests. |
| docs/hybrid-agent-beats-receivers.md | Fixes typos in receiver/runtime configuration documentation comments. |
| docs/architecture.md | Corrects wording and fixes the component-specs.md link target. |
| deploy/helm/elastic-agent/CONTRIBUTING.md | Improves grammar/clarity in Helm README/helm-docs contribution guidance. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
828
to
831
| for _, c := range state.Components { | ||
| if strings.Contains(c.Message, | ||
| "Elastic Defend requires Elastic Agent be installed at the default installation path") { | ||
| "Elastic Defend requires Elastic Agent to be installed at the default installation path") { | ||
| return true |
Comment on lines
+889
to
892
| errMsg := "Elastic Defend requires Elastic Agent to be running as root" | ||
| if runtime.GOOS == define.Windows { | ||
| errMsg = "Elastic Defend requires Elastic Agent be running as Administrator or SYSTEM" | ||
| errMsg = "Elastic Defend requires Elastic Agent to be running as Administrator or SYSTEM" | ||
| } |
| c := fixture.Client() | ||
|
|
||
| errMsg := "Elastic Defend requires Elastic Agent be running as root" | ||
| errMsg := "Elastic Defend requires Elastic Agent to be running as root" |
💔 Build Failed
Failed CI Steps
History
cc @ebeahan @Copilot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This updates a batch of user-facing text defects across docs and specs, including typos, grammar, casing, and one broken documentation link. It also aligns the integration test assertions with updated Endpoint prevention message text.
Helm docs cleanup
deploy/helm/elastic-agent/CONTRIBUTING.mdfor thehelm-docsworkflow guidance.Architecture doc corrections
providerstypo and corrected the broken link target indocs/architecture.md(component-specs.md).Hybrid Agent Beat receiver text fixes
docs/hybrid-agent-beats-receivers.md(harcoded,sub-processe,overidden) with correct wording.Endpoint prevention message grammar
specs/endpoint-security.spec.ymlmessages fromrequires Elastic Agent be ...torequires Elastic Agent to be ...across Linux/macOS/Windows prevention entries.Cloudbeat description normalization
specs/cloudbeat.spec.ymldescriptions:CIS elastic Kubernetes monitoring→CIS EKS monitoringCIS AZURE monitoring→CIS Azure monitoringAWS Vulnerabilities management→AWS vulnerability managementIntegration test alignment
testing/integration/ess/endpoint_security_test.goto match the revised Endpoint prevention strings.Example of the message normalization applied across spec + test: