syntax = "proto3";

package user_data_request;

option go_package = "user_data_request";

import "eventbus/owner.proto";

// UserAccess triggers when a user asks us to access their data.
//
// Get information associated with this user and their associated devices (if any are identified)
message UserDataRequestCreate {
  option (eventbus.owner.ldap_group) = "team-identity";
  // what is the user id for the access request
  string user_id = 1;
  // user login (deprecated: do not use)
  string login = 2 [deprecated = true];
  // device ids (deprecated: do not use)
  repeated string associated_device_ids = 3 [deprecated = true];
  // the request id for this instance of a DSAR request
  string request_id = 4;
}
