-
Notifications
You must be signed in to change notification settings - Fork 464
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
Hard to understand error message when an agent option is in the wrong place #24038
Comments
@noahtalerman , this is the expected behaviour. the logger_plugin can only be set when starting osquery. |
Noah: I'm confused...in Fleet's agent options docs we link out to osquery docs for all available options. logger_plugin is in the osquery docs. Also the example error message in the Fleet docs is confusing: @lucasmrod I scheduled some time tomorrow for us to chat about the above. |
@lucasmrod and I chatted and we decided to improve the error message. Sending this bug back to the release board. |
Hey team! Please add your planning poker estimate with Zenhub @iansltx @lucasmrod @mostlikelee |
Regarding the third one:
All flags that can be in |
@lucasmrod oh! I misunderstood. Agreed we don't need this error. I removed it from the "To fix" section. |
Fleet version: 4.59.0
💥 Actual behavior
Can't set
logger_plugin
in agent options. Error: "Couldn't update 💻🐣 Workstations (canary) team agent options:unsupported key provided: "logger_plugin"If you're not using the latest osquery, use the fleetctl apply --force command to override validation."
This is a valid flag for osquery. Possibly it's intentionally blocked because typically we want it configured to
tls
? The error message isn't making that clear.🧑💻 Steps to reproduce
logger_plugin: tls
underoptions:
on the agent options page.🕯️ More info (optional)
@noahtalerman: I'm working on improvements to the Agent options reference docs is here:
🛠️ To fix
Update the error message so that it's easy to understand when a configuration option is not supported v. not in the right place (
options
orcommand_line_flags
).command_line_flags
):The text was updated successfully, but these errors were encountered: