metrics.yaml (3243B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 5 # Adding a new metric? We have docs for that! 6 # https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html 7 8 --- 9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0 10 $tags: 11 - 'Core :: Security: Process Sandboxing' 12 13 sandbox: 14 rejected_syscalls: 15 type: labeled_counter 16 description: > 17 System calls blocked by a seccomp-bpf sandbox policy; limited to syscalls 18 where we would crash on Nightly. The key is generally the architecture 19 and syscall ID but in some cases we include non-personally-identifying 20 information from the syscall arguments; see the function SubmitToTelemetry 21 in security/sandbox/linux/reporter/SandboxReporter.cpp for details. 22 23 This metric was generated to correspond to the Legacy Telemetry count 24 histogram SANDBOX_REJECTED_SYSCALLS. 25 bugs: 26 - https://bugzilla.mozilla.org/show_bug.cgi?id=1286865 27 data_reviews: 28 - https://bugzilla.mozilla.org/show_bug.cgi?id=1286865 29 notification_emails: 30 - jld@mozilla.com 31 - gcp@mozilla.com 32 expires: never 33 telemetry_mirror: h#SANDBOX_REJECTED_SYSCALLS 34 35 failed_launch_keyed: 36 type: labeled_custom_distribution 37 description: | 38 Error code when a Windows sandboxed process fails to launch, keyed by process type and Windows error code. See https://searchfox.org/mozilla-central/search?q=ResultCode++path%3Asandbox_types.h&redirect=true for definitions of the error codes. 39 This metric was generated to correspond to the Legacy Telemetry enumerated histogram SANDBOX_FAILED_LAUNCH_KEYED. 40 range_min: 0 41 range_max: 50 42 bucket_count: 51 43 histogram_type: linear 44 bugs: 45 - https://bugzilla.mozilla.org/show_bug.cgi?id=1368600 46 data_reviews: 47 - https://bugzilla.mozilla.org/show_bug.cgi?id=1368600 48 notification_emails: 49 - bowen@mozilla.com 50 expires: never 51 telemetry_mirror: SANDBOX_FAILED_LAUNCH_KEYED 52 53 effective_content_process_level: 54 type: quantity 55 unit: level 56 lifetime: application 57 description: | 58 The current sandbox level. 59 The "security.sandbox.content.level" preference rounded up to the current minimum allowed level. 60 0 if `MOZ_DISABLE_CONTENT_SANDBOX` is set. 61 bugs: 62 - https://bugzilla.mozilla.org/show_bug.cgi?id=1950398 63 data_reviews: 64 - https://bugzilla.mozilla.org/show_bug.cgi?id=1950398 65 data_sensitivity: 66 - technical 67 notification_emails: 68 - bowen@mozilla.com 69 expires: never 70 71 content_win32k_lockdown_state: 72 type: quantity 73 unit: lockdown state 74 lifetime: application 75 description: | 76 The current win32k.sys lockdown state. 77 Possible values are defined in the ContentWin32kLockdownState enum. 78 Reported even on non-Windows machines. 79 bugs: 80 - https://bugzilla.mozilla.org/show_bug.cgi?id=1950398 81 data_reviews: 82 - https://bugzilla.mozilla.org/show_bug.cgi?id=1950398 83 data_sensitivity: 84 - technical 85 notification_emails: 86 - bowen@mozilla.com 87 expires: never