github.com/google/fleetspeak@v0.1.15-0.20240426164851-4f31f62c1aea/fleetspeak/src/client/generic/proto/fleetspeak_client_generic/config.proto (about)

     1  syntax = "proto3";
     2  
     3  package fleetspeak.client.generic;
     4  
     5  option go_package = "github.com/google/fleetspeak/fleetspeak/src/client/generic/proto/fleetspeak_client_generic";
     6  
     7  message Config {
     8    // One or more PEM encoded certificates that the client should trust,
     9    // typically a CA certificate specific to the installation.
    10    string trusted_certs = 1;
    11  
    12    // The servers that the client should attempt to connect to in <host>:<port>
    13    // format. E.g. "lazy.com:443", "10.0.0.5:1234"
    14    repeated string server = 2;
    15  
    16    // The client labels that this client should present to the server. Labels
    17    // indicating the client architecture and OS are automatically included.
    18    repeated string client_label = 3;
    19  
    20    oneof persistence_handler {
    21      FilesystemHandler filesystem_handler = 4;
    22      RegistryHandler registry_handler = 5;
    23    }
    24  
    25    // If set, the client will use long running persistent connections, otherwise
    26    // it will make regular short lived polls to the server. Recommended.
    27    bool streaming = 6;
    28  
    29    // If provided, proxy used for connecting to the server.
    30    // The format is a URL.
    31    // See https://golang.org/pkg/net/http/#Transport.Proxy for details.
    32    string proxy = 7;
    33  
    34    // The name of the HTTP header that the client uses to pass its certificate to
    35    // the server frontend for identification. Required only if the server
    36    // frontend is configured to use https_header_checksum_config.
    37    string client_certificate_header = 8;
    38  
    39    // If set, used for SNI and certificate validation.
    40    string server_name = 9;
    41  }
    42  
    43  message FilesystemHandler {
    44    // Where to persist client state, see NewFilesystemPersistenceHandler for
    45    // details:
    46    //
    47    // https://godoc.org/github.com/google/fleetspeak/fleetspeak/src/client/config#FilesystemPersistenceHandler
    48    string configuration_directory = 1;
    49    string state_file = 2;
    50  }
    51  
    52  message RegistryHandler {
    53    // Where to persist client state, see NewWindowsRegistryPersistenceHandler
    54    // for details:
    55    //
    56    // https://github.com/google/fleetspeak/blob/master/fleetspeak/src/client/config/windows_registry_persistence_handler.go
    57    string configuration_key = 1;
    58  }