Skip to content

Regex to obfuscate certain outputs in recording #59

@ArcAster

Description

@ArcAster

For instance, if I want to share a workflow using nmap or some other tool that may expose sensitive details or credentials in the recorded terminal output, it would be incredibly convenient to be able to apply a regex match and substitute the match with null or pre-defined characters.

An example I've run into is wanting to match all ip addresses and replace them with 000.000.0.0 or regex match a user or log id.

The inability to sanitize asciinema output has been a reason we haven't been using asciinema to create guides / tutorials at work since we have to have at least basic guarantees that credentials or sensitive info isn't ending up in the recordings. (I'm aware that it is potentially possible to host your own asciinema recordings?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions