influxdata / influxdata/kapacitor
Security: Flag -disable-handlers not working [Kapacitor OSS 1.6.3]
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
[Kapacitor OSS 1.6.3]
The flag -disable-handlers does not seem to be working with Kapacitor CLI (using both **kapacitor** and **kapacitord**) as mentioned in the following link, although **kapacitor** one seems to be incorrect usage.
https://docs.influxdata.com/kapacitor/v1.6/administration/security/
It states to use the below command to disable a handler:
**`kapacitor -disable-handlers exec,httppost`**
But executing this command gives an error that the flag is not defined.
**_flag provided but not defined: -disable-handlers_**

Looks like this needs to be done while running the Kapactor with this option.
**`kapacitord run -disable-handlers exec`**

**Is it a typo with the command as shown in the image below:**

Contributor guide
Research direction
Start with the Kapacitor v1.6 security documentation and compare the documented `kapacitor -disable-handlers` command with `kapacitord run -disable-handlers`. Verify both commands using their help output and reproduce the reported error; done means the documentation and command behavior agree on how to disable handlers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, security
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100