Extension API Modification: enterprise.deviceAttributes |
||||||||||
Issue descriptionExtension API Modification Proposal API Namespace: enterprise.deviceAttributes API Owners: [Team Members, Team Aliases] The following documents may not be necessary depending on the scope of your proposal: API Overview Doc: https://docs.google.com/document/d/1NDt1enxSbKrbwo-BH4qgCbg2M5EWB6igkpe1le0Egk0/edit#heading=h.w8inspeo32bj Design Doc: N/A Supplementary Resources: N/A (no UI changes) Short description: [ChromeOS-only] Extend the enterprise.deviceAttributes API to provide the device serial number, the administrator-annotated Asset ID and the administrator-set annotated location. Only allowed for force-installed extensions running in an affiliated user profile. Notes: This API change was discussed on an e-mail thread, on the doc, and on the CL https://chromium-review.googlesource.com/c/chromium/src/+/876365, but I forgot to file this bug before. Actual implementation bug is bug 803974 .
,
Feb 19 2018
+mnissler FYI
,
Feb 20 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/platform2/+/2e197f8b0ae78cc716c1a121100f6a1c2cefaf48 commit 2e197f8b0ae78cc716c1a121100f6a1c2cefaf48 Author: Pavol Marko <pmarko@chromium.org> Date: Tue Feb 20 09:52:13 2018 login: Pass site isolation startup flags according to device policy Pass site isolation start-up flags to chrome based on the DeviceLoginScreenSitePerProcess and DeviceLoginScreenIsolateOrigins device policies. Note: If the device policy values don't match the respective user policy values (or if the user is unmanaged), chrome will request to restart. See CL:924147 on the chrome side. BUG= chromium:813015 TEST=cros_run_unit_tests --board=${BOARD} --packages \ chromeos-base/chromeos-login Change-Id: Ie86563f9917d49e48648c262bfe6e2bb2ebfeb0a Reviewed-on: https://chromium-review.googlesource.com/924421 Commit-Ready: Pavol Marko <pmarko@chromium.org> Tested-by: Pavol Marko <pmarko@chromium.org> Reviewed-by: Mattias Nissler <mnissler@chromium.org> [modify] https://crrev.com/2e197f8b0ae78cc716c1a121100f6a1c2cefaf48/login_manager/device_policy_service.cc [modify] https://crrev.com/2e197f8b0ae78cc716c1a121100f6a1c2cefaf48/login_manager/device_policy_service_unittest.cc
,
Feb 20 2018
Quoting [1]: "For public APIs, please email the proposal to extension-api-reviews@chromium.org for any additional feedback." [1] https://chromium.googlesource.com/chromium/src/+/master/extensions/docs/new_api_proposal.md
,
Feb 20 2018
Could you please cc me to that thread?
,
Feb 20 2018
The CL in Comment #3 has nothing to do with this bug. I accidentally used the wrong bug on the CL. It is supposed to be mapped to bug 800117.
,
Feb 20 2018
Re Comment #4: Done. This must have changed very recently, because the same document was talking about security-enamel@chromium.org (where I've sent it to), but it doesn't mention that anymore.
,
Feb 20 2018
Thanks Pavol! A stable device id is already available [1] today via chrome.enterprise.deviceAttributes.getDirectoryDeviceId(). The main difference is that the directory id gets reset upon re-enrollment whereas the serial number stays constant. From a privacy perspective this seems reasonable as we recognize admins' interest of including the serial number into a CSR so that for example certificates of stolen devices may be revoked. Admin-annotated asset id and device location are fine to share because they have been defined by the admin and are not permanent (reset upon powerwash). [1] https://developer.chrome.com/extensions/enterprise_deviceAttributes
,
Feb 20 2018
Thank you Thiemo!
,
Feb 20 2018
Setting Launch-Security: Started to reflect the fact that this has been in review on the e-mail thread.
,
Feb 20 2018
Flipping security bit based on the discussion at https://groups.google.com/a/chromium.org/forum/#!topic/apps-dev/G3TkGKtmbgY Thanks!
,
Mar 13 2018
As discussed on the thread, I have no objections, assuming this is an enterprise-only API. Since this is CrOS-specific, +benwells@ FYI.
,
Apr 25 2018
Given that M-66 will go to stable very soon, can someone please update this feature with a new target milestone, or close this bug if work has completed?
,
May 8 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/platform/vpd/+/17fd16b23e36148d437014463c08d4356f81d55d commit 17fd16b23e36148d437014463c08d4356f81d55d Author: Thiemo Nagel <tnagel@chromium.org> Date: Tue May 08 11:58:01 2018 dump_vpd_log: Add to filter whitelist Include more VPD keys in the filtered file to support crbug.com/813015 and crbug.com/820800 launches: Product_S/N serial_number should_send_rlz_ping rlz_embargo_end_date BRANCH=none BUG= chromium:823724 , chromium:813015 , chromium:839910 TEST=none Change-Id: Iccbcfaf971aa5b77b71d19c30fcd29fa2b4dd0be Reviewed-on: https://chromium-review.googlesource.com/1041965 Commit-Ready: Thiemo Nagel <tnagel@chromium.org> Tested-by: Thiemo Nagel <tnagel@chromium.org> Reviewed-by: Thiemo Nagel <tnagel@chromium.org> Reviewed-by: Pavol Marko <pmarko@chromium.org> [modify] https://crrev.com/17fd16b23e36148d437014463c08d4356f81d55d/util/dump_vpd_log
,
May 9 2018
,
May 10 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/platform/vpd/+/7981ec789af5714b9bed80773f68d7879ba44ee8 commit 7981ec789af5714b9bed80773f68d7879ba44ee8 Author: Thiemo Nagel <tnagel@chromium.org> Date: Thu May 10 20:58:02 2018 dump_vpd_log: Add to filter whitelist Include more VPD keys in the filtered file to support crbug.com/813015 and crbug.com/820800 launches: Product_S/N serial_number should_send_rlz_ping rlz_embargo_end_date BRANCH=none BUG= chromium:823724 , chromium:813015 , chromium:839910 TEST=none Change-Id: Iccbcfaf971aa5b77b71d19c30fcd29fa2b4dd0be Reviewed-on: https://chromium-review.googlesource.com/1041965 Commit-Ready: Thiemo Nagel <tnagel@chromium.org> Tested-by: Thiemo Nagel <tnagel@chromium.org> Reviewed-by: Thiemo Nagel <tnagel@chromium.org> Reviewed-by: Pavol Marko <pmarko@chromium.org> (cherry picked from commit 17fd16b23e36148d437014463c08d4356f81d55d) Reviewed-on: https://chromium-review.googlesource.com/1054228 Commit-Queue: Thiemo Nagel <tnagel@chromium.org> [modify] https://crrev.com/7981ec789af5714b9bed80773f68d7879ba44ee8/util/dump_vpd_log
,
May 10 2018
Verified using M68 |
||||||||||
►
Sign in to add a comment |
||||||||||
Comment 1 by pmarko@chromium.org
, Feb 16 2018