Skip to content

Commit

Permalink
feat: add user_name field to the finding access (#3743)
Browse files Browse the repository at this point in the history
* feat: add user_name field to the finding access

PiperOrigin-RevId: 495123979

Source-Link: googleapis/googleapis@fe20b12

Source-Link: googleapis/googleapis-gen@8d4762d
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlY3VyaXR5Y2VudGVyLy5Pd2xCb3QueWFtbCIsImgiOiI4ZDQ3NjJkMDkzM2RhYjZlYTQ1ZjMwMWI0NTI1ZWVlOGJjYjgzMjgxIn0=

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Dec 14, 2022
1 parent 9db90e8 commit 53f9922
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 2 deletions.
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.

0 comments on commit 53f9922

Please sign in to comment.