google-cloud-audit_manager-v1 1.0.1 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -2
- data/lib/google/cloud/audit_manager/v1/audit_manager/client.rb +126 -70
- data/lib/google/cloud/audit_manager/v1/audit_manager/credentials.rb +1 -0
- data/lib/google/cloud/audit_manager/v1/audit_manager/paths.rb +32 -0
- data/lib/google/cloud/audit_manager/v1/audit_manager/rest/client.rb +126 -70
- data/lib/google/cloud/audit_manager/v1/audit_manager/rest/service_stub.rb +23 -0
- data/lib/google/cloud/audit_manager/v1/version.rb +1 -1
- data/lib/google/cloud/auditmanager/v1/auditmanager_pb.rb +1 -1
- data/lib/google/cloud/auditmanager/v1/auditmanager_services_pb.rb +24 -15
- data/proto_docs/google/cloud/auditmanager/v1/auditmanager.rb +314 -221
- data/proto_docs/google/protobuf/timestamp.rb +7 -6
- metadata +5 -5
|
@@ -239,11 +239,11 @@ module Google
|
|
|
239
239
|
# Service calls
|
|
240
240
|
|
|
241
241
|
##
|
|
242
|
-
#
|
|
243
|
-
#
|
|
244
|
-
# workload and
|
|
245
|
-
#
|
|
246
|
-
# then
|
|
242
|
+
# Adds your project, folder, or organization to Audit
|
|
243
|
+
# Manager. This method creates the Audit Manager service agent in your
|
|
244
|
+
# workload and grants required permissions to the service agent.
|
|
245
|
+
# If you make this request on a workload that's already enrolled,
|
|
246
|
+
# then this method overrides the existing set of destinations.
|
|
247
247
|
#
|
|
248
248
|
# @overload enroll_resource(request, options = nil)
|
|
249
249
|
# Pass arguments to `enroll_resource` via a request object, either of type
|
|
@@ -261,19 +261,21 @@ module Google
|
|
|
261
261
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
262
262
|
#
|
|
263
263
|
# @param scope [::String]
|
|
264
|
-
# Required.
|
|
265
|
-
#
|
|
266
|
-
#
|
|
267
|
-
#
|
|
268
|
-
#
|
|
264
|
+
# Required. Organization, folder, or project to enroll in Audit Manager, in
|
|
265
|
+
# one of the following formats:
|
|
266
|
+
#
|
|
267
|
+
# * `projects/{project}/locations/{location}`
|
|
268
|
+
# * `folders/{folder}/locations/{location}`
|
|
269
|
+
# * `organizations/{organization}/locations/{location}`
|
|
269
270
|
# @param destinations [::Array<::Google::Cloud::AuditManager::V1::EnrollResourceRequest::EligibleDestination, ::Hash>]
|
|
270
|
-
# Required.
|
|
271
|
-
#
|
|
272
|
-
#
|
|
273
|
-
#
|
|
274
|
-
#
|
|
275
|
-
#
|
|
276
|
-
#
|
|
271
|
+
# Required. Cloud Storage buckets that you can upload your audit reports to
|
|
272
|
+
# during the audit process.
|
|
273
|
+
#
|
|
274
|
+
# When you enroll an organization or folder, you can choose a Cloud Storage
|
|
275
|
+
# bucket from any project in the organization or folder. If you run an audit
|
|
276
|
+
# at the project level using the service agent at the organization or folder
|
|
277
|
+
# level, all the buckets that are associated with the service agent are
|
|
278
|
+
# available.
|
|
277
279
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
278
280
|
# @yieldparam result [::Google::Cloud::AuditManager::V1::Enrollment]
|
|
279
281
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -333,9 +335,14 @@ module Google
|
|
|
333
335
|
end
|
|
334
336
|
|
|
335
337
|
##
|
|
336
|
-
# Generates
|
|
337
|
-
#
|
|
338
|
-
#
|
|
338
|
+
# Generates an audit scope report for the given standard.
|
|
339
|
+
#
|
|
340
|
+
# The report includes the following:
|
|
341
|
+
#
|
|
342
|
+
# * The technical attributes and constraints that Audit Manager uses to
|
|
343
|
+
# verify your compliance with a framework.
|
|
344
|
+
# * A list of Google Cloud services and resources that are within the
|
|
345
|
+
# scope of the framework.
|
|
339
346
|
#
|
|
340
347
|
# @overload generate_audit_scope_report(request, options = nil)
|
|
341
348
|
# Pass arguments to `generate_audit_scope_report` via a request object, either of type
|
|
@@ -353,18 +360,22 @@ module Google
|
|
|
353
360
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
354
361
|
#
|
|
355
362
|
# @param scope [::String]
|
|
356
|
-
# Required.
|
|
357
|
-
#
|
|
358
|
-
#
|
|
359
|
-
#
|
|
363
|
+
# Required. Project or folder that the audit scope report is generated for,
|
|
364
|
+
# in one of the following formats:
|
|
365
|
+
#
|
|
366
|
+
# * `projects/{project}/locations/{location}`
|
|
367
|
+
# * `folders/{folder}/locations/{location}`
|
|
368
|
+
# * `organizations/{organization}/locations/{location}`
|
|
360
369
|
# @param compliance_standard [::String]
|
|
361
|
-
#
|
|
362
|
-
#
|
|
370
|
+
# Optional. Deprecated. The standard (industry or regulatory requirements)
|
|
371
|
+
# that the audit scope report is run against.
|
|
372
|
+
#
|
|
373
|
+
# Use the `compliance_framework` field instead.
|
|
363
374
|
# @param report_format [::Google::Cloud::AuditManager::V1::GenerateAuditScopeReportRequest::AuditScopeReportFormat]
|
|
364
|
-
# Required.
|
|
375
|
+
# Required. Format for the audit scope report.
|
|
365
376
|
# @param compliance_framework [::String]
|
|
366
|
-
# Required.
|
|
367
|
-
# generated.
|
|
377
|
+
# Required. Framework (set of controls) that the audit scope report is
|
|
378
|
+
# generated against. For example, `NIST_800_53`.
|
|
368
379
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
369
380
|
# @yieldparam result [::Google::Cloud::AuditManager::V1::AuditScopeReport]
|
|
370
381
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -424,8 +435,9 @@ module Google
|
|
|
424
435
|
end
|
|
425
436
|
|
|
426
437
|
##
|
|
427
|
-
#
|
|
428
|
-
#
|
|
438
|
+
# Registers audit report generation requests. This method returns the
|
|
439
|
+
# operation identifier that you can use to track the report generation
|
|
440
|
+
# progress.
|
|
429
441
|
#
|
|
430
442
|
# @overload generate_audit_report(request, options = nil)
|
|
431
443
|
# Pass arguments to `generate_audit_report` via a request object, either of type
|
|
@@ -437,27 +449,45 @@ module Google
|
|
|
437
449
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
438
450
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
439
451
|
#
|
|
440
|
-
# @overload generate_audit_report(gcs_uri: nil, scope: nil, compliance_standard: nil, report_format: nil, compliance_framework: nil)
|
|
452
|
+
# @overload generate_audit_report(gcs_uri: nil, scope: nil, compliance_standard: nil, report_format: nil, compliance_framework: nil, validate_only: nil)
|
|
441
453
|
# Pass arguments to `generate_audit_report` via keyword arguments. Note that at
|
|
442
454
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
443
455
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
444
456
|
#
|
|
445
457
|
# @param gcs_uri [::String]
|
|
446
|
-
#
|
|
447
|
-
# uploaded.
|
|
448
|
-
#
|
|
458
|
+
# URL for the Cloud Storage bucket where the report and evidence is
|
|
459
|
+
# uploaded. You must select a bucket that was provided during the
|
|
460
|
+
# enrollment process.
|
|
449
461
|
# @param scope [::String]
|
|
450
|
-
# Required.
|
|
451
|
-
#
|
|
452
|
-
#
|
|
453
|
-
#
|
|
462
|
+
# Required. Organization, folder, or project that the audit applies to, in
|
|
463
|
+
# one of the following formats:
|
|
464
|
+
#
|
|
465
|
+
# * `projects/{project}/locations/{location}`
|
|
466
|
+
# * `folders/{folder}/locations/{location}`
|
|
467
|
+
# * `organizations/{organization}/locations/{location}`
|
|
454
468
|
# @param compliance_standard [::String]
|
|
455
|
-
#
|
|
456
|
-
#
|
|
469
|
+
# Optional. Deprecated. Compliance standard for the audit report.
|
|
470
|
+
#
|
|
471
|
+
# Use the `compliance_framework` field instead.
|
|
457
472
|
# @param report_format [::Google::Cloud::AuditManager::V1::GenerateAuditReportRequest::AuditReportFormat]
|
|
458
|
-
# Required.
|
|
473
|
+
# Required. Format for the audit report.
|
|
459
474
|
# @param compliance_framework [::String]
|
|
460
|
-
# Required.
|
|
475
|
+
# Required. The framework that's used for the audit report. For example,
|
|
476
|
+
# `NIST_800_53`.
|
|
477
|
+
# @param validate_only [::Boolean]
|
|
478
|
+
# Optional. If `true`, only validates the request and does not generate the
|
|
479
|
+
# audit report. This executes standard request validation (such as schema,
|
|
480
|
+
# framework existence, scope, and IAM checks) and skips the apply phase.
|
|
481
|
+
#
|
|
482
|
+
# Use this field for the following purposes:
|
|
483
|
+
# * **Infrastructure as Code (IaC)**: Allow tools like Terraform to run
|
|
484
|
+
# dry-run mutations (e.g., `terraform plan`) without creating real
|
|
485
|
+
# resources or incurring costs.
|
|
486
|
+
# * **User Interface Validation**: Enable real-time form and permission
|
|
487
|
+
# validation in custom UIs before submitting requests.
|
|
488
|
+
# * **CI/CD & Automation**: Test your scripts, permissions, and parameters
|
|
489
|
+
# safely without triggering expensive Long-Running Operations (LROs) or
|
|
490
|
+
# consuming resource quotas.
|
|
461
491
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
462
492
|
# @yieldparam result [::Gapic::Operation]
|
|
463
493
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -526,7 +556,8 @@ module Google
|
|
|
526
556
|
end
|
|
527
557
|
|
|
528
558
|
##
|
|
529
|
-
# Lists audit reports
|
|
559
|
+
# Lists the audit reports for the organization, folder, or project that you
|
|
560
|
+
# specify as the parent scope.
|
|
530
561
|
#
|
|
531
562
|
# @overload list_audit_reports(request, options = nil)
|
|
532
563
|
# Pass arguments to `list_audit_reports` via a request object, either of type
|
|
@@ -544,12 +575,20 @@ module Google
|
|
|
544
575
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
545
576
|
#
|
|
546
577
|
# @param parent [::String]
|
|
547
|
-
# Required.
|
|
578
|
+
# Required. Parent organization, folder, or project to list reports for,
|
|
579
|
+
# in one of the following formats:
|
|
580
|
+
#
|
|
581
|
+
# * `projects/{project}/locations/{location}`
|
|
582
|
+
# * `folders/{folder}/locations/{location}`
|
|
583
|
+
# * `organizations/{organization}/locations/{location}`
|
|
548
584
|
# @param page_size [::Integer]
|
|
549
|
-
# Optional.
|
|
585
|
+
# Optional. Maximum number of items to return in a single page. The service
|
|
586
|
+
# might return fewer items than this value. If unspecified, the service picks
|
|
587
|
+
# an appropriate default. The maximum value is 100; values above 100 are
|
|
588
|
+
# reduced to 100.
|
|
550
589
|
# @param page_token [::String]
|
|
551
|
-
# Optional.
|
|
552
|
-
#
|
|
590
|
+
# Optional. A page token, received from a previous call, to retrieve the next
|
|
591
|
+
# page of results.
|
|
553
592
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
554
593
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AuditManager::V1::AuditReport>]
|
|
555
594
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -615,7 +654,7 @@ module Google
|
|
|
615
654
|
end
|
|
616
655
|
|
|
617
656
|
##
|
|
618
|
-
#
|
|
657
|
+
# Gets the full metadata and findings for an audit report.
|
|
619
658
|
#
|
|
620
659
|
# @overload get_audit_report(request, options = nil)
|
|
621
660
|
# Pass arguments to `get_audit_report` via a request object, either of type
|
|
@@ -633,9 +672,11 @@ module Google
|
|
|
633
672
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
634
673
|
#
|
|
635
674
|
# @param name [::String]
|
|
636
|
-
# Required.
|
|
637
|
-
#
|
|
638
|
-
#
|
|
675
|
+
# Required. Name of the audit report, in one of the following formats:
|
|
676
|
+
#
|
|
677
|
+
# * `projects/{project}/locations/{location}/auditReports/{audit_report}`
|
|
678
|
+
# * `folders/{folder}/locations/{location}/auditReports/{audit_report}`
|
|
679
|
+
# * `organizations/{organization}/locations/{location}/auditReports/{audit_report}`
|
|
639
680
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
640
681
|
# @yieldparam result [::Google::Cloud::AuditManager::V1::AuditReport]
|
|
641
682
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -695,7 +736,7 @@ module Google
|
|
|
695
736
|
end
|
|
696
737
|
|
|
697
738
|
##
|
|
698
|
-
#
|
|
739
|
+
# Gets a resource and its enrollment status.
|
|
699
740
|
#
|
|
700
741
|
# @overload get_resource_enrollment_status(request, options = nil)
|
|
701
742
|
# Pass arguments to `get_resource_enrollment_status` via a request object, either of type
|
|
@@ -713,10 +754,12 @@ module Google
|
|
|
713
754
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
714
755
|
#
|
|
715
756
|
# @param name [::String]
|
|
716
|
-
# Required.
|
|
717
|
-
#
|
|
718
|
-
#
|
|
719
|
-
#
|
|
757
|
+
# Required. Name of the resource enrollment status, in one of the following
|
|
758
|
+
# formats:
|
|
759
|
+
#
|
|
760
|
+
# * `folders/{folder}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}`
|
|
761
|
+
# * `projects/{project}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}`
|
|
762
|
+
# * `organizations/{organization}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}`
|
|
720
763
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
721
764
|
# @yieldparam result [::Google::Cloud::AuditManager::V1::ResourceEnrollmentStatus]
|
|
722
765
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -776,7 +819,8 @@ module Google
|
|
|
776
819
|
end
|
|
777
820
|
|
|
778
821
|
##
|
|
779
|
-
#
|
|
822
|
+
# Lists all the folders and projects in an organization or folder, along with
|
|
823
|
+
# their enrollments.
|
|
780
824
|
#
|
|
781
825
|
# @overload list_resource_enrollment_statuses(request, options = nil)
|
|
782
826
|
# Pass arguments to `list_resource_enrollment_statuses` via a request object, either of type
|
|
@@ -794,13 +838,19 @@ module Google
|
|
|
794
838
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
795
839
|
#
|
|
796
840
|
# @param parent [::String]
|
|
797
|
-
# Required.
|
|
798
|
-
#
|
|
841
|
+
# Required. Parent organization or folder to list enrollment statuses for,
|
|
842
|
+
# in one of the following formats:
|
|
843
|
+
#
|
|
844
|
+
# * `folders/{folder}/locations/{location}`
|
|
845
|
+
# * `organizations/{organization}/locations/{location}`
|
|
799
846
|
# @param page_size [::Integer]
|
|
800
|
-
# Optional.
|
|
847
|
+
# Optional. Maximum number of items to return in a single page. The service
|
|
848
|
+
# might return fewer items than this value. If unspecified, the service picks
|
|
849
|
+
# an appropriate default. The maximum value is 100; values above 100 are
|
|
850
|
+
# reduced to 100.
|
|
801
851
|
# @param page_token [::String]
|
|
802
|
-
# Optional.
|
|
803
|
-
#
|
|
852
|
+
# Optional. A page token, received from a previous call, to retrieve the next
|
|
853
|
+
# page of results.
|
|
804
854
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
805
855
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AuditManager::V1::ResourceEnrollmentStatus>]
|
|
806
856
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -866,7 +916,8 @@ module Google
|
|
|
866
916
|
end
|
|
867
917
|
|
|
868
918
|
##
|
|
869
|
-
#
|
|
919
|
+
# Lists the controls that you must implement to become compliant to a
|
|
920
|
+
# regulatory standard.
|
|
870
921
|
#
|
|
871
922
|
# @overload list_controls(request, options = nil)
|
|
872
923
|
# Pass arguments to `list_controls` via a request object, either of type
|
|
@@ -884,14 +935,19 @@ module Google
|
|
|
884
935
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
885
936
|
#
|
|
886
937
|
# @param parent [::String]
|
|
887
|
-
# Required.
|
|
888
|
-
#
|
|
889
|
-
#
|
|
938
|
+
# Required. Standard to list controls for, in one of the following formats:
|
|
939
|
+
#
|
|
940
|
+
# * `projects/{project}/locations/{location}/standards/{standard}`
|
|
941
|
+
# * `folders/{folder}/locations/{location}/standards/{standard}`
|
|
942
|
+
# * `organizations/{organization}/locations/{location}/standards/{standard}`
|
|
890
943
|
# @param page_size [::Integer]
|
|
891
|
-
# Optional.
|
|
944
|
+
# Optional. Maximum number of items to return in a single page. The service
|
|
945
|
+
# might return fewer items than this value. If unspecified, the service picks
|
|
946
|
+
# an appropriate default. The maximum value is 100; values above 100 are
|
|
947
|
+
# reduced to 100.
|
|
892
948
|
# @param page_token [::String]
|
|
893
|
-
# Optional.
|
|
894
|
-
#
|
|
949
|
+
# Optional. A page token, received from a previous call, to retrieve the next
|
|
950
|
+
# page of results.
|
|
895
951
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
896
952
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AuditManager::V1::Control>]
|
|
897
953
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -458,6 +458,14 @@ module Google
|
|
|
458
458
|
["scope", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
459
459
|
]
|
|
460
460
|
)
|
|
461
|
+
.with_bindings(
|
|
462
|
+
uri_method: :post,
|
|
463
|
+
uri_template: "/v1/{scope}/auditScopeReports:generate",
|
|
464
|
+
body: "*",
|
|
465
|
+
matches: [
|
|
466
|
+
["scope", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
|
|
467
|
+
]
|
|
468
|
+
)
|
|
461
469
|
transcoder.transcode request_pb
|
|
462
470
|
end
|
|
463
471
|
|
|
@@ -488,6 +496,14 @@ module Google
|
|
|
488
496
|
["scope", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
489
497
|
]
|
|
490
498
|
)
|
|
499
|
+
.with_bindings(
|
|
500
|
+
uri_method: :post,
|
|
501
|
+
uri_template: "/v1/{scope}/auditReports:generate",
|
|
502
|
+
body: "*",
|
|
503
|
+
matches: [
|
|
504
|
+
["scope", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
|
|
505
|
+
]
|
|
506
|
+
)
|
|
491
507
|
transcoder.transcode request_pb
|
|
492
508
|
end
|
|
493
509
|
|
|
@@ -551,6 +567,13 @@ module Google
|
|
|
551
567
|
["name", %r{^projects/[^/]+/locations/[^/]+/auditReports/[^/]+/?$}, false]
|
|
552
568
|
]
|
|
553
569
|
)
|
|
570
|
+
.with_bindings(
|
|
571
|
+
uri_method: :get,
|
|
572
|
+
uri_template: "/v1/{name}",
|
|
573
|
+
matches: [
|
|
574
|
+
["name", %r{^organizations/[^/]+/locations/[^/]+/auditReports/[^/]+/?$}, false]
|
|
575
|
+
]
|
|
576
|
+
)
|
|
554
577
|
transcoder.transcode request_pb
|
|
555
578
|
end
|
|
556
579
|
|
|
@@ -12,7 +12,7 @@ require 'google/longrunning/operations_pb'
|
|
|
12
12
|
require 'google/protobuf/timestamp_pb'
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
descriptor_data = "\n/google/cloud/auditmanager/v1/auditmanager.proto\x12\x1cgoogle.cloud.auditmanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xde\x01\n\x15\x45nrollResourceRequest\x12\x12\n\x05scope\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x62\n\x0c\x64\x65stinations\x18\x02 \x03(\x0b\x32G.google.cloud.auditmanager.v1.EnrollResourceRequest.EligibleDestinationB\x03\xe0\x41\x02\x1aM\n\x13\x45ligibleDestination\x12\x1d\n\x13\x65ligible_gcs_bucket\x18\x03 \x01(\tH\x00\x42\x17\n\x15\x65ligible_destinations\"\xd4\x02\n\x1fGenerateAuditScopeReportRequest\x12\x12\n\x05scope\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13\x63ompliance_standard\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12p\n\rreport_format\x18\x04 \x01(\x0e\x32T.google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest.AuditScopeReportFormatB\x03\xe0\x41\x02\x12!\n\x14\x63ompliance_framework\x18\x05 \x01(\tB\x03\xe0\x41\x02\"f\n\x16\x41uditScopeReportFormat\x12)\n%AUDIT_SCOPE_REPORT_FORMAT_UNSPECIFIED\x10\x00\x12!\n\x1d\x41UDIT_SCOPE_REPORT_FORMAT_ODF\x10\x01\"\xd6\x02\n\x1aGenerateAuditReportRequest\x12\x11\n\x07gcs_uri\x18\x02 \x01(\tH\x00\x12\x12\n\x05scope\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13\x63ompliance_standard\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x66\n\rreport_format\x18\x04 \x01(\x0e\x32J.google.cloud.auditmanager.v1.GenerateAuditReportRequest.AuditReportFormatB\x03\xe0\x41\x02\x12!\n\x14\x63ompliance_framework\x18\x05 \x01(\tB\x03\xe0\x41\x02\"U\n\x11\x41uditReportFormat\x12#\n\x1f\x41UDIT_REPORT_FORMAT_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x41UDIT_REPORT_FORMAT_ODF\x10\x01\x42\r\n\x0b\x64\x65stination\"p\n\"GetResourceEnrollmentStatusRequest\x12J\n\x04name\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\n4auditmanager.googleapis.com/ResourceEnrollmentStatus\"\xa3\x01\n%ListResourceEnrollmentStatusesRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1auditmanager.googleapis.com/EnrollmentStatusScope\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xa4\x01\n&ListResourceEnrollmentStatusesResponse\x12\\\n\x1cresource_enrollment_statuses\x18\x01 \x03(\x0b\x32\x36.google.cloud.auditmanager.v1.ResourceEnrollmentStatus\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\x8b\x01\n\x17ListAuditReportsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'auditmanager.googleapis.com/AuditReport\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x18ListAuditReportsResponse\x12\x45\n\raudit_reports\x18\x01 \x03(\x0b\x32).google.cloud.auditmanager.v1.AuditReportB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"V\n\x15GetAuditReportRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'auditmanager.googleapis.com/AuditReport\"\x84\x01\n\x13ListControlsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$auditmanager.googleapis.com/Standard\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"r\n\x14ListControlsResponse\x12<\n\x08\x63ontrols\x18\x01 \x03(\x0b\x32%.google.cloud.auditmanager.v1.ControlB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xe1\x02\n\x18ReportGenerationProgress\x12@\n\x05state\x18\x01 \x01(\x0e\x32,.google.cloud.auditmanager.v1.OperationStateB\x03\xe0\x41\x03\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12#\n\x1b\x65valuation_percent_complete\x18\x14 \x01(\x01\x12*\n\"report_generation_percent_complete\x18\x1e \x01(\x01\x12)\n!report_uploading_percent_complete\x18( \x01(\x01\x12#\n\x16\x64\x65stination_gcs_bucket\x18\x32 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x0c\x61udit_report\x18\x33 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'auditmanager.googleapis.com/AuditReport\"\x89\x03\n\nEnrollment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12R\n\x13\x64\x65stination_details\x18\x03 \x03(\x0b\x32\x30.google.cloud.auditmanager.v1.DestinationDetailsB\x03\xe0\x41\x03:\x93\x02\xea\x41\x8f\x02\n&auditmanager.googleapis.com/Enrollment\x12@projects/{project}/locations/{location}/enrollments/{enrollment}\x12>folders/{folder}/locations/{location}/enrollments/{enrollment}\x12Jorganizations/{organization}/locations/{location}/enrollments/{enrollment}*\x0b\x65nrollments2\nenrollment\"\xce\x02\n\x10\x41uditScopeReport\x12\x1f\n\x15scope_report_contents\x18\x01 \x01(\x0cH\x00\x12\x11\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x08:\xf5\x01\xea\x41\xf1\x01\n,auditmanager.googleapis.com/AuditScopeReport\x12Nprojects/{project}/locations/{location}/auditScopeReports/{audit_scope_report}\x12Lfolders/{folder}/locations/{location}/auditScopeReports/{audit_scope_report}*\x11\x61uditScopeReports2\x10\x61uditScopeReportB\x0e\n\x0c\x61udit_report\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xa6\x06\n\x18ResourceEnrollmentStatus\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x41\n\nenrollment\x18\x02 \x01(\x0b\x32(.google.cloud.auditmanager.v1.EnrollmentB\x03\xe0\x41\x03\x12\x17\n\x08\x65nrolled\x18\x03 \x01(\x08\x42\x05\x18\x01\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12m\n\x10\x65nrollment_state\x18\x05 \x01(\x0e\x32N.google.cloud.auditmanager.v1.ResourceEnrollmentStatus.ResourceEnrollmentStateB\x03\xe0\x41\x03\"s\n\x17ResourceEnrollmentState\x12)\n%RESOURCE_ENROLLMENT_STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cNOT_ENROLLED\x10\x01\x12\r\n\tINHERITED\x10\x02\x12\x0c\n\x08\x45NROLLED\x10\x03:\x9b\x03\xea\x41\x97\x03\n4auditmanager.googleapis.com/ResourceEnrollmentStatus\x12]folders/{folder}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}\x12_projects/{project}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}\x12iorganizations/{organization}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}*\x1aresourceEnrollmentStatuses2\x18resourceEnrollmentStatus\"\x89\x07\n\x0b\x41uditReport\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12H\n\x0ereport_summary\x18\x02 \x01(\x0b\x32+.google.cloud.auditmanager.v1.ReportSummaryB\x03\xe0\x41\x03\x12\x19\n\x0coperation_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12R\n\x13\x64\x65stination_details\x18\x04 \x01(\x0b\x32\x30.google.cloud.auditmanager.v1.DestinationDetailsB\x03\xe0\x41\x03\x12 \n\x13\x63ompliance_standard\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05scope\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12J\n\x0f\x63ontrol_details\x18\x08 \x03(\x0b\x32,.google.cloud.auditmanager.v1.ControlDetailsB\x03\xe0\x41\x03\x12\x65\n\x17report_generation_state\x18\t \x01(\x0e\x32?.google.cloud.auditmanager.v1.AuditReport.ReportGenerationStateB\x03\xe0\x41\x03\x12!\n\x14\x63ompliance_framework\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08scope_id\x18\x0b \x01(\tB\x03\xe0\x41\x03\"\x81\x01\n\x15ReportGenerationState\x12\'\n#REPORT_GENERATION_STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x13\n\x0fSUMMARY_UNKNOWN\x10\x04:\xd0\x01\xea\x41\xcc\x01\n\'auditmanager.googleapis.com/AuditReport\x12\x43projects/{project}/locations/{location}/auditReports/{audit_report}\x12\x41\x66olders/{folder}/locations/{location}/auditReports/{audit_report}*\x0c\x61uditReports2\x0b\x61uditReport\"8\n\rControlFamily\x12\x11\n\tfamily_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\"\xfb\x04\n\x07\x43ontrol\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x41\n\x06\x66\x61mily\x18\x03 \x01(\x0e\x32,.google.cloud.auditmanager.v1.Control.FamilyB\x03\xe0\x41\x03\x12H\n\x0e\x63ontrol_family\x18\n \x01(\x0b\x32+.google.cloud.auditmanager.v1.ControlFamilyB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12 \n\x13responsibility_type\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12.\n!google_responsibility_description\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x31\n$google_responsibility_implementation\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x30\n#customer_responsibility_description\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x33\n&customer_responsibility_implementation\x18\t \x01(\tB\x03\xe0\x41\x03\"\xb0\x01\n\x06\x46\x61mily\x12\x16\n\x12\x46\x41MILY_UNSPECIFIED\x10\x00\x12\x06\n\x02\x41\x43\x10\x01\x12\x06\n\x02\x41T\x10\x02\x12\x06\n\x02\x41U\x10\x03\x12\x06\n\x02\x43\x41\x10\x04\x12\x06\n\x02\x43M\x10\x05\x12\x06\n\x02\x43P\x10\x06\x12\x06\n\x02IA\x10\x07\x12\x06\n\x02IR\x10\x08\x12\x06\n\x02MA\x10\t\x12\x06\n\x02MP\x10\n\x12\x06\n\x02PE\x10\x0b\x12\x06\n\x02PL\x10\x0c\x12\x06\n\x02PS\x10\r\x12\x06\n\x02RA\x10\x0e\x12\x06\n\x02SA\x10\x0f\x12\x06\n\x02SC\x10\x10\x12\x06\n\x02SI\x10\x11\x12\x06\n\x02SR\x10\x12\"=\n\x12\x44\x65stinationDetails\x12\x18\n\x0egcs_bucket_uri\x18\x01 \x01(\tH\x00\x42\r\n\x0b\x64\x65stination\"\x8f\x01\n\rReportSummary\x12\x13\n\x0btotal_count\x18\x01 \x01(\x05\x12\x17\n\x0f\x63ompliant_count\x18\x02 \x01(\x05\x12\x17\n\x0fviolation_count\x18\x03 \x01(\x05\x12\"\n\x1amanual_review_needed_count\x18\x04 \x01(\x05\x12\x13\n\x0b\x65rror_count\x18\x05 \x01(\x05\"\xe3\x01\n\x0e\x43ontrolDetails\x12\x36\n\x07\x63ontrol\x18\x01 \x01(\x0b\x32%.google.cloud.auditmanager.v1.Control\x12L\n\x10\x63ompliance_state\x18\x02 \x01(\x0e\x32-.google.cloud.auditmanager.v1.ComplianceStateB\x03\xe0\x41\x03\x12K\n\x16\x63ontrol_report_summary\x18\x03 \x01(\x0b\x32+.google.cloud.auditmanager.v1.ReportSummary*\xfb\x02\n\x0eOperationState\x12\x1f\n\x1bOPERATION_STATE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bOPERATION_STATE_NOT_STARTED\x10\n\x12*\n&OPERATION_STATE_EVALUATION_IN_PROGRESS\x10\x14\x12#\n\x1fOPERATION_STATE_EVALUATION_DONE\x10\x15\x12:\n6OPERATION_STATE_EVIDENCE_REPORT_GENERATION_IN_PROGRESS\x10\x1e\x12\x33\n/OPERATION_STATE_EVIDENCE_REPORT_GENERATION_DONE\x10\x1f\x12/\n+OPERATION_STATE_EVIDENCE_UPLOAD_IN_PROGRESS\x10(\x12\x18\n\x14OPERATION_STATE_DONE\x10\x32\x12\x1a\n\x16OPERATION_STATE_FAILED\x10<*\x8f\x01\n\x0f\x43omplianceState\x12 \n\x1c\x43OMPLIANCE_STATE_UNSPECIFIED\x10\x00\x12\r\n\tCOMPLIANT\x10\x01\x12\r\n\tVIOLATION\x10\x02\x12\x18\n\x14MANUAL_REVIEW_NEEDED\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x17\n\x13\x41UDIT_NOT_SUPPORTED\x10\x05\x32\xc0\x14\n\x0c\x41uditManager\x12\xb8\x02\n\x0e\x45nrollResource\x12\x33.google.cloud.auditmanager.v1.EnrollResourceRequest\x1a(.google.cloud.auditmanager.v1.Enrollment\"\xc6\x01\xda\x41\x12scope,destinations\x82\xd3\xe4\x93\x02\xaa\x01\"0/v1/{scope=folders/*/locations/*}:enrollResource:\x01*Z6\"1/v1/{scope=projects/*/locations/*}:enrollResource:\x01*Z;\"6/v1/{scope=organizations/*/locations/*}:enrollResource:\x01*\x12\xc2\x02\n\x18GenerateAuditScopeReport\x12=.google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest\x1a..google.cloud.auditmanager.v1.AuditScopeReport\"\xb6\x01\xda\x41\'scope,compliance_standard,report_format\x82\xd3\xe4\x93\x02\x85\x01\"</v1/{scope=folders/*/locations/*}/auditScopeReports:generate:\x01*ZB\"=/v1/{scope=projects/*/locations/*}/auditScopeReports:generate:\x01*\x12\xc7\x02\n\x13GenerateAuditReport\x12\x38.google.cloud.auditmanager.v1.GenerateAuditReportRequest\x1a\x1d.google.longrunning.Operation\"\xd6\x01\xca\x41 \n\x0b\x41uditReport\x12\x11OperationMetadata\xda\x41/scope,gcs_uri,compliance_standard,report_format\x82\xd3\xe4\x93\x02{\"7/v1/{scope=folders/*/locations/*}/auditReports:generate:\x01*Z=\"8/v1/{scope=projects/*/locations/*}/auditReports:generate:\x01*\x12\xb2\x02\n\x10ListAuditReports\x12\x35.google.cloud.auditmanager.v1.ListAuditReportsRequest\x1a\x36.google.cloud.auditmanager.v1.ListAuditReportsResponse\"\xae\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x9e\x01\x12\x35/v1/{parent=organizations/*/locations/*}/auditReportsZ1\x12//v1/{parent=folders/*/locations/*}/auditReportsZ2\x12\x30/v1/{parent=projects/*/locations/*}/auditReports\x12\xe4\x01\n\x0eGetAuditReport\x12\x33.google.cloud.auditmanager.v1.GetAuditReportRequest\x1a).google.cloud.auditmanager.v1.AuditReport\"r\xda\x41\x04name\x82\xd3\xe4\x93\x02\x65\x12//v1/{name=folders/*/locations/*/auditReports/*}Z2\x12\x30/v1/{name=projects/*/locations/*/auditReports/*}\x12\xf0\x02\n\x1bGetResourceEnrollmentStatus\x12@.google.cloud.auditmanager.v1.GetResourceEnrollmentStatusRequest\x1a\x36.google.cloud.auditmanager.v1.ResourceEnrollmentStatus\"\xd6\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xc8\x01\x12>/v1/{name=projects/*/locations/*/resourceEnrollmentStatuses/*}Z?\x12=/v1/{name=folders/*/locations/*/resourceEnrollmentStatuses/*}ZE\x12\x43/v1/{name=organizations/*/locations/*/resourceEnrollmentStatuses/*}\x12\xc4\x02\n\x1eListResourceEnrollmentStatuses\x12\x43.google.cloud.auditmanager.v1.ListResourceEnrollmentStatusesRequest\x1a\x44.google.cloud.auditmanager.v1.ListResourceEnrollmentStatusesResponse\"\x96\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x86\x01\x12\x43/v1/{parent=organizations/*/locations/*}/resourceEnrollmentStatusesZ?\x12=/v1/{parent=folders/*/locations/*}/resourceEnrollmentStatuses\x12\xbe\x02\n\x0cListControls\x12\x31.google.cloud.auditmanager.v1.ListControlsRequest\x1a\x32.google.cloud.auditmanager.v1.ListControlsResponse\"\xc6\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xb6\x01\x12=/v1/{parent=organizations/*/locations/*/standards/*}/controlsZ9\x12\x37/v1/{parent=folders/*/locations/*/standards/*}/controlsZ:\x12\x38/v1/{parent=projects/*/locations/*/standards/*}/controls\x1aO\xca\x41\x1b\x61uditmanager.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x92\x06\n com.google.cloud.auditmanager.v1B\x0bV1mainProtoP\x01ZDcloud.google.com/go/auditmanager/apiv1/auditmanagerpb;auditmanagerpb\xaa\x02\x1cGoogle.Cloud.AuditManager.V1\xca\x02\x1cGoogle\\Cloud\\AuditManager\\V1\xea\x02\x1fGoogle::Cloud::AuditManager::V1\xea\x41S\n*auditmanager.googleapis.com/FolderLocation\x12%folders/{folder}/locations/{location}\xea\x41\x65\n0auditmanager.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}\xea\x41\xe8\x01\n$auditmanager.googleapis.com/Standard\x12<projects/{project}/locations/{location}/standards/{standard}\x12:folders/{folder}/locations/{location}/standards/{standard}\x12\x46organizations/{organization}/locations/{location}/standards/{standard}\xea\x41\x8d\x01\n1auditmanager.googleapis.com/EnrollmentStatusScope\x12%folders/{folder}/locations/{location}\x12\x31organizations/{organization}/locations/{location}b\x06proto3"
|
|
15
|
+
descriptor_data = "\n/google/cloud/auditmanager/v1/auditmanager.proto\x12\x1cgoogle.cloud.auditmanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xde\x01\n\x15\x45nrollResourceRequest\x12\x12\n\x05scope\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x62\n\x0c\x64\x65stinations\x18\x02 \x03(\x0b\x32G.google.cloud.auditmanager.v1.EnrollResourceRequest.EligibleDestinationB\x03\xe0\x41\x02\x1aM\n\x13\x45ligibleDestination\x12\x1d\n\x13\x65ligible_gcs_bucket\x18\x03 \x01(\tH\x00\x42\x17\n\x15\x65ligible_destinations\"\xd6\x02\n\x1fGenerateAuditScopeReportRequest\x12\x12\n\x05scope\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\"\n\x13\x63ompliance_standard\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x01\x12p\n\rreport_format\x18\x04 \x01(\x0e\x32T.google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest.AuditScopeReportFormatB\x03\xe0\x41\x02\x12!\n\x14\x63ompliance_framework\x18\x05 \x01(\tB\x03\xe0\x41\x02\"f\n\x16\x41uditScopeReportFormat\x12)\n%AUDIT_SCOPE_REPORT_FORMAT_UNSPECIFIED\x10\x00\x12!\n\x1d\x41UDIT_SCOPE_REPORT_FORMAT_ODF\x10\x01\"\xf4\x02\n\x1aGenerateAuditReportRequest\x12\x11\n\x07gcs_uri\x18\x02 \x01(\tH\x00\x12\x12\n\x05scope\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\"\n\x13\x63ompliance_standard\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x01\x12\x66\n\rreport_format\x18\x04 \x01(\x0e\x32J.google.cloud.auditmanager.v1.GenerateAuditReportRequest.AuditReportFormatB\x03\xe0\x41\x02\x12!\n\x14\x63ompliance_framework\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\"U\n\x11\x41uditReportFormat\x12#\n\x1f\x41UDIT_REPORT_FORMAT_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x41UDIT_REPORT_FORMAT_ODF\x10\x01\x42\r\n\x0b\x64\x65stination\"p\n\"GetResourceEnrollmentStatusRequest\x12J\n\x04name\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\n4auditmanager.googleapis.com/ResourceEnrollmentStatus\"\xa3\x01\n%ListResourceEnrollmentStatusesRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1auditmanager.googleapis.com/EnrollmentStatusScope\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xa4\x01\n&ListResourceEnrollmentStatusesResponse\x12\\\n\x1cresource_enrollment_statuses\x18\x01 \x03(\x0b\x32\x36.google.cloud.auditmanager.v1.ResourceEnrollmentStatus\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\x8b\x01\n\x17ListAuditReportsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'auditmanager.googleapis.com/AuditReport\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x18ListAuditReportsResponse\x12\x45\n\raudit_reports\x18\x01 \x03(\x0b\x32).google.cloud.auditmanager.v1.AuditReportB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"V\n\x15GetAuditReportRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'auditmanager.googleapis.com/AuditReport\"\x84\x01\n\x13ListControlsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$auditmanager.googleapis.com/Standard\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"r\n\x14ListControlsResponse\x12<\n\x08\x63ontrols\x18\x01 \x03(\x0b\x32%.google.cloud.auditmanager.v1.ControlB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xe1\x02\n\x18ReportGenerationProgress\x12@\n\x05state\x18\x01 \x01(\x0e\x32,.google.cloud.auditmanager.v1.OperationStateB\x03\xe0\x41\x03\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12#\n\x1b\x65valuation_percent_complete\x18\x14 \x01(\x01\x12*\n\"report_generation_percent_complete\x18\x1e \x01(\x01\x12)\n!report_uploading_percent_complete\x18( \x01(\x01\x12#\n\x16\x64\x65stination_gcs_bucket\x18\x32 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x0c\x61udit_report\x18\x33 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'auditmanager.googleapis.com/AuditReport\"\x89\x03\n\nEnrollment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12R\n\x13\x64\x65stination_details\x18\x03 \x03(\x0b\x32\x30.google.cloud.auditmanager.v1.DestinationDetailsB\x03\xe0\x41\x03:\x93\x02\xea\x41\x8f\x02\n&auditmanager.googleapis.com/Enrollment\x12@projects/{project}/locations/{location}/enrollments/{enrollment}\x12>folders/{folder}/locations/{location}/enrollments/{enrollment}\x12Jorganizations/{organization}/locations/{location}/enrollments/{enrollment}*\x0b\x65nrollments2\nenrollment\"\xa8\x03\n\x10\x41uditScopeReport\x12\x1f\n\x15scope_report_contents\x18\x01 \x01(\x0cH\x00\x12\x11\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x08:\xcf\x02\xea\x41\xcb\x02\n,auditmanager.googleapis.com/AuditScopeReport\x12Nprojects/{project}/locations/{location}/auditScopeReports/{audit_scope_report}\x12Lfolders/{folder}/locations/{location}/auditScopeReports/{audit_scope_report}\x12Xorganizations/{organization}/locations/{location}/auditScopeReports/{audit_scope_report}*\x11\x61uditScopeReports2\x10\x61uditScopeReportB\x0e\n\x0c\x61udit_report\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xa6\x06\n\x18ResourceEnrollmentStatus\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x41\n\nenrollment\x18\x02 \x01(\x0b\x32(.google.cloud.auditmanager.v1.EnrollmentB\x03\xe0\x41\x03\x12\x17\n\x08\x65nrolled\x18\x03 \x01(\x08\x42\x05\x18\x01\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12m\n\x10\x65nrollment_state\x18\x05 \x01(\x0e\x32N.google.cloud.auditmanager.v1.ResourceEnrollmentStatus.ResourceEnrollmentStateB\x03\xe0\x41\x03\"s\n\x17ResourceEnrollmentState\x12)\n%RESOURCE_ENROLLMENT_STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cNOT_ENROLLED\x10\x01\x12\r\n\tINHERITED\x10\x02\x12\x0c\n\x08\x45NROLLED\x10\x03:\x9b\x03\xea\x41\x97\x03\n4auditmanager.googleapis.com/ResourceEnrollmentStatus\x12]folders/{folder}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}\x12_projects/{project}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}\x12iorganizations/{organization}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}*\x1aresourceEnrollmentStatuses2\x18resourceEnrollmentStatus\"\xda\x07\n\x0b\x41uditReport\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12H\n\x0ereport_summary\x18\x02 \x01(\x0b\x32+.google.cloud.auditmanager.v1.ReportSummaryB\x03\xe0\x41\x03\x12\x19\n\x0coperation_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12R\n\x13\x64\x65stination_details\x18\x04 \x01(\x0b\x32\x30.google.cloud.auditmanager.v1.DestinationDetailsB\x03\xe0\x41\x03\x12\"\n\x13\x63ompliance_standard\x18\x05 \x01(\tB\x05\x18\x01\xe0\x41\x03\x12\x12\n\x05scope\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12J\n\x0f\x63ontrol_details\x18\x08 \x03(\x0b\x32,.google.cloud.auditmanager.v1.ControlDetailsB\x03\xe0\x41\x03\x12\x65\n\x17report_generation_state\x18\t \x01(\x0e\x32?.google.cloud.auditmanager.v1.AuditReport.ReportGenerationStateB\x03\xe0\x41\x03\x12!\n\x14\x63ompliance_framework\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08scope_id\x18\x0b \x01(\tB\x03\xe0\x41\x03\"\x81\x01\n\x15ReportGenerationState\x12\'\n#REPORT_GENERATION_STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x13\n\x0fSUMMARY_UNKNOWN\x10\x04:\x9f\x02\xea\x41\x9b\x02\n\'auditmanager.googleapis.com/AuditReport\x12\x43projects/{project}/locations/{location}/auditReports/{audit_report}\x12\x41\x66olders/{folder}/locations/{location}/auditReports/{audit_report}\x12Morganizations/{organization}/locations/{location}/auditReports/{audit_report}*\x0c\x61uditReports2\x0b\x61uditReport\"8\n\rControlFamily\x12\x11\n\tfamily_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\"\xfb\x04\n\x07\x43ontrol\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x41\n\x06\x66\x61mily\x18\x03 \x01(\x0e\x32,.google.cloud.auditmanager.v1.Control.FamilyB\x03\xe0\x41\x03\x12H\n\x0e\x63ontrol_family\x18\n \x01(\x0b\x32+.google.cloud.auditmanager.v1.ControlFamilyB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12 \n\x13responsibility_type\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12.\n!google_responsibility_description\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x31\n$google_responsibility_implementation\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x30\n#customer_responsibility_description\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x33\n&customer_responsibility_implementation\x18\t \x01(\tB\x03\xe0\x41\x03\"\xb0\x01\n\x06\x46\x61mily\x12\x16\n\x12\x46\x41MILY_UNSPECIFIED\x10\x00\x12\x06\n\x02\x41\x43\x10\x01\x12\x06\n\x02\x41T\x10\x02\x12\x06\n\x02\x41U\x10\x03\x12\x06\n\x02\x43\x41\x10\x04\x12\x06\n\x02\x43M\x10\x05\x12\x06\n\x02\x43P\x10\x06\x12\x06\n\x02IA\x10\x07\x12\x06\n\x02IR\x10\x08\x12\x06\n\x02MA\x10\t\x12\x06\n\x02MP\x10\n\x12\x06\n\x02PE\x10\x0b\x12\x06\n\x02PL\x10\x0c\x12\x06\n\x02PS\x10\r\x12\x06\n\x02RA\x10\x0e\x12\x06\n\x02SA\x10\x0f\x12\x06\n\x02SC\x10\x10\x12\x06\n\x02SI\x10\x11\x12\x06\n\x02SR\x10\x12\"=\n\x12\x44\x65stinationDetails\x12\x18\n\x0egcs_bucket_uri\x18\x01 \x01(\tH\x00\x42\r\n\x0b\x64\x65stination\"\x8f\x01\n\rReportSummary\x12\x13\n\x0btotal_count\x18\x01 \x01(\x05\x12\x17\n\x0f\x63ompliant_count\x18\x02 \x01(\x05\x12\x17\n\x0fviolation_count\x18\x03 \x01(\x05\x12\"\n\x1amanual_review_needed_count\x18\x04 \x01(\x05\x12\x13\n\x0b\x65rror_count\x18\x05 \x01(\x05\"\xe3\x01\n\x0e\x43ontrolDetails\x12\x36\n\x07\x63ontrol\x18\x01 \x01(\x0b\x32%.google.cloud.auditmanager.v1.Control\x12L\n\x10\x63ompliance_state\x18\x02 \x01(\x0e\x32-.google.cloud.auditmanager.v1.ComplianceStateB\x03\xe0\x41\x03\x12K\n\x16\x63ontrol_report_summary\x18\x03 \x01(\x0b\x32+.google.cloud.auditmanager.v1.ReportSummary*\xfb\x02\n\x0eOperationState\x12\x1f\n\x1bOPERATION_STATE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bOPERATION_STATE_NOT_STARTED\x10\n\x12*\n&OPERATION_STATE_EVALUATION_IN_PROGRESS\x10\x14\x12#\n\x1fOPERATION_STATE_EVALUATION_DONE\x10\x15\x12:\n6OPERATION_STATE_EVIDENCE_REPORT_GENERATION_IN_PROGRESS\x10\x1e\x12\x33\n/OPERATION_STATE_EVIDENCE_REPORT_GENERATION_DONE\x10\x1f\x12/\n+OPERATION_STATE_EVIDENCE_UPLOAD_IN_PROGRESS\x10(\x12\x18\n\x14OPERATION_STATE_DONE\x10\x32\x12\x1a\n\x16OPERATION_STATE_FAILED\x10<*\x8f\x01\n\x0f\x43omplianceState\x12 \n\x1c\x43OMPLIANCE_STATE_UNSPECIFIED\x10\x00\x12\r\n\tCOMPLIANT\x10\x01\x12\r\n\tVIOLATION\x10\x02\x12\x18\n\x14MANUAL_REVIEW_NEEDED\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x17\n\x13\x41UDIT_NOT_SUPPORTED\x10\x05\x32\xbd\x16\n\x0c\x41uditManager\x12\xb8\x02\n\x0e\x45nrollResource\x12\x33.google.cloud.auditmanager.v1.EnrollResourceRequest\x1a(.google.cloud.auditmanager.v1.Enrollment\"\xc6\x01\xda\x41\x12scope,destinations\x82\xd3\xe4\x93\x02\xaa\x01\"0/v1/{scope=folders/*/locations/*}:enrollResource:\x01*Z6\"1/v1/{scope=projects/*/locations/*}:enrollResource:\x01*Z;\"6/v1/{scope=organizations/*/locations/*}:enrollResource:\x01*\x12\x8b\x03\n\x18GenerateAuditScopeReport\x12=.google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest\x1a..google.cloud.auditmanager.v1.AuditScopeReport\"\xff\x01\xda\x41\'scope,compliance_standard,report_format\x82\xd3\xe4\x93\x02\xce\x01\"</v1/{scope=folders/*/locations/*}/auditScopeReports:generate:\x01*ZB\"=/v1/{scope=projects/*/locations/*}/auditScopeReports:generate:\x01*ZG\"B/v1/{scope=organizations/*/locations/*}/auditScopeReports:generate:\x01*\x12\x8c\x03\n\x13GenerateAuditReport\x12\x38.google.cloud.auditmanager.v1.GenerateAuditReportRequest\x1a\x1d.google.longrunning.Operation\"\x9b\x02\xca\x41 \n\x0b\x41uditReport\x12\x11OperationMetadata\xda\x41/scope,gcs_uri,compliance_standard,report_format\x82\xd3\xe4\x93\x02\xbf\x01\"7/v1/{scope=folders/*/locations/*}/auditReports:generate:\x01*Z=\"8/v1/{scope=projects/*/locations/*}/auditReports:generate:\x01*ZB\"=/v1/{scope=organizations/*/locations/*}/auditReports:generate:\x01*\x12\xb2\x02\n\x10ListAuditReports\x12\x35.google.cloud.auditmanager.v1.ListAuditReportsRequest\x1a\x36.google.cloud.auditmanager.v1.ListAuditReportsResponse\"\xae\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x9e\x01\x12\x35/v1/{parent=organizations/*/locations/*}/auditReportsZ1\x12//v1/{parent=folders/*/locations/*}/auditReportsZ2\x12\x30/v1/{parent=projects/*/locations/*}/auditReports\x12\x9f\x02\n\x0eGetAuditReport\x12\x33.google.cloud.auditmanager.v1.GetAuditReportRequest\x1a).google.cloud.auditmanager.v1.AuditReport\"\xac\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x9e\x01\x12//v1/{name=folders/*/locations/*/auditReports/*}Z2\x12\x30/v1/{name=projects/*/locations/*/auditReports/*}Z7\x12\x35/v1/{name=organizations/*/locations/*/auditReports/*}\x12\xf0\x02\n\x1bGetResourceEnrollmentStatus\x12@.google.cloud.auditmanager.v1.GetResourceEnrollmentStatusRequest\x1a\x36.google.cloud.auditmanager.v1.ResourceEnrollmentStatus\"\xd6\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xc8\x01\x12>/v1/{name=projects/*/locations/*/resourceEnrollmentStatuses/*}Z?\x12=/v1/{name=folders/*/locations/*/resourceEnrollmentStatuses/*}ZE\x12\x43/v1/{name=organizations/*/locations/*/resourceEnrollmentStatuses/*}\x12\xc4\x02\n\x1eListResourceEnrollmentStatuses\x12\x43.google.cloud.auditmanager.v1.ListResourceEnrollmentStatusesRequest\x1a\x44.google.cloud.auditmanager.v1.ListResourceEnrollmentStatusesResponse\"\x96\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x86\x01\x12\x43/v1/{parent=organizations/*/locations/*}/resourceEnrollmentStatusesZ?\x12=/v1/{parent=folders/*/locations/*}/resourceEnrollmentStatuses\x12\xbe\x02\n\x0cListControls\x12\x31.google.cloud.auditmanager.v1.ListControlsRequest\x1a\x32.google.cloud.auditmanager.v1.ListControlsResponse\"\xc6\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xb6\x01\x12=/v1/{parent=organizations/*/locations/*/standards/*}/controlsZ9\x12\x37/v1/{parent=folders/*/locations/*/standards/*}/controlsZ:\x12\x38/v1/{parent=projects/*/locations/*/standards/*}/controls\x1a\x82\x01\xca\x41\x1b\x61uditmanager.googleapis.com\xd2\x41\x61https://www.googleapis.com/auth/cloud-auditmanager,https://www.googleapis.com/auth/cloud-platformB\x92\x06\n com.google.cloud.auditmanager.v1B\x0bV1mainProtoP\x01ZDcloud.google.com/go/auditmanager/apiv1/auditmanagerpb;auditmanagerpb\xaa\x02\x1cGoogle.Cloud.AuditManager.V1\xca\x02\x1cGoogle\\Cloud\\AuditManager\\V1\xea\x02\x1fGoogle::Cloud::AuditManager::V1\xea\x41S\n*auditmanager.googleapis.com/FolderLocation\x12%folders/{folder}/locations/{location}\xea\x41\x65\n0auditmanager.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}\xea\x41\xe8\x01\n$auditmanager.googleapis.com/Standard\x12<projects/{project}/locations/{location}/standards/{standard}\x12:folders/{folder}/locations/{location}/standards/{standard}\x12\x46organizations/{organization}/locations/{location}/standards/{standard}\xea\x41\x8d\x01\n1auditmanager.googleapis.com/EnrollmentStatusScope\x12%folders/{folder}/locations/{location}\x12\x31organizations/{organization}/locations/{location}b\x06proto3"
|
|
16
16
|
|
|
17
17
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
18
18
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -33,28 +33,37 @@ module Google
|
|
|
33
33
|
self.unmarshal_class_method = :decode
|
|
34
34
|
self.service_name = 'google.cloud.auditmanager.v1.AuditManager'
|
|
35
35
|
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
# workload and
|
|
39
|
-
#
|
|
40
|
-
# then
|
|
36
|
+
# Adds your project, folder, or organization to Audit
|
|
37
|
+
# Manager. This method creates the Audit Manager service agent in your
|
|
38
|
+
# workload and grants required permissions to the service agent.
|
|
39
|
+
# If you make this request on a workload that's already enrolled,
|
|
40
|
+
# then this method overrides the existing set of destinations.
|
|
41
41
|
rpc :EnrollResource, ::Google::Cloud::AuditManager::V1::EnrollResourceRequest, ::Google::Cloud::AuditManager::V1::Enrollment
|
|
42
|
-
# Generates
|
|
43
|
-
#
|
|
44
|
-
#
|
|
42
|
+
# Generates an audit scope report for the given standard.
|
|
43
|
+
#
|
|
44
|
+
# The report includes the following:
|
|
45
|
+
#
|
|
46
|
+
# * The technical attributes and constraints that Audit Manager uses to
|
|
47
|
+
# verify your compliance with a framework.
|
|
48
|
+
# * A list of Google Cloud services and resources that are within the
|
|
49
|
+
# scope of the framework.
|
|
45
50
|
rpc :GenerateAuditScopeReport, ::Google::Cloud::AuditManager::V1::GenerateAuditScopeReportRequest, ::Google::Cloud::AuditManager::V1::AuditScopeReport
|
|
46
|
-
#
|
|
47
|
-
#
|
|
51
|
+
# Registers audit report generation requests. This method returns the
|
|
52
|
+
# operation identifier that you can use to track the report generation
|
|
53
|
+
# progress.
|
|
48
54
|
rpc :GenerateAuditReport, ::Google::Cloud::AuditManager::V1::GenerateAuditReportRequest, ::Google::Longrunning::Operation
|
|
49
|
-
# Lists audit reports
|
|
55
|
+
# Lists the audit reports for the organization, folder, or project that you
|
|
56
|
+
# specify as the parent scope.
|
|
50
57
|
rpc :ListAuditReports, ::Google::Cloud::AuditManager::V1::ListAuditReportsRequest, ::Google::Cloud::AuditManager::V1::ListAuditReportsResponse
|
|
51
|
-
#
|
|
58
|
+
# Gets the full metadata and findings for an audit report.
|
|
52
59
|
rpc :GetAuditReport, ::Google::Cloud::AuditManager::V1::GetAuditReportRequest, ::Google::Cloud::AuditManager::V1::AuditReport
|
|
53
|
-
#
|
|
60
|
+
# Gets a resource and its enrollment status.
|
|
54
61
|
rpc :GetResourceEnrollmentStatus, ::Google::Cloud::AuditManager::V1::GetResourceEnrollmentStatusRequest, ::Google::Cloud::AuditManager::V1::ResourceEnrollmentStatus
|
|
55
|
-
#
|
|
62
|
+
# Lists all the folders and projects in an organization or folder, along with
|
|
63
|
+
# their enrollments.
|
|
56
64
|
rpc :ListResourceEnrollmentStatuses, ::Google::Cloud::AuditManager::V1::ListResourceEnrollmentStatusesRequest, ::Google::Cloud::AuditManager::V1::ListResourceEnrollmentStatusesResponse
|
|
57
|
-
#
|
|
65
|
+
# Lists the controls that you must implement to become compliant to a
|
|
66
|
+
# regulatory standard.
|
|
58
67
|
rpc :ListControls, ::Google::Cloud::AuditManager::V1::ListControlsRequest, ::Google::Cloud::AuditManager::V1::ListControlsResponse
|
|
59
68
|
end
|
|
60
69
|
|