Skip to content

Commit 7090dbe

Browse files
Google APIscopybara-github
authored andcommitted
feat: add new field for exception audit log link
feat: add support of new compliance regime for regions and new partner T systems docs: fix some typos in documentation Deprecated non_compliant_org_policy from AcknowledgeViolationRequest. It has no effect and shouldn't be used. Committer: @ViswasK PiperOrigin-RevId: 480599318
1 parent 75d3f22 commit 7090dbe

1 file changed

Lines changed: 28 additions & 8 deletions

File tree

google/cloud/assuredworkloads/v1/assuredworkloads.proto

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ message DeleteWorkloadRequest {
181181

182182
// Request for fetching a workload.
183183
message GetWorkloadRequest {
184-
// Required. The resource name of the Workload to fetch. This is the workloads's
184+
// Required. The resource name of the Workload to fetch. This is the workload's
185185
// relative path in the API, formatted as
186186
// "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
187187
// For example,
@@ -227,7 +227,7 @@ message ListWorkloadsResponse {
227227
string next_page_token = 2;
228228
}
229229

230-
// An Workload object for managing highly regulated workloads of cloud
230+
// A Workload object for managing highly regulated workloads of cloud
231231
// customers.
232232
message Workload {
233233
option (google.api.resource) = {
@@ -302,11 +302,19 @@ message Workload {
302302
// International Traffic in Arms Regulations
303303
ITAR = 10;
304304

305-
// Assured Workloads for Partners;
305+
// Assured Workloads for Australia Regions and Support controls
306+
// Available for public preview consumption.
307+
// Don't create production workloads.
308+
AU_REGIONS_AND_US_SUPPORT = 11;
309+
310+
// Assured Workloads for Partners
306311
ASSURED_WORKLOADS_FOR_PARTNERS = 12;
307312
}
308313

309314
// Settings specific to the Key Management Service.
315+
// This message is deprecated.
316+
// In order to create a Keyring, callers should specify,
317+
// ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.
310318
message KMSSettings {
311319
option deprecated = true;
312320

@@ -338,7 +346,7 @@ message Workload {
338346
string resource_id = 1;
339347

340348
// Indicates the type of resource. This field should be specified to
341-
// correspond the id to the right project type (CONSUMER_PROJECT or
349+
// correspond the id to the right resource type (CONSUMER_FOLDER or
342350
// ENCRYPTION_KEYS_PROJECT)
343351
ResourceInfo.ResourceType resource_type = 2;
344352

@@ -404,10 +412,10 @@ message Workload {
404412

405413
// Supported Assured Workloads Partners.
406414
enum Partner {
407-
// Unknown compliance regime.
415+
// Unknown partner regime/controls.
408416
PARTNER_UNSPECIFIED = 0;
409417

410-
// S3NS regime
418+
// S3NS regime/controls.
411419
LOCAL_CONTROLS_BY_S3NS = 1;
412420
}
413421

@@ -567,13 +575,17 @@ message AcknowledgeViolationRequest {
567575
// Required. Business justification explaining the need for violation acknowledgement
568576
string comment = 2 [(google.api.field_behavior) = REQUIRED];
569577

570-
// Optional. Name of the OrgPolicy which was modified with non-compliant change and
578+
// Optional. This field is deprecated and will be removed in future version of the API.
579+
// Name of the OrgPolicy which was modified with non-compliant change and
571580
// resulted in this violation.
572581
// Format:
573582
// projects/{project_number}/policies/{constraint_name}
574583
// folders/{folder_id}/policies/{constraint_name}
575584
// organizations/{organization_id}/policies/{constraint_name}
576-
string non_compliant_org_policy = 3 [(google.api.field_behavior) = OPTIONAL];
585+
string non_compliant_org_policy = 3 [
586+
deprecated = true,
587+
(google.api.field_behavior) = OPTIONAL
588+
];
577589
}
578590

579591
// Response for violation acknowledgement
@@ -795,4 +807,12 @@ message Violation {
795807
// Optional. Timestamp when this violation was acknowledged last.
796808
// This will be absent when acknowledged field is marked as false.
797809
optional google.protobuf.Timestamp acknowledgement_time = 15 [(google.api.field_behavior) = OPTIONAL];
810+
811+
// Output only. Immutable. Audit Log link to find business justification provided for violation
812+
// exception. Format:
813+
// https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}
814+
string exception_audit_log_link = 16 [
815+
(google.api.field_behavior) = OUTPUT_ONLY,
816+
(google.api.field_behavior) = IMMUTABLE
817+
];
798818
}

0 commit comments

Comments
 (0)