Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paretosecurity version should just print the version to stdout #55

Open
wknapik opened this issue Jan 21, 2025 · 0 comments
Open

paretosecurity version should just print the version to stdout #55

wknapik opened this issue Jan 21, 2025 · 0 comments
Assignees
Labels
bug Something isn't working triage

Comments

@wknapik
Copy link

wknapik commented Jan 21, 2025

Describe the bug
paretosecurity version prints to stderr, instead of stdout, and prints too much information

To Reproduce
Steps to reproduce the behavior:

  1. paretosecurity version

Expected behavior
I expected to see the version of the software, not extensive information about the system it's running on, e.g.

0.0.72@914c8e132534b62c1892a5b546f789b302df7e21 2025-01-17T20:10:52Z

Version

Run paretosecurity version and copy report here.

% paretosecurity version
  • 0.0.72@914c8e132534b62c1892a5b546f789b302df7e21 2025-01-17T20:10:52Z
  • Built with go1.23.4
  • Machine UUID: redacted
  • Name: redacted
  • OS Version: redacted
  • Model Name: redacted
  • Model Serial: redacted
  • Host Info: redacted
  "architecture": redacted
  "native_architecture": redacted
  "boot_time": redacted
  "containerized": redacted
  "name": redacted
  "ip": [
    redacted,
    redacted,
    redacted,
    redacted,
    redacted
  ],
  "kernel_version": redacted
  "mac": redacted
    redacted,
    redacted
  ],
  "os": redacted
    "type": redacted
    "family": redacted
    "platform": redacted
    "name": redacted
    "version": redacted
    "major": redacted
    "minor": redacted
    "patch": redacted
    "build": redacted
  },
  "timezone": redacted
  "timezone_offset_sec": redacted
  "id": redacted
}
%

Additional context
A separate command could be used to produce the host information - debug? hostinfo?

@wknapik wknapik added bug Something isn't working triage labels Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants