Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop types.PluginsV1 from audit log payload #46830

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions api/proto/teleport/legacy/types/events/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4400,18 +4400,23 @@ message PluginDelete {

// PluginMetadata contains information about plugin resources.
message PluginMetadata {
reserved 2;
reserved "plugin";
// plugin_type is the plugin type of the plugin resource.
// The value matches the types.PluginV1.Spec.Type field.
string plugin_type = 1 [(gogoproto.jsontag) = "plugin_type"];

// plugin is the resource without secrets.
types.PluginV1 plugin = 2 [(gogoproto.jsontag) = "plugin,omitempty"];

// has_credentials indicates whether the plugin has credentials.
bool has_credentials = 3 [(gogoproto.jsontag) = "has_credentials"];

// reuses_credentials indicates whether the plugin reuses credentials.
bool reuses_credentials = 4 [(gogoproto.jsontag) = "reuses_credentials"];

// plugin_data is the plugin data of the plugin resource.
google.protobuf.Struct plugin_data = 5 [
(gogoproto.jsontag) = "plugin_data,omitempty",
(gogoproto.casttype) = "Struct"
];
}

// OneOf is a union of one of audit events submitted to the auth service
Expand Down
Loading
Loading