Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add user_name field to the finding access #3743

Merged
merged 2 commits into from
Dec 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ message Access {
// The caller IP's geolocation, which identifies where the call came from.
Geolocation caller_ip_geo = 3;

// What kind of user agent is associated, e.g. operating system shells,
// What kind of user agent is associated, for example operating system shells,
// embedded or stand-alone applications, etc.
string user_agent_family = 4;

Expand Down Expand Up @@ -76,6 +76,15 @@ message Access {
// authorities are present, they are guaranteed to be sorted based on the
// original ordering of the identity delegation events.
repeated ServiceAccountDelegationInfo service_account_delegation_info = 9;

// A string that represents the username of a user, user account, or other
// entity involved in the access event. What the entity is and what its role
// in the access event is depends on the finding that this field appears in.
// The entity is likely not an IAM principal, but could be a user that is
// logged into an operating system, if the finding is VM-related, or a user
// that is logged into some type of application that is involved in the
// access event.
string user_name = 11;
}

// Identity delegation history of an authenticated service account.
Expand All @@ -97,4 +106,4 @@ message ServiceAccountDelegationInfo {
message Geolocation {
// A CLDR.
string region_code = 1;
}
}
6 changes: 6 additions & 0 deletions packages/google-cloud-securitycenter/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions packages/google-cloud-securitycenter/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions packages/google-cloud-securitycenter/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.