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

Restrict synthetics/browser from fleet #25831

Closed
wants to merge 5 commits into from
Closed
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
4 changes: 4 additions & 0 deletions dev-tools/packaging/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ shared:
source: 'elastic-agent.yml'
mode: 0600
config: true
/etc/{{.BeatName}}/capabilities.yml:
Copy link
Contributor

Choose a reason for hiding this comment

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

this needs to be added in multiple places.
try searching for 'elastic-agent.yml' there should be 5 occurences, you have 1 so far.

source: 'capabilities.yml'
mode: 0644
config: true
/etc/{{.BeatName}}/.elastic-agent.active.commit:
content: >
{{ commit }}
Expand Down
1 change: 1 addition & 0 deletions x-pack/elastic-agent/CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,4 @@
- Keep http and logging config during enroll {pull}25132[25132]
- Log output of container to $LOGS_PATH/elastic-agent-start.log when LOGS_PATH set {pull}25150[25150]
- Use `filestream` input for internal log collection. {pull}25660[25660]
- Restrict `synthetics/browser` from fleet. {pull}25831[25831]
4 changes: 4 additions & 0 deletions x-pack/elastic-agent/capabilities.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version: 1.0.0
capabilities:
- rule: deny # This rule will be overriden during the build once a browser compatible docker image is ready
input: synthetics/browser