hey folks, looks like scripts are enabled by defau...
# fleet
s
hey folks, looks like scripts are enabled by default, is there a way to disable scripts using agent config? thanks
👀 1
m
Hello @Sean! Great question. Not updating agent config but there are some server-side options for disabling scripts. https://fleetdm.com/docs/configuration/yaml-files#server-settings
🙌 1
s
thank you! i'll give it a try
I am using fleet-terrafom to deploy the server, would setting
Copy code
FLEET_SCRIPTS_DISABLED = 1
in the fleetn env variables be a better option to disabling, to prevent this from being re-enabled via UI?
hey @Matt Rebelo, curious about your take on the above approach? thanks!
m
Sorry for the delay @Sean! For us the recommended way to prevent things from being re-enabled (at least from the GUI) is to enable git ops mode. https://github.com/fleetdm/fleet-gitops/?tab=readme-ov-file#fleet-ui
🙌 1
s
I already manage it all via git, but i don't think i explicitly enabled gitops, is this available with community edition as well?