Skip to content

Commit

Permalink
build: added APIs for SecurityPosture service in C#, Ruby and Java
Browse files Browse the repository at this point in the history
Clients will now have access to SecurityPosture service APIs in C#, Ruby and Java.

PiperOrigin-RevId: 600854050
  • Loading branch information
Google APIs authored and Copybara-Service committed Jan 23, 2024
1 parent f4da74c commit 6ebf8c0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion google/cloud/securityposture/v1/securityposture.proto
Expand Up @@ -23,14 +23,16 @@ import "google/api/resource.proto";
import "google/cloud/securityposture/v1/org_policy_constraints.proto";
import "google/cloud/securityposture/v1/sha_constraints.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Cloud.Securityposture.V1";
option go_package = "cloud.google.com/go/securityposture/apiv1/securityposturepb;securityposturepb";
option java_multiple_files = true;
option java_outer_classname = "V1mainProto";
option java_package = "com.google.cloud.securityposture.v1";
option php_namespace = "Google\\Cloud\\Securityposture\\V1";
option ruby_package = "Google::Cloud::Securityposture::V1";
option (google.api.resource_definition) = {
type: "securitposture.googleapis.com/Organization"
pattern: "organizations/{organization}/locations/{location}"
Expand Down
9 changes: 7 additions & 2 deletions google/cloud/securityposture/v1/securityposture_v1.yaml
Expand Up @@ -8,6 +8,11 @@ apis:
- name: google.cloud.securityposture.v1.SecurityPosture
- name: google.longrunning.Operations

types:
- name: google.cloud.securityposture.v1.OperationMetadata
- name: google.cloud.securityposture.v1.Posture
- name: google.cloud.securityposture.v1.PostureDeployment

documentation:
summary: Security Posture is a comprehensive framework of policy sets that empowers organizations to define, assess early, deploy, and monitor their security measures in a unified way and helps simplify governance and reduces administrative toil.
rules:
Expand Down Expand Up @@ -53,7 +58,7 @@ authentication:
https://www.googleapis.com/auth/cloud-platform
publishing:
new_issue_uri: https://issuetracker.google.com/issues/new?component=190865&template=1161103
new_issue_uri: https://issuetracker.google.com/issues/new?component=936838&template=1502786
api_short_name: securityposture
github_label: 'api: securityposture'
doc_tag_prefix: securityposture
Expand Down Expand Up @@ -93,4 +98,4 @@ publishing:
common:
destinations:
- PACKAGE_MANAGER
proto_reference_documentation_uri: https://cloud.google.com/securityposture/docs/reference/rpc
proto_reference_documentation_uri: https://cloud.google.com/security-command-center/docs/security-posture-overview

0 comments on commit 6ebf8c0

Please sign in to comment.