func TestBuilder_BuildBootstrapAdmin(t *testing.T) {
	b := New("local-grpc", "local-http", filemgr.NewManager(), nil)
	t.Run("valid", func(t *testing.T) {
		adminCfg, err := b.BuildBootstrapAdmin(&config.Config{
			Options: &config.Options{
				EnvoyAdminAddress: "localhost:9901",
			},
		})
		assert.NoError(t, err)
		testutil.AssertProtoJSONEqual(t, `
			{
				"address": {
					"socketAddress": {
						"address": "127.0.0.1",
						"portValue": 9901
					}
				}
			}
		`, adminCfg)
	})
	t.Run("bad address", func(t *testing.T) {
		_, err := b.BuildBootstrapAdmin(&config.Config{
			Options: &config.Options{
				EnvoyAdminAddress: "xyz1234:zyx4321",
			},
		})
		assert.Error(t, err)
	})
}
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.