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

Add optional detail collection in audit #1299

Open
jarretlavallee opened this issue Mar 13, 2025 · 2 comments
Open

Add optional detail collection in audit #1299

jarretlavallee opened this issue Mar 13, 2025 · 2 comments
Assignees
Labels
proposal Enhancement idea or proposal

Comments

@jarretlavallee
Copy link

Proposed change

Add a --details argument to collect detailed information on the server endpoints in audit. This would model the arguments in the current server request commands when the --details --server-endpoints arguments are passed.

  • nats server request connections --subscriptions
  • nats server request gateways --accounts --subscriptions
  • nats server request jetstream-health --details
  • nats server request jetstream --all --config
  • nats server request leafnodes --subscriptions
  • nats server request routes --subscriptions
  • nats server request subscriptions --detail

Use case

This information can often be useful in debugging. Making it opt-in will help reduce the size of the output file and allow the user to opt into sharing that level of data.

Contribution

No response

@jarretlavallee jarretlavallee added the proposal Enhancement idea or proposal label Mar 13, 2025
@ripienaar
Copy link
Collaborator

I wonder if we should just always collect these? If we want to write checks that rely on them then we probably should

@jarretlavallee
Copy link
Author

Always on with an opt-out would be great. The opt-out is mainly when we don't need the data and there could be sensitive strings in the subject or stream/consumer descriptions. That is unlikely, but it is a nice to have option in those cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Enhancement idea or proposal
Projects
None yet
Development

No branches or pull requests

3 participants