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

[UII] Restrict input types allowed for agentless integrations #202091

Open
5 tasks
jen-huang opened this issue Nov 28, 2024 · 1 comment
Open
5 tasks

[UII] Restrict input types allowed for agentless integrations #202091

jen-huang opened this issue Nov 28, 2024 · 1 comment
Labels
Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@jen-huang
Copy link
Contributor

When integrations are hosted and managed using the agentless deployment_mode (supports_agentless: false on the integration policy object), some special security handling is invoked. From a security perspective, we treat the deployment as if it could run arbitrary malicious code and be controlled by the user. Its network is isolated, ingress is disallowed and only specific egress is allowed.

This means that many inputs won't be user-useable. These inputs include tcp, udp, winlog, http endpoint, and filestream. We need to disable and hide these inputs from being configured in agentless mode.

  • Create a blocklist constant for disallowed agentless input types: tcp, udp, winlog, http_endpoint, filestream
  • In the policy editor, when Setup technology is set to Agentless:
    • Hide the rendering of configuration for inputs that have type matching the blocklist
    • Ensure that these inputs are set to enabled: false
  • At the API level, throw an error if attempting to enable a disallowed input type
@jen-huang jen-huang added the Team:Fleet Team label for Observability Data Collection Fleet team label Nov 28, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

2 participants