1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
|
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
syntax = "proto3";
package enterprise_reporting;
// Used for annotating sensitive fields in google3.
// ${COPYBARA_DATAPOL_IMPORT}
option optimize_for = LITE_RUNTIME;
// LegacyTechEvent is sent whenever a chrome deprecated feature is encountered
// on the client side chrome browser.
//
// Next ID: 10.
message LegacyTechEvent {
// ID of the deprecated feature.
string feature_id = 1;
// The event upload time, in milliseconds since Epoch in UTC timezone (Java
// time).
int64 event_timestamp_millis = 2;
// This includes url + path but not the params. The params are cut out on the
// client side.
string url = 3;
// The entity from the allowlist policy that has matched the url on the client
// side.
string allowlisted_url_match = 4;
// The js filename where the deprecated feature was encountered.
string filename = 5;
// The column where the legacy tech was encountered.
uint64 column = 6;
// The line where the legacy tech was encountered.
uint64 line = 7;
// Details of a Cookie Issue.
CookieIssueDetails cookie_issue_details = 8;
// The URL of the frame that raised the event.
string frame_url = 9;
}
// Operation of the cookie access.
// Next ID: 3
enum CookieAccessOperation {
// Unspecified operation.
COOKIE_ACCESS_OPERATION_UNSPECIFIED = 0;
// The cookie was read.
COOKIE_ACCESS_OPERATION_READ = 1;
// The cookie was written.
COOKIE_ACCESS_OPERATION_WRITE = 2;
}
// Details of the Cookie Issue of an event.
// Next ID: 6
message CookieIssueDetails {
// If the cookie is accessed by a network transfer, this is the URL being
// loaded; if it is read by a script, it's the URL of the window or service
// worker script looking them up.
string transfer_or_script_url = 1
// copybara:datapol_begin
// [(datapol.semantic_type) = ST_NETWORK_ENDPOINT]
// copybara:datapol_end
;
// Name of the cookie.
string name = 2
// copybara:datapol_begin
// [(datapol.semantic_type) = ST_NOT_REQUIRED]
// copybara:datapol_end
;
// Domain of the cookie.
string domain = 3
// copybara:datapol_begin
// [(datapol.semantic_type) = ST_NETWORK_ENDPOINT]
// copybara:datapol_end
;
// Path of the cookie.
string path = 4
// copybara:datapol_begin
// [(datapol.semantic_type) = ST_NOT_REQUIRED]
// copybara:datapol_end
;
// The operation performed on the cookie.
CookieAccessOperation access_operation = 5;
}
|