|
1065 | 1065 | } |
1066 | 1066 | } |
1067 | 1067 | }, |
1068 | | - "revision": "20220613", |
| 1068 | + "revision": "20220704", |
1069 | 1069 | "rootUrl": "https://androidmanagement.googleapis.com/", |
1070 | 1070 | "schemas": { |
1071 | 1071 | "AdbShellCommandEvent": { |
|
1193 | 1193 | "type": "string" |
1194 | 1194 | }, |
1195 | 1195 | "packageNames": { |
1196 | | - "description": "Package names of all packages that are associated with the particular user id. In most cases, this will be a single package name, the package that has been assigned that user id. If multiple application share a uid then all packages sharing uid will be included.", |
| 1196 | + "description": "Package names of all packages that are associated with the particular user ID. In most cases, this will be a single package name, the package that has been assigned that user ID. If multiple application share a UID then all packages sharing UID will be included.", |
1197 | 1197 | "items": { |
1198 | 1198 | "type": "string" |
1199 | 1199 | }, |
|
1583 | 1583 | "BLOCK_UNINSTALL", |
1584 | 1584 | "PERMISSION_GRANT", |
1585 | 1585 | "PACKAGE_ACCESS", |
1586 | | - "ENABLE_SYSTEM_APP" |
| 1586 | + "ENABLE_SYSTEM_APP", |
| 1587 | + "NETWORK_ACTIVITY_LOGS", |
| 1588 | + "SECURITY_LOGS" |
1587 | 1589 | ], |
1588 | 1590 | "enumDescriptions": [ |
1589 | 1591 | "No delegation scope specified.", |
|
1592 | 1594 | "Grants access to blocking uninstallation.", |
1593 | 1595 | "Grants access to permission policy and permission grant state.", |
1594 | 1596 | "Grants access to package access state.", |
1595 | | - "Grants access for enabling system apps." |
| 1597 | + "Grants access for enabling system apps.", |
| 1598 | + "Grants access to network activity logs. Allows the delegated application to call setNetworkLoggingEnabled (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#setNetworkLoggingEnabled%28android.content.ComponentName,%20boolean%29), isNetworkLoggingEnabled (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#isNetworkLoggingEnabled%28android.content.ComponentName%29) and retrieveNetworkLogs (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#retrieveNetworkLogs%28android.content.ComponentName,%20long%29) methods. This scope can be delegated to at most one application. Supported for fully managed devices on Android 10 and above. Supported for a work profile on Android 12 and above. When delegation is supported and set, NETWORK_ACTIVITY_LOGS is ignored.", |
| 1599 | + "Grants access to security logs. Allows the delegated application to call setSecurityLoggingEnabled (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#setSecurityLoggingEnabled%28android.content.ComponentName,%20boolean%29), isSecurityLoggingEnabled (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#isSecurityLoggingEnabled%28android.content.ComponentName%29), retrieveSecurityLogs (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#retrieveSecurityLogs%28android.content.ComponentName%29) and retrievePreRebootSecurityLogs (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#retrievePreRebootSecurityLogs%28android.content.ComponentName%29) methods. This scope can be delegated to at most one application. Supported for fully managed devices and company-owned devices with a work profile on Android 12 and above. When delegation is supported and set, SECURITY_LOGS is ignored." |
1596 | 1600 | ], |
1597 | 1601 | "type": "string" |
1598 | 1602 | }, |
|
2603 | 2607 | "type": "string" |
2604 | 2608 | }, |
2605 | 2609 | "duration": { |
2606 | | - "description": "The length of time the enrollment token is valid, ranging from 1 minute to 90 days. If not specified, the default duration is 1 hour.", |
| 2610 | + "description": "The length of time the enrollment token is valid, ranging from 1 minute to Durations.MAX_VALUE (https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/util/Durations.html#MAX_VALUE), approximately 10,000 years. If not specified, the default duration is 1 hour. Please note that if requested duration causes the resulting expiration_timestamp to exceed Timestamps.MAX_VALUE (https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/util/Timestamps.html#MAX_VALUE), then expiration_timestamp is coerced to Timestamps.MAX_VALUE.", |
2607 | 2611 | "format": "google-duration", |
2608 | 2612 | "type": "string" |
2609 | 2613 | }, |
|
5158 | 5162 | ], |
5159 | 5163 | "enumDescriptions": [ |
5160 | 5164 | "This value is not used.", |
5161 | | - "Enable logging of on-device security events, like when the device password is incorrectly entered or removable storage is mounted. See UsageLogEvent for a complete description of the logged security events. Supported for fully managed devices on Android 7 and above. Supported for company-owned devices with a work profile on Android 12 and above, on which only security events from the work profile are logged.", |
5162 | | - "Enable logging of on-device network events, like DNS lookups and TCP connections. See UsageLogEvent for a complete description of the logged network events. Supported for fully managed devices on Android 8 and above. Supported for company-owned devices with a work profile on Android 12 and above, on which only network events from the work profile are logged." |
| 5165 | + "Enable logging of on-device security events, like when the device password is incorrectly entered or removable storage is mounted. See UsageLogEvent for a complete description of the logged security events. Supported for fully managed devices on Android 7 and above. Supported for company-owned devices with a work profile on Android 12 and above, on which only security events from the work profile are logged. Can be overridden by the application delegated scope SECURITY_LOGS", |
| 5166 | + "Enable logging of on-device network events, like DNS lookups and TCP connections. See UsageLogEvent for a complete description of the logged network events. Supported for fully managed devices on Android 8 and above. Supported for company-owned devices with a work profile on Android 12 and above, on which only network events from the work profile are logged. Can be overridden by the application delegated scope NETWORK_ACTIVITY_LOGS" |
5163 | 5167 | ], |
5164 | 5168 | "type": "string" |
5165 | 5169 | }, |
|
5175 | 5179 | ], |
5176 | 5180 | "enumDescriptions": [ |
5177 | 5181 | "This value is not used.", |
5178 | | - "Enable logging of on-device security events, like when the device password is incorrectly entered or removable storage is mounted. See UsageLogEvent for a complete description of the logged security events. Supported for fully managed devices on Android 7 and above. Supported for company-owned devices with a work profile on Android 12 and above, on which only security events from the work profile are logged.", |
5179 | | - "Enable logging of on-device network events, like DNS lookups and TCP connections. See UsageLogEvent for a complete description of the logged network events. Supported for fully managed devices on Android 8 and above. Supported for company-owned devices with a work profile on Android 12 and above, on which only network events from the work profile are logged." |
| 5182 | + "Enable logging of on-device security events, like when the device password is incorrectly entered or removable storage is mounted. See UsageLogEvent for a complete description of the logged security events. Supported for fully managed devices on Android 7 and above. Supported for company-owned devices with a work profile on Android 12 and above, on which only security events from the work profile are logged. Can be overridden by the application delegated scope SECURITY_LOGS", |
| 5183 | + "Enable logging of on-device network events, like DNS lookups and TCP connections. See UsageLogEvent for a complete description of the logged network events. Supported for fully managed devices on Android 8 and above. Supported for company-owned devices with a work profile on Android 12 and above, on which only network events from the work profile are logged. Can be overridden by the application delegated scope NETWORK_ACTIVITY_LOGS" |
5180 | 5184 | ], |
5181 | 5185 | "type": "string" |
5182 | 5186 | }, |
|
5215 | 5219 | }, |
5216 | 5220 | "connectEvent": { |
5217 | 5221 | "$ref": "ConnectEvent", |
5218 | | - "description": "A TCP connect event was initiated through the standard network stack. Part of NETWORK_LOGS." |
| 5222 | + "description": "A TCP connect event was initiated through the standard network stack. Part of NETWORK_ACTIVITY_LOGS." |
5219 | 5223 | }, |
5220 | 5224 | "cryptoSelfTestCompletedEvent": { |
5221 | 5225 | "$ref": "CryptoSelfTestCompletedEvent", |
5222 | 5226 | "description": "Validates whether Android’s built-in cryptographic library (BoringSSL) is valid. Should always succeed on device boot, if it fails, the device should be considered untrusted. Part of SECURITY_LOGS." |
5223 | 5227 | }, |
5224 | 5228 | "dnsEvent": { |
5225 | 5229 | "$ref": "DnsEvent", |
5226 | | - "description": "A DNS lookup event was initiated through the standard network stack. Part of NETWORK_LOGS." |
| 5230 | + "description": "A DNS lookup event was initiated through the standard network stack. Part of NETWORK_ACTIVITY_LOGS." |
5227 | 5231 | }, |
5228 | 5232 | "eventId": { |
5229 | 5233 | "description": "Unique id of the event.", |
|
5369 | 5373 | }, |
5370 | 5374 | "wipeFailureEvent": { |
5371 | 5375 | "$ref": "WipeFailureEvent", |
5372 | | - "description": "The work profile or company-owned device failed to wipe when when requested. This could be user initiated or admin initiated e.g. delete was received. Part of SECURITY_LOGS." |
| 5376 | + "description": "The work profile or company-owned device failed to wipe when requested. This could be user initiated or admin initiated e.g. delete was received. Part of SECURITY_LOGS." |
5373 | 5377 | } |
5374 | 5378 | }, |
5375 | 5379 | "type": "object" |
|
5537 | 5541 | "type": "object" |
5538 | 5542 | }, |
5539 | 5543 | "WipeFailureEvent": { |
5540 | | - "description": "The work profile or company-owned device failed to wipe when when requested. This could be user initiated or admin initiated e.g. delete was received. Intentionally empty.", |
| 5544 | + "description": "The work profile or company-owned device failed to wipe when requested. This could be user initiated or admin initiated e.g. delete was received. Intentionally empty.", |
5541 | 5545 | "id": "WipeFailureEvent", |
5542 | 5546 | "properties": {}, |
5543 | 5547 | "type": "object" |
|
0 commit comments