Skip to content

Commit f3f5732

Browse files
authored
Merge pull request #1301 from ploubser/issue_1299
(#1299) Add --no-details flag to capture command
2 parents b51c253 + 6518fe1 commit f3f5732

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

cli/audit_gather_command.go

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ func configureAuditGatherCommand(app *fisk.CmdClause) {
3838
gather.Flag("account-endpoints", "Capture monitoring endpoints for each account").Default("true").BoolVar(&c.config.Include.AccountEndpoints)
3939
gather.Flag("streams", "Capture state of each stream").Default("true").BoolVar(&c.config.Include.Streams)
4040
gather.Flag("consumers", "Capture state of each stream consumers").Default("true").BoolVar(&c.config.Include.Consumers)
41+
gather.Flag("details", "Capture detailed server information from the audit").Default("true").BoolVar(&c.config.Detailed)
4142
}
4243

4344
func (c *auditGatherCmd) gather(_ *fisk.ParseContext) error {

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require (
1818
github.com/jedib0t/go-pretty/v6 v6.6.7
1919
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
2020
github.com/klauspost/compress v1.18.0
21-
github.com/nats-io/jsm.go v0.1.1-0.20250312171239-80f5a9291c7a
21+
github.com/nats-io/jsm.go v0.1.1-0.20250317123314-33847c1ba23d
2222
github.com/nats-io/jwt/v2 v2.7.3
2323
github.com/nats-io/nats-server/v2 v2.11.0-dev.0.20250311175153-3750f9ccfbae
2424
github.com/nats-io/nats.go v1.39.1

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zx
105105
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
106106
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
107107
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
108-
github.com/nats-io/jsm.go v0.1.1-0.20250312171239-80f5a9291c7a h1:oUC3GVfjG6LSZ+m4TVzgBG7BdPEHy6mQgsPXyEjwiKE=
109-
github.com/nats-io/jsm.go v0.1.1-0.20250312171239-80f5a9291c7a/go.mod h1:mTNqjG+sD0xON3vEzK2KY/YQ3y3jTWVvqgC6Ess9NEk=
108+
github.com/nats-io/jsm.go v0.1.1-0.20250317123314-33847c1ba23d h1:k/sxeZ2iZz/CqbtWEV96z7Htw1E9mZsw3nt3iRHq118=
109+
github.com/nats-io/jsm.go v0.1.1-0.20250317123314-33847c1ba23d/go.mod h1:mTNqjG+sD0xON3vEzK2KY/YQ3y3jTWVvqgC6Ess9NEk=
110110
github.com/nats-io/jwt/v2 v2.7.3 h1:6bNPK+FXgBeAqdj4cYQ0F8ViHRbi7woQLq4W29nUAzE=
111111
github.com/nats-io/jwt/v2 v2.7.3/go.mod h1:GvkcbHhKquj3pkioy5put1wvPxs78UlZ7D/pY+BgZk4=
112112
github.com/nats-io/nats-server/v2 v2.11.0-dev.0.20250311175153-3750f9ccfbae h1:cBybnu7m0gkoSobIcNCHos7ESsVdI9dp5VzPHZ17g7U=

0 commit comments

Comments
 (0)