vault/sdk/logical
Christopher Swenson 022469da45
events: WebSocket subscriptions support go-bexpr expressions (#22835)
Subscribing to events through a WebSocket now support boolean
expressions to filter only the events wanted based on the fields

* `event_type`
* `operation`
* `source_plugin_mount`
* `data_path`
* `namespace`

Example expressions:

These can be passed to `vault events subscribe`, e.g.,:
* `event_type == abc`
* `source_plugin_mount == secret/`
* `event_type != def and operation != write`

```sh
vault events subscribe -filter='source_plugin_mount == secret/' 'kv*'
```

The docs for the `vault events subscribe` command and API endpoint
will be coming shortly in a different PR, and will include a better
specification for these expressions, similar to (or linking to)
https://developer.hashicorp.com/boundary/docs/concepts/filtering
2023-09-07 20:11:53 +00:00
..
acme_billing.go Start counting ACME certificate issuance as client activity (#20520) 2023-05-17 16:12:04 +00:00
audit.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth.go add ns path to granting_policies (#20522) 2023-05-04 15:08:22 -07:00
connection.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
controlgroup.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
error.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
event.pb.go Bump google.golang.go/protobuf dependency to v1.31.0 (#22176) 2023-08-02 17:19:16 +00:00
event.proto Migrate protobuf generation to Buf (#22099) 2023-07-31 18:44:56 +00:00
events_test.go events: Add full api_path; rename Send (#22487) 2023-08-23 15:11:22 -07:00
events.go events: WebSocket subscriptions support go-bexpr expressions (#22835) 2023-09-07 20:11:53 +00:00
identity.pb.go Bump google.golang.go/protobuf dependency to v1.31.0 (#22176) 2023-08-02 17:19:16 +00:00
identity.proto Migrate protobuf generation to Buf (#22099) 2023-07-31 18:44:56 +00:00
lease_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
lease.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
logical_storage.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
logical.go Simplify tracking of external plugins (#20009) 2023-04-12 18:34:35 +01:00
managed_key.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin.pb.go Bump google.golang.go/protobuf dependency to v1.31.0 (#22176) 2023-08-02 17:19:16 +00:00
plugin.proto Migrate protobuf generation to Buf (#22099) 2023-07-31 18:44:56 +00:00
request.go reduce calls to DetermineRoleFromLoginRequest from 3 to 1 for aws auth method (#22583) 2023-08-28 16:01:07 -05:00
response_util_test.go Add support for HEAD operations (#19520) 2023-03-21 18:37:17 -04:00
response_util.go report intermediate error messages during request forwarding (#20643) 2023-05-18 05:07:54 -07:00
response.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
secret.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage_inmem_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage_inmem.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage_view.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
system_view.go Vault 18005 plugin api lock status (#21925) 2023-07-31 12:58:20 -04:00
testing.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
token_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
token.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
translate_response.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
version_grpc.pb.go Add plugin version to GRPC interface (#17088) 2022-09-15 16:37:59 -07:00
version.pb.go Bump google.golang.go/protobuf dependency to v1.31.0 (#22176) 2023-08-02 17:19:16 +00:00
version.proto Migrate protobuf generation to Buf (#22099) 2023-07-31 18:44:56 +00:00