Class: Google::Cloud::SecurityCenter::V2::ListFindingsResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycenter/v2/securitycenter_service.rb

Overview

Response message for listing findings.

Defined Under Namespace

Classes: ListFindingsResult

Instance Attribute Summary collapse

Instance Attribute Details

#list_findings_results::Array<::Google::Cloud::SecurityCenter::V2::ListFindingsResponse::ListFindingsResult>

Returns Findings matching the list request.

Returns:



723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
# File 'proto_docs/google/cloud/securitycenter/v2/securitycenter_service.rb', line 723

class ListFindingsResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Result containing the Finding.
  # @!attribute [rw] finding
  #   @return [::Google::Cloud::SecurityCenter::V2::Finding]
  #     Finding matching the search request.
  # @!attribute [r] resource
  #   @return [::Google::Cloud::SecurityCenter::V2::ListFindingsResponse::ListFindingsResult::Resource]
  #     Output only. Resource that is associated with this finding.
  class ListFindingsResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information related to the Google Cloud resource that is
    # associated with this finding.
    # @!attribute [rw] name
    #   @return [::String]
    #     The full resource name of the resource. See:
    #     https://cloud.google.com/apis/design/resource_names#full_resource_name
    # @!attribute [rw] display_name
    #   @return [::String]
    #     The human readable name of the resource.
    # @!attribute [rw] type
    #   @return [::String]
    #     The full resource type of the resource.
    # @!attribute [rw] cloud_provider
    #   @return [::Google::Cloud::SecurityCenter::V2::CloudProvider]
    #     Indicates which cloud provider the finding is from.
    # @!attribute [rw] service
    #   @return [::String]
    #     The service or resource provider associated with the resource.
    # @!attribute [rw] location
    #   @return [::String]
    #     The region or location of the service (if applicable).
    # @!attribute [rw] gcp_metadata
    #   @return [::Google::Cloud::SecurityCenter::V2::GcpMetadata]
    #     The GCP metadata associated with the finding.
    #
    #     Note: The following fields are mutually exclusive: `gcp_metadata`, `aws_metadata`, `azure_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] aws_metadata
    #   @return [::Google::Cloud::SecurityCenter::V2::AwsMetadata]
    #     The AWS metadata associated with the finding.
    #
    #     Note: The following fields are mutually exclusive: `aws_metadata`, `gcp_metadata`, `azure_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] azure_metadata
    #   @return [::Google::Cloud::SecurityCenter::V2::AzureMetadata]
    #     The Azure metadata associated with the finding.
    #
    #     Note: The following fields are mutually exclusive: `azure_metadata`, `gcp_metadata`, `aws_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] resource_path
    #   @return [::Google::Cloud::SecurityCenter::V2::ResourcePath]
    #     Provides the path to the resource within the resource hierarchy.
    # @!attribute [rw] resource_path_string
    #   @return [::String]
    #     A string representation of the resource path.
    #     For Google Cloud, it has the format of
    #     `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}`
    #     where there can be any number of folders.
    #     For AWS, it has the format of
    #     `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}`
    #     where there can be any number of organizational units.
    #     For Azure, it has the format of
    #     `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}`
    #     where there can be any number of management groups.
    class Resource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#next_page_token::String

Returns Token to retrieve the next page of results, or empty if there are no more results.

Returns:

  • (::String)

    Token to retrieve the next page of results, or empty if there are no more results.



723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
# File 'proto_docs/google/cloud/securitycenter/v2/securitycenter_service.rb', line 723

class ListFindingsResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Result containing the Finding.
  # @!attribute [rw] finding
  #   @return [::Google::Cloud::SecurityCenter::V2::Finding]
  #     Finding matching the search request.
  # @!attribute [r] resource
  #   @return [::Google::Cloud::SecurityCenter::V2::ListFindingsResponse::ListFindingsResult::Resource]
  #     Output only. Resource that is associated with this finding.
  class ListFindingsResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information related to the Google Cloud resource that is
    # associated with this finding.
    # @!attribute [rw] name
    #   @return [::String]
    #     The full resource name of the resource. See:
    #     https://cloud.google.com/apis/design/resource_names#full_resource_name
    # @!attribute [rw] display_name
    #   @return [::String]
    #     The human readable name of the resource.
    # @!attribute [rw] type
    #   @return [::String]
    #     The full resource type of the resource.
    # @!attribute [rw] cloud_provider
    #   @return [::Google::Cloud::SecurityCenter::V2::CloudProvider]
    #     Indicates which cloud provider the finding is from.
    # @!attribute [rw] service
    #   @return [::String]
    #     The service or resource provider associated with the resource.
    # @!attribute [rw] location
    #   @return [::String]
    #     The region or location of the service (if applicable).
    # @!attribute [rw] gcp_metadata
    #   @return [::Google::Cloud::SecurityCenter::V2::GcpMetadata]
    #     The GCP metadata associated with the finding.
    #
    #     Note: The following fields are mutually exclusive: `gcp_metadata`, `aws_metadata`, `azure_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] aws_metadata
    #   @return [::Google::Cloud::SecurityCenter::V2::AwsMetadata]
    #     The AWS metadata associated with the finding.
    #
    #     Note: The following fields are mutually exclusive: `aws_metadata`, `gcp_metadata`, `azure_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] azure_metadata
    #   @return [::Google::Cloud::SecurityCenter::V2::AzureMetadata]
    #     The Azure metadata associated with the finding.
    #
    #     Note: The following fields are mutually exclusive: `azure_metadata`, `gcp_metadata`, `aws_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] resource_path
    #   @return [::Google::Cloud::SecurityCenter::V2::ResourcePath]
    #     Provides the path to the resource within the resource hierarchy.
    # @!attribute [rw] resource_path_string
    #   @return [::String]
    #     A string representation of the resource path.
    #     For Google Cloud, it has the format of
    #     `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}`
    #     where there can be any number of folders.
    #     For AWS, it has the format of
    #     `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}`
    #     where there can be any number of organizational units.
    #     For Azure, it has the format of
    #     `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}`
    #     where there can be any number of management groups.
    class Resource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#total_size::Integer

Returns The total number of findings matching the query.

Returns:

  • (::Integer)

    The total number of findings matching the query.



723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
# File 'proto_docs/google/cloud/securitycenter/v2/securitycenter_service.rb', line 723

class ListFindingsResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Result containing the Finding.
  # @!attribute [rw] finding
  #   @return [::Google::Cloud::SecurityCenter::V2::Finding]
  #     Finding matching the search request.
  # @!attribute [r] resource
  #   @return [::Google::Cloud::SecurityCenter::V2::ListFindingsResponse::ListFindingsResult::Resource]
  #     Output only. Resource that is associated with this finding.
  class ListFindingsResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information related to the Google Cloud resource that is
    # associated with this finding.
    # @!attribute [rw] name
    #   @return [::String]
    #     The full resource name of the resource. See:
    #     https://cloud.google.com/apis/design/resource_names#full_resource_name
    # @!attribute [rw] display_name
    #   @return [::String]
    #     The human readable name of the resource.
    # @!attribute [rw] type
    #   @return [::String]
    #     The full resource type of the resource.
    # @!attribute [rw] cloud_provider
    #   @return [::Google::Cloud::SecurityCenter::V2::CloudProvider]
    #     Indicates which cloud provider the finding is from.
    # @!attribute [rw] service
    #   @return [::String]
    #     The service or resource provider associated with the resource.
    # @!attribute [rw] location
    #   @return [::String]
    #     The region or location of the service (if applicable).
    # @!attribute [rw] gcp_metadata
    #   @return [::Google::Cloud::SecurityCenter::V2::GcpMetadata]
    #     The GCP metadata associated with the finding.
    #
    #     Note: The following fields are mutually exclusive: `gcp_metadata`, `aws_metadata`, `azure_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] aws_metadata
    #   @return [::Google::Cloud::SecurityCenter::V2::AwsMetadata]
    #     The AWS metadata associated with the finding.
    #
    #     Note: The following fields are mutually exclusive: `aws_metadata`, `gcp_metadata`, `azure_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] azure_metadata
    #   @return [::Google::Cloud::SecurityCenter::V2::AzureMetadata]
    #     The Azure metadata associated with the finding.
    #
    #     Note: The following fields are mutually exclusive: `azure_metadata`, `gcp_metadata`, `aws_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] resource_path
    #   @return [::Google::Cloud::SecurityCenter::V2::ResourcePath]
    #     Provides the path to the resource within the resource hierarchy.
    # @!attribute [rw] resource_path_string
    #   @return [::String]
    #     A string representation of the resource path.
    #     For Google Cloud, it has the format of
    #     `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}`
    #     where there can be any number of folders.
    #     For AWS, it has the format of
    #     `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}`
    #     where there can be any number of organizational units.
    #     For Azure, it has the format of
    #     `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}`
    #     where there can be any number of management groups.
    class Resource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end