Google Cloud Platform Activity Events
This document lists the events and parameters for
various types of
Google Cloud Platform activity events. You can retrieve these events by
calling Activities.list()
with applicationName=gcp
.
Cloud OS Login
Interaction with the Cloud OS Login API.
Events of this type are returned with type=CLOUD_OSLOGIN
.
Add an SSH public key
User added an SSH public key.
Event details |
Event name |
IMPORT_SSH_PUBLIC_KEY |
Parameters |
USER_EMAIL |
string
The email address of the acting user.
|
|
Sample request |
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/gcp?eventName=IMPORT_SSH_PUBLIC_KEY&maxResults=10&access_token=YOUR_ACCESS_TOKEN
|
Admin Console message format |
{USER_EMAIL} added an SSH public key.
|
Delete a POSIX account
User deleted a POSIX account.
Event details |
Event name |
DELETE_POSIX_ACCOUNT |
Parameters |
USER_EMAIL |
string
The email address of the acting user.
|
|
Sample request |
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/gcp?eventName=DELETE_POSIX_ACCOUNT&maxResults=10&access_token=YOUR_ACCESS_TOKEN
|
Admin Console message format |
{USER_EMAIL} deleted a POSIX account.
|
Delete an SSH public key
User deleted an SSH public key.
Event details |
Event name |
DELETE_SSH_PUBLIC_KEY |
Parameters |
USER_EMAIL |
string
The email address of the acting user.
|
|
Sample request |
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/gcp?eventName=DELETE_SSH_PUBLIC_KEY&maxResults=10&access_token=YOUR_ACCESS_TOKEN
|
Admin Console message format |
{USER_EMAIL} deleted an SSH public key.
|
Retrieve an SSH public key
User retrieved SSH public key.
Event details |
Event name |
GET_SSH_PUBLIC_KEY |
Parameters |
USER_EMAIL |
string
The email address of the acting user.
|
|
Sample request |
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/gcp?eventName=GET_SSH_PUBLIC_KEY&maxResults=10&access_token=YOUR_ACCESS_TOKEN
|
Admin Console message format |
{USER_EMAIL} retrieved an SSH public key.
|
Retrieve the login profile
User retrieved the login profile.
Event details |
Event name |
GET_LOGIN_PROFILE |
Parameters |
USER_EMAIL |
string
The email address of the acting user.
|
|
Sample request |
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/gcp?eventName=GET_LOGIN_PROFILE&maxResults=10&access_token=YOUR_ACCESS_TOKEN
|
Admin Console message format |
{USER_EMAIL} retrieved the profile information used for logging in to a virtual machine on Google Compute Engine.
|
Update an SSH public key
User updated an SSH public key.
Event details |
Event name |
UPDATE_SSH_PUBLIC_KEY |
Parameters |
USER_EMAIL |
string
The email address of the acting user.
|
|
Sample request |
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/gcp?eventName=UPDATE_SSH_PUBLIC_KEY&maxResults=10&access_token=YOUR_ACCESS_TOKEN
|
Admin Console message format |
{USER_EMAIL} updated an SSH public key.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-21 UTC.
[null,null,["Last updated 2024-08-21 UTC."],[[["This document outlines Google Cloud Platform activity events related to Cloud OS Login, specifically interactions with the Cloud OS Login API."],["These events, identifiable by `type=CLOUD_OSLOGIN`, encompass actions like adding, deleting, retrieving, and updating SSH public keys and POSIX accounts."],["You can retrieve these events using the `Activities.list()` method with `applicationName=gcp` and filtering by specific event names like `IMPORT_SSH_PUBLIC_KEY` or `DELETE_POSIX_ACCOUNT`."],["Each event record includes details like the event name, parameters such as the acting user's email (`USER_EMAIL`), a sample API request, and the corresponding Admin Console message format."],["This information allows administrators to monitor and audit user activities related to Cloud OS Login for security and compliance purposes."]]],[]]