Skip to content

Commit

Permalink
backport of commit 34b3d04 (#19136)
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
  • Loading branch information
hc-github-team-secure-vault-core and tomhjp committed Feb 10, 2023
1 parent d9c8a8f commit af66575
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 53 deletions.
110 changes: 58 additions & 52 deletions sdk/logical/event.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion sdk/logical/event.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ option go_package = "github.com/hashicorp/vault/sdk/logical";

package logical;

import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";

// EventPluginInfo contains data related to the plugin that generated an event.
Expand Down Expand Up @@ -33,7 +34,7 @@ message EventData {
// as a hash of other fields with sufficient uniqueness.
string id = 1;
// Arbitrary non-secret data. Optional.
bytes metadata = 2;
google.protobuf.Struct metadata = 2;
// Any IDs that the event relates to, i.e., UUIDs, paths.
repeated string entity_ids = 3;
// Human-readable note.
Expand Down

0 comments on commit af66575

Please sign in to comment.