Class: Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse::ListFindingsResult

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

Overview

Result containing the Finding and its StateChange.

Defined Under Namespace

Modules: StateChange Classes: Resource

Instance Attribute Summary collapse

Instance Attribute Details

#finding::Google::Cloud::SecurityCenter::V1p1beta1::Finding

Returns Finding matching the search request.

Returns:



875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb', line 875

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] project_name
  #   @return [::String]
  #     The full resource name of project that the resource belongs to.
  # @!attribute [rw] project_display_name
  #   @return [::String]
  #     The human readable name of project that the resource belongs to.
  # @!attribute [rw] parent_name
  #   @return [::String]
  #     The full resource name of resource's parent.
  # @!attribute [rw] parent_display_name
  #   @return [::String]
  #     The human readable name of resource's parent.
  # @!attribute [rw] folders
  #   @return [::Array<::Google::Cloud::SecurityCenter::V1p1Beta1::Folder>]
  #     Contains a Folder message for each folder in the assets ancestry.
  #     The first folder is the deepest nested folder, and the last folder is
  #     the folder directly under the Organization.
  class Resource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The change in state of the finding.
  #
  # When querying across two points in time this describes
  # the change in the finding between the two points: CHANGED, UNCHANGED,
  # ADDED, or REMOVED. Findings can not be deleted, so REMOVED implies that
  # the finding at timestamp does not match the filter specified, but it did
  # at timestamp - compare_duration. If there was no compare_duration
  # supplied in the request the state change will be: UNUSED
  module StateChange
    # State change is unused, this is the canonical default for this enum.
    UNUSED = 0

    # The finding has changed state in some way between the points in time
    # and existed at both points.
    CHANGED = 1

    # The finding has not changed state between the points in time and
    # existed at both points.
    UNCHANGED = 2

    # The finding was created between the points in time.
    ADDED = 3

    # The finding at timestamp does not match the filter specified, but it
    # did at timestamp - compare_duration.
    REMOVED = 4
  end
end

#resource::Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse::ListFindingsResult::Resource (readonly)

Returns Output only. Resource that is associated with this finding.

Returns:



875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb', line 875

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] project_name
  #   @return [::String]
  #     The full resource name of project that the resource belongs to.
  # @!attribute [rw] project_display_name
  #   @return [::String]
  #     The human readable name of project that the resource belongs to.
  # @!attribute [rw] parent_name
  #   @return [::String]
  #     The full resource name of resource's parent.
  # @!attribute [rw] parent_display_name
  #   @return [::String]
  #     The human readable name of resource's parent.
  # @!attribute [rw] folders
  #   @return [::Array<::Google::Cloud::SecurityCenter::V1p1Beta1::Folder>]
  #     Contains a Folder message for each folder in the assets ancestry.
  #     The first folder is the deepest nested folder, and the last folder is
  #     the folder directly under the Organization.
  class Resource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The change in state of the finding.
  #
  # When querying across two points in time this describes
  # the change in the finding between the two points: CHANGED, UNCHANGED,
  # ADDED, or REMOVED. Findings can not be deleted, so REMOVED implies that
  # the finding at timestamp does not match the filter specified, but it did
  # at timestamp - compare_duration. If there was no compare_duration
  # supplied in the request the state change will be: UNUSED
  module StateChange
    # State change is unused, this is the canonical default for this enum.
    UNUSED = 0

    # The finding has changed state in some way between the points in time
    # and existed at both points.
    CHANGED = 1

    # The finding has not changed state between the points in time and
    # existed at both points.
    UNCHANGED = 2

    # The finding was created between the points in time.
    ADDED = 3

    # The finding at timestamp does not match the filter specified, but it
    # did at timestamp - compare_duration.
    REMOVED = 4
  end
end

#state_change::Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse::ListFindingsResult::StateChange

Returns State change of the finding between the points in time.

Returns:



875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb', line 875

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] project_name
  #   @return [::String]
  #     The full resource name of project that the resource belongs to.
  # @!attribute [rw] project_display_name
  #   @return [::String]
  #     The human readable name of project that the resource belongs to.
  # @!attribute [rw] parent_name
  #   @return [::String]
  #     The full resource name of resource's parent.
  # @!attribute [rw] parent_display_name
  #   @return [::String]
  #     The human readable name of resource's parent.
  # @!attribute [rw] folders
  #   @return [::Array<::Google::Cloud::SecurityCenter::V1p1Beta1::Folder>]
  #     Contains a Folder message for each folder in the assets ancestry.
  #     The first folder is the deepest nested folder, and the last folder is
  #     the folder directly under the Organization.
  class Resource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The change in state of the finding.
  #
  # When querying across two points in time this describes
  # the change in the finding between the two points: CHANGED, UNCHANGED,
  # ADDED, or REMOVED. Findings can not be deleted, so REMOVED implies that
  # the finding at timestamp does not match the filter specified, but it did
  # at timestamp - compare_duration. If there was no compare_duration
  # supplied in the request the state change will be: UNUSED
  module StateChange
    # State change is unused, this is the canonical default for this enum.
    UNUSED = 0

    # The finding has changed state in some way between the points in time
    # and existed at both points.
    CHANGED = 1

    # The finding has not changed state between the points in time and
    # existed at both points.
    UNCHANGED = 2

    # The finding was created between the points in time.
    ADDED = 3

    # The finding at timestamp does not match the filter specified, but it
    # did at timestamp - compare_duration.
    REMOVED = 4
  end
end