[improvement] Add ability to over-write existing outputs
See original GitHub issueBackground
Mentioned on Slack: https://streamalert.slack.com/archives/C3BHE2Z0S/p1558386389107200 Are you on the latest version of StreamAlert? Yes
Description
If you configure a Slack webhook, and want to change it, then trying to rerun ./manage.py output slack
with the same name will result in an error. Currently, you have to manually edit conf/outputs.json
to remove the output and then retry that command. It would be nice to have a way to over-write or delete the existing output.
Steps to Reproduce
Run ./manage.py output slack
and configure an output.
Rerun the same command with the same output name and a new webhook URL and you’ll get an error.
Desired Change
Provide a --override
to delete the current output and add the new one.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Solved: Different Output Options - Designer - Alteryx Community
I am wondering if someone can describe the functions of the four different output options. Append to Existing Sheet. Overwrite Sheet (Drop).
Read more >Java overwriting an existing output file - Stack Overflow
I would like to overwrite the file if I run the program again. Pass false as 2nd argument, to set append to false:...
Read more >arcpy - Output not overwritten despite "overwriteOutput = True"
I've been able to run it successfully after closing out the MXD, and the overwrite does occur. So overwrite will only occur if...
Read more >Why 'cannot overwrite existing file'? - linux - Super User
It is possible that the file was set as immutable with chattr . It's rarely used, but it's a realistic possibility. In that...
Read more >OUTPUT TO existing file appends data instead of overwriting ...
OUTPUT TO existing file appends data instead of overwriting when using Citrix XenApp 6.5, if the data written is smaller than the existing...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @jack1902 !
@jack1902 I’m not sure if you meant to say that you will be adding this feature, but just to clarify, I unfortunately do not have the time to add it.