Skip to content

Analyze history dump from command line #51

@buddly27

Description

@buddly27

History dump is mainly useful for analyze with the web application "wiz explorer" which is not public yet. It would be nice to be able to analyze it also from the command line tool. A neat feature would be to re-create registries and definitions.

Scenario would be:

User A:

>>> wiz --record /tmp use foo bar
...
History recorded and exported in /tmp/wiz.dump

User B:

# Check overview of history dump
>>> wiz history view /tmp/wiz.dump
command: wiz --record /tmp use foo bar
wiz version: 3.2.3
user: jeremyr
hostname: ws42
time: Friday, September 11, 2020 - 12:46 (UTC -07:00) (PDT)
platform: linux
os: centos 7.7
architecture:  x86_64

# Recreate registries with all definitions used.
>>> wiz history extract -o /tmp/test /tmp/wiz.dump

# Run command in same condition
>>> wiz --platform linux --os-name centos --os-version 7.7 --architecture x86_64 --r /tmp/test/registry1 use foo bar

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions