-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Release the access field in the v1 finding proto, which represe…
…nts an access event tied to the finding docs: added more clarification around what event_time means on a v1 finding (#457) feat: Release the access field in the v1 finding proto, which represents an access event tied to the finding docs: added more clarification around what event_time means on a v1 finding PiperOrigin-RevId: 425659764 Source-Link: googleapis/googleapis@fa6793b Source-Link: googleapis/googleapis-gen@2541906 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjU0MTkwNjExZDExZTdmMGQyNzEyMjJjZjY0NDg3ZGU5ZmZiZDVkOSJ9 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
15f402a
commit 0462a7f
Showing
9 changed files
with
2,035 additions
and
1,196 deletions.
There are no files selected for viewing
56 changes: 56 additions & 0 deletions
56
packages/google-cloud-securitycenter/protos/google/cloud/securitycenter/v1/access.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
// Copyright 2021 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
syntax = "proto3"; | ||
|
||
package google.cloud.securitycenter.v1; | ||
|
||
import "google/api/annotations.proto"; | ||
|
||
option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter"; | ||
option java_multiple_files = true; | ||
option java_outer_classname = "AccessProto"; | ||
option java_package = "com.google.cloud.securitycenter.v1"; | ||
option csharp_namespace = "Google.Cloud.SecurityCenter.V1"; | ||
option php_namespace = "Google\\Cloud\\SecurityCenter\\V1"; | ||
option ruby_package = "Google::Cloud::SecurityCenter::V1"; | ||
|
||
// Represents an access event. | ||
message Access { | ||
// Associated email, such as "[email protected]". | ||
string principal_email = 1; | ||
|
||
// Caller's IP address, such as "1.1.1.1". | ||
string caller_ip = 2; | ||
|
||
// 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, | ||
// embedded or stand-alone applications, etc. | ||
string user_agent_family = 4; | ||
|
||
// This is the API service that the service account made a call to, e.g. | ||
// "iam.googleapis.com" | ||
string service_name = 5; | ||
|
||
// The method that the service account called, e.g. "SetIamPolicy". | ||
string method_name = 6; | ||
} | ||
|
||
// Represents a geographical location for a given access. | ||
message Geolocation { | ||
// A CLDR. | ||
string region_code = 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.