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.

Provide a command line option to "unfix"

See original GitHub issue

I know this seems a little odd, but if it is not hard to do, it would be really interesting if there was an --force-unfix option that would detect any where a JAR has been mitigated by this utility and roll it back by restoring the backed up file.

The reason for this is so that operations teams can run the scan and fix widely, but if an application is found to be broken after the fact, just roll back everything on the device where the breakage occurred.

There is a lot of hesitation to deploy this utility widely in production in the actual --fix --force-fix mode to mitigate because of “what if it breaks things”. Having an easy undo helps alleviate these concerns.

I wouldn’t consider this a high priority or anything, especially if it would be difficult, but I think it could be a very useful feature.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
xeraphcommented, Dec 19, 2021

As far as I know, spring boot application was the only case. (log4j2-scan < 1.5.0)

1reaction
bor8commented, Jan 6, 2022

--restore is worth its weight in gold. I have had to use it so far with Geonetwork and the GDI-DE Registry.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command line option syntax error. - Microsoft Support
Discusses a "Command line option syntax error" error that occurs in Windows XP ... To have us fix this problem for you, go...
Read more >
How to remove default command line arguments provided by ...
Now I only need to know how to remove the default argument, which is provided to any java application started via Eclipse. Thanks...
Read more >
Understanding Command Line Arguments and How to Use ...
Command line arguments are extra commands you can use when launching a program so that the program's functionality will change.
Read more >
VM Manager Tool command-line options - IBM
The following table provides a list of command-line options that you can use when you run the VM Manager Tool. If you run...
Read more >
Linux Rm Command Help and Examples - Computer Hope
rm removes each file specified on the command line. By default, it does not remove directories. When rm is executed with the -r...
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