question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[improvement] Add ability to over-write existing outputs

See original GitHub issue

Background

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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
0xdabbad00commented, Feb 24, 2020

Thanks @jack1902 !

1reaction
0xdabbad00commented, Feb 10, 2020

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found