Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

UsageLogEvent

import type { UsageLogEvent } from "https://googleapis.deno.dev/v1/androidmanagement:v1.ts";

An event logged on the device.

interface UsageLogEvent {
adbShellCommandEvent?: AdbShellCommandEvent;
adbShellInteractiveEvent?: AdbShellInteractiveEvent;
appProcessStartEvent?: AppProcessStartEvent;
certAuthorityInstalledEvent?: CertAuthorityInstalledEvent;
certAuthorityRemovedEvent?: CertAuthorityRemovedEvent;
certValidationFailureEvent?: CertValidationFailureEvent;
connectEvent?: ConnectEvent;
cryptoSelfTestCompletedEvent?: CryptoSelfTestCompletedEvent;
dnsEvent?: DnsEvent;
enrollmentCompleteEvent?: EnrollmentCompleteEvent;
eventId?: bigint;
eventTime?: Date;
eventType?:
| "EVENT_TYPE_UNSPECIFIED"
| "ADB_SHELL_COMMAND"
| "ADB_SHELL_INTERACTIVE"
| "APP_PROCESS_START"
| "KEYGUARD_DISMISSED"
| "KEYGUARD_DISMISS_AUTH_ATTEMPT"
| "KEYGUARD_SECURED"
| "FILE_PULLED"
| "FILE_PUSHED"
| "CERT_AUTHORITY_INSTALLED"
| "CERT_AUTHORITY_REMOVED"
| "CERT_VALIDATION_FAILURE"
| "CRYPTO_SELF_TEST_COMPLETED"
| "KEY_DESTRUCTION"
| "KEY_GENERATED"
| "KEY_IMPORT"
| "KEY_INTEGRITY_VIOLATION"
| "LOGGING_STARTED"
| "LOGGING_STOPPED"
| "LOG_BUFFER_SIZE_CRITICAL"
| "MEDIA_MOUNT"
| "MEDIA_UNMOUNT"
| "OS_SHUTDOWN"
| "OS_STARTUP"
| "REMOTE_LOCK"
| "WIPE_FAILURE"
| "CONNECT"
| "DNS"
| "STOP_LOST_MODE_USER_ATTEMPT"
| "LOST_MODE_OUTGOING_PHONE_CALL"
| "LOST_MODE_LOCATION"
| "ENROLLMENT_COMPLETE";
filePulledEvent?: FilePulledEvent;
filePushedEvent?: FilePushedEvent;
keyDestructionEvent?: KeyDestructionEvent;
keyGeneratedEvent?: KeyGeneratedEvent;
keyguardDismissAuthAttemptEvent?: KeyguardDismissAuthAttemptEvent;
keyguardDismissedEvent?: KeyguardDismissedEvent;
keyguardSecuredEvent?: KeyguardSecuredEvent;
keyImportEvent?: KeyImportEvent;
keyIntegrityViolationEvent?: KeyIntegrityViolationEvent;
logBufferSizeCriticalEvent?: LogBufferSizeCriticalEvent;
loggingStartedEvent?: LoggingStartedEvent;
loggingStoppedEvent?: LoggingStoppedEvent;
lostModeLocationEvent?: LostModeLocationEvent;
lostModeOutgoingPhoneCallEvent?: LostModeOutgoingPhoneCallEvent;
mediaMountEvent?: MediaMountEvent;
mediaUnmountEvent?: MediaUnmountEvent;
osShutdownEvent?: OsShutdownEvent;
osStartupEvent?: OsStartupEvent;
remoteLockEvent?: RemoteLockEvent;
stopLostModeUserAttemptEvent?: StopLostModeUserAttemptEvent;
wipeFailureEvent?: WipeFailureEvent;
}

§Properties

§
adbShellCommandEvent?: AdbShellCommandEvent
[src]

A shell command was issued over ADB via “adb shell command”. Part of SECURITY_LOGS.

§
adbShellInteractiveEvent?: AdbShellInteractiveEvent
[src]

An ADB interactive shell was opened via “adb shell”. Part of SECURITY_LOGS.

§
appProcessStartEvent?: AppProcessStartEvent
[src]

An app process was started. Part of SECURITY_LOGS.

§
certAuthorityInstalledEvent?: CertAuthorityInstalledEvent
[src]

A new root certificate was installed into the system's trusted credential storage. Part of SECURITY_LOGS.

§
certAuthorityRemovedEvent?: CertAuthorityRemovedEvent
[src]

A root certificate was removed from the system's trusted credential storage. Part of SECURITY_LOGS.

§
certValidationFailureEvent?: CertValidationFailureEvent
[src]

An X.509v3 certificate failed to validate, currently this validation is performed on the Wi-FI access point and failure may be due to a mismatch upon server certificate validation. However it may in the future include other validation events of an X.509v3 certificate. Part of SECURITY_LOGS.

§
connectEvent?: ConnectEvent
[src]

A TCP connect event was initiated through the standard network stack. Part of NETWORK_ACTIVITY_LOGS.

§
cryptoSelfTestCompletedEvent?: CryptoSelfTestCompletedEvent
[src]

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.

§
dnsEvent?: DnsEvent
[src]

A DNS lookup event was initiated through the standard network stack. Part of NETWORK_ACTIVITY_LOGS.

§
enrollmentCompleteEvent?: EnrollmentCompleteEvent
[src]

Device has completed enrollment. Part of AMAPI_LOGS.

§
eventId?: bigint
[src]

Unique id of the event.

§
eventTime?: Date
[src]

Device timestamp when the event was logged.

§
eventType?: "EVENT_TYPE_UNSPECIFIED" | "ADB_SHELL_COMMAND" | "ADB_SHELL_INTERACTIVE" | "APP_PROCESS_START" | "KEYGUARD_DISMISSED" | "KEYGUARD_DISMISS_AUTH_ATTEMPT" | "KEYGUARD_SECURED" | "FILE_PULLED" | "FILE_PUSHED" | "CERT_AUTHORITY_INSTALLED" | "CERT_AUTHORITY_REMOVED" | "CERT_VALIDATION_FAILURE" | "CRYPTO_SELF_TEST_COMPLETED" | "KEY_DESTRUCTION" | "KEY_GENERATED" | "KEY_IMPORT" | "KEY_INTEGRITY_VIOLATION" | "LOGGING_STARTED" | "LOGGING_STOPPED" | "LOG_BUFFER_SIZE_CRITICAL" | "MEDIA_MOUNT" | "MEDIA_UNMOUNT" | "OS_SHUTDOWN" | "OS_STARTUP" | "REMOTE_LOCK" | "WIPE_FAILURE" | "CONNECT" | "DNS" | "STOP_LOST_MODE_USER_ATTEMPT" | "LOST_MODE_OUTGOING_PHONE_CALL" | "LOST_MODE_LOCATION" | "ENROLLMENT_COMPLETE"
[src]

The particular usage log event type that was reported on the device. Use this to determine which event field to access.

§
filePulledEvent?: FilePulledEvent
[src]

A file was downloaded from the device. Part of SECURITY_LOGS.

§
filePushedEvent?: FilePushedEvent
[src]

A file was uploaded onto the device. Part of SECURITY_LOGS.

§
keyDestructionEvent?: KeyDestructionEvent
[src]

A cryptographic key including user installed, admin installed and system maintained private key is removed from the device either by the user or management. Part of SECURITY_LOGS.

§
keyGeneratedEvent?: KeyGeneratedEvent
[src]

A cryptographic key including user installed, admin installed and system maintained private key is installed on the device either by the user or management. Part of SECURITY_LOGS.

§
keyguardDismissAuthAttemptEvent?: KeyguardDismissAuthAttemptEvent
[src]

An attempt was made to unlock the device. Part of SECURITY_LOGS.

§
keyguardDismissedEvent?: KeyguardDismissedEvent
[src]

The keyguard was dismissed. Part of SECURITY_LOGS.

§
keyguardSecuredEvent?: KeyguardSecuredEvent
[src]

The device was locked either by user or timeout. Part of SECURITY_LOGS.

§
keyImportEvent?: KeyImportEvent
[src]

A cryptographic key including user installed, admin installed and system maintained private key is imported on the device either by the user or management. Part of SECURITY_LOGS.

§
keyIntegrityViolationEvent?: KeyIntegrityViolationEvent
[src]

A cryptographic key including user installed, admin installed and system maintained private key is determined to be corrupted due to storage corruption, hardware failure or some OS issue. Part of SECURITY_LOGS.

§
logBufferSizeCriticalEvent?: LogBufferSizeCriticalEvent
[src]

The audit log buffer has reached 90% of its capacity, therefore older events may be dropped. Part of SECURITY_LOGS.

§
loggingStartedEvent?: LoggingStartedEvent
[src]

usageLog policy has been enabled. Part of SECURITY_LOGS.

§
loggingStoppedEvent?: LoggingStoppedEvent
[src]

usageLog policy has been disabled. Part of SECURITY_LOGS.

§
lostModeLocationEvent?: LostModeLocationEvent
[src]

A lost mode location update when a device in lost mode.

§
lostModeOutgoingPhoneCallEvent?: LostModeOutgoingPhoneCallEvent
[src]

An outgoing phone call has been made when a device in lost mode.

§
mediaMountEvent?: MediaMountEvent
[src]

Removable media was mounted. Part of SECURITY_LOGS.

§
mediaUnmountEvent?: MediaUnmountEvent
[src]

Removable media was unmounted. Part of SECURITY_LOGS.

§
osShutdownEvent?: OsShutdownEvent
[src]

Device was shutdown. Part of SECURITY_LOGS.

§
osStartupEvent?: OsStartupEvent
[src]

Device was started. Part of SECURITY_LOGS.

§
remoteLockEvent?: RemoteLockEvent
[src]

The device or profile has been remotely locked via the LOCK command. Part of SECURITY_LOGS.

§
stopLostModeUserAttemptEvent?: StopLostModeUserAttemptEvent
[src]

An attempt to take a device out of lost mode.

§
wipeFailureEvent?: WipeFailureEvent
[src]

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.