Page MenuHomeVyOS Platform

Enhance strip-private to output more readable config
Open, LowPublicFEATURE REQUEST

Description

To be able to publish configs online in public there is the "strip-private" function in VyoS to be used as:

show config commands | strip-private

A drawback with strip-private is that it replaces anything potentially sensitive with "X" which can make it somewhat troublesome for others to help with the troubleshooting. Today the workaround for this is to manually replace certain portions which is time consuming.

It would be helpful if strip-private could be enhanced to keep track of what it replaces and replace the items with "TEST-NET-1", "TEST-NET-2" and so on along with "TEST-IP-1", "TEST-IP-2" etc.

There might be other fields (other than just IP-ranges and IP-addresses) that can be helped of a more "unique" replacement rather than "X" for everything.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Event Timeline

Instead of "TEST-NET-X" and "TEST-IP-X" it could use "REPLACED-NET-X" and "REPLACED-IP-X" or such (where X defines the unique item thats being replaced).

This comment was removed by c-po.