vault/sdk/framework
Christopher Swenson 925702de10
events: Add full api_path; rename Send (#22487)
Biggest change: we rename `Send` to `SendEvent` in `logical.EventSender`..
Initially we picked `Send` to match the underlying go-eventlogger
broker's `Send` method, and to avoid the stuttering of `events.SendEvent`.

However, I think it is more useful for the `logical.EventSender`
interface to use the method `SendEvent` so that, for example,
`framework.Backend` can implement it.

This is a relatively change now that should not affect anything
except the KV plugin, which is being fixed in another PR.

Another change: if the `secret_path` metadata is present, then
the plugin-aware `EventBus` will prepend it with the plugin mount.
This allows the `secret_path` to be the full path to any referenced
secret.

This change is also backwards compatible, since this field was not
present in the KV plugin. (It did use the slightly different `path`
field, which we can keep for now.)
2023-08-23 15:11:22 -07:00
..
testdata OpenAPI: Separate ListOperation from ReadOperation (#21723) 2023-07-13 13:36:52 -04:00
backend_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
backend.go events: Add full api_path; rename Send (#22487) 2023-08-23 15:11:22 -07:00
field_data_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
field_data.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
field_type.go Fix RFC3339 comment typo (#20100) 2023-04-11 20:11:05 +00:00
filter.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
identity_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
identity.go adding copyright header (#19555) 2023-03-15 09:00:52 -07: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
openapi_test.go OpenAPI: Fix generation of correct fields (#21942) 2023-07-24 23:10:33 -04:00
openapi.go OpenAPI: Sort parameters for stable output (#22043) 2023-07-25 11:27:50 -04:00
path_map_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_map.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_struct_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_struct.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path.go Fix vault path-help for selected paths with bad regexps (#18571) 2023-06-30 08:42:30 -07:00
policy_map_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policy_map.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
secret_test.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
template.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
testing.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
wal_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
wal.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00