Skip to content

Commit

Permalink
feat(plugins/gcpaudit): introduce optional UseAsync field in gcpaudit…
Browse files Browse the repository at this point in the history
… plugin

Signed-off-by: Sanja Kosier <[email protected]>
  • Loading branch information
SKosier authored and poiana committed Jun 17, 2024
1 parent ea17a79 commit 9c1cab5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/gcpaudit/pkg/gcpaudit/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ type PluginConfig struct {
CredentialsFile string `json:"credentials_file" jsonschema:"title=Credentials File,description=If non-empty overrides the default GCP credentials file (e.g. ~/.config/gcloud/application_default_credentials.json) and env variables such as GOOGLE_APPLICATION_CREDENTIALS (Default: empty),default="`
NumGoroutines int `json:"num_goroutines" jsonschema:"title=Num Goroutines,description=The number of goroutines that each datastructure along the Receive path will spawn (Default: 10),default=10"`
MaxOutstandingMessages int `json:"max_outstanding_messages" jsonschema:"title=Max Outstanding Messages,description=The maximum number of unprocessed messages (Default: 1000),default=1000"`
UseAsync bool `json:"useAsync" jsonschema:"title=Use async extraction,description=If true then async extraction optimization is enabled (Default: true),default=true"`
}

// Reset sets the configuration to its default values
Expand Down

0 comments on commit 9c1cab5

Please sign in to comment.