Class: Grafeas::V1::DiscoveryOccurrence

Inherits:
Object
  • Object
show all
Extended by:
Google::Protobuf::MessageExts::ClassMethods
Includes:
Google::Protobuf::MessageExts
Defined in:
proto_docs/grafeas/v1/discovery.rb

Overview

Provides information about the analysis status of a discovered resource.

Defined Under Namespace

Modules: AnalysisStatus, ContinuousAnalysis Classes: AnalysisCompleted

Instance Attribute Summary collapse

Instance Attribute Details

#analysis_completed::Grafeas::V1::DiscoveryOccurrence::AnalysisCompleted



61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# File 'proto_docs/grafeas/v1/discovery.rb', line 61

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

  # Indicates which analysis completed successfully. Multiple types of
  # analysis can be performed on a single resource.
  # @!attribute [rw] analysis_type
  #   @return [::Array<::String>]
  class AnalysisCompleted
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Whether the resource is continuously analyzed.
  module ContinuousAnalysis
    # Unknown.
    CONTINUOUS_ANALYSIS_UNSPECIFIED = 0

    # The resource is continuously analyzed.
    ACTIVE = 1

    # The resource is ignored for continuous analysis.
    INACTIVE = 2
  end

  # Analysis status for a resource. Currently for initial analysis only (not
  # updated in continuous analysis).
  module AnalysisStatus
    # Unknown.
    ANALYSIS_STATUS_UNSPECIFIED = 0

    # Resource is known but no action has been taken yet.
    PENDING = 1

    # Resource is being analyzed.
    SCANNING = 2

    # Analysis has finished successfully.
    FINISHED_SUCCESS = 3

    # Analysis has completed.
    COMPLETE = 3

    # Analysis has finished unsuccessfully, the analysis itself is in a bad
    # state.
    FINISHED_FAILED = 4

    # The resource is known not to be supported.
    FINISHED_UNSUPPORTED = 5
  end
end

#analysis_error::Array<::Google::Rpc::Status>

Returns Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.

Returns:

  • (::Array<::Google::Rpc::Status>)

    Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.



61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# File 'proto_docs/grafeas/v1/discovery.rb', line 61

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

  # Indicates which analysis completed successfully. Multiple types of
  # analysis can be performed on a single resource.
  # @!attribute [rw] analysis_type
  #   @return [::Array<::String>]
  class AnalysisCompleted
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Whether the resource is continuously analyzed.
  module ContinuousAnalysis
    # Unknown.
    CONTINUOUS_ANALYSIS_UNSPECIFIED = 0

    # The resource is continuously analyzed.
    ACTIVE = 1

    # The resource is ignored for continuous analysis.
    INACTIVE = 2
  end

  # Analysis status for a resource. Currently for initial analysis only (not
  # updated in continuous analysis).
  module AnalysisStatus
    # Unknown.
    ANALYSIS_STATUS_UNSPECIFIED = 0

    # Resource is known but no action has been taken yet.
    PENDING = 1

    # Resource is being analyzed.
    SCANNING = 2

    # Analysis has finished successfully.
    FINISHED_SUCCESS = 3

    # Analysis has completed.
    COMPLETE = 3

    # Analysis has finished unsuccessfully, the analysis itself is in a bad
    # state.
    FINISHED_FAILED = 4

    # The resource is known not to be supported.
    FINISHED_UNSUPPORTED = 5
  end
end

#analysis_status::Grafeas::V1::DiscoveryOccurrence::AnalysisStatus

Returns The status of discovery for the resource.

Returns:



61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# File 'proto_docs/grafeas/v1/discovery.rb', line 61

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

  # Indicates which analysis completed successfully. Multiple types of
  # analysis can be performed on a single resource.
  # @!attribute [rw] analysis_type
  #   @return [::Array<::String>]
  class AnalysisCompleted
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Whether the resource is continuously analyzed.
  module ContinuousAnalysis
    # Unknown.
    CONTINUOUS_ANALYSIS_UNSPECIFIED = 0

    # The resource is continuously analyzed.
    ACTIVE = 1

    # The resource is ignored for continuous analysis.
    INACTIVE = 2
  end

  # Analysis status for a resource. Currently for initial analysis only (not
  # updated in continuous analysis).
  module AnalysisStatus
    # Unknown.
    ANALYSIS_STATUS_UNSPECIFIED = 0

    # Resource is known but no action has been taken yet.
    PENDING = 1

    # Resource is being analyzed.
    SCANNING = 2

    # Analysis has finished successfully.
    FINISHED_SUCCESS = 3

    # Analysis has completed.
    COMPLETE = 3

    # Analysis has finished unsuccessfully, the analysis itself is in a bad
    # state.
    FINISHED_FAILED = 4

    # The resource is known not to be supported.
    FINISHED_UNSUPPORTED = 5
  end
end

#analysis_status_error::Google::Rpc::Status

Returns When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API.

Returns:

  • (::Google::Rpc::Status)

    When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API.



61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# File 'proto_docs/grafeas/v1/discovery.rb', line 61

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

  # Indicates which analysis completed successfully. Multiple types of
  # analysis can be performed on a single resource.
  # @!attribute [rw] analysis_type
  #   @return [::Array<::String>]
  class AnalysisCompleted
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Whether the resource is continuously analyzed.
  module ContinuousAnalysis
    # Unknown.
    CONTINUOUS_ANALYSIS_UNSPECIFIED = 0

    # The resource is continuously analyzed.
    ACTIVE = 1

    # The resource is ignored for continuous analysis.
    INACTIVE = 2
  end

  # Analysis status for a resource. Currently for initial analysis only (not
  # updated in continuous analysis).
  module AnalysisStatus
    # Unknown.
    ANALYSIS_STATUS_UNSPECIFIED = 0

    # Resource is known but no action has been taken yet.
    PENDING = 1

    # Resource is being analyzed.
    SCANNING = 2

    # Analysis has finished successfully.
    FINISHED_SUCCESS = 3

    # Analysis has completed.
    COMPLETE = 3

    # Analysis has finished unsuccessfully, the analysis itself is in a bad
    # state.
    FINISHED_FAILED = 4

    # The resource is known not to be supported.
    FINISHED_UNSUPPORTED = 5
  end
end

#archive_time::Google::Protobuf::Timestamp (readonly)

Returns The time occurrences related to this discovery occurrence were archived.

Returns:



61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# File 'proto_docs/grafeas/v1/discovery.rb', line 61

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

  # Indicates which analysis completed successfully. Multiple types of
  # analysis can be performed on a single resource.
  # @!attribute [rw] analysis_type
  #   @return [::Array<::String>]
  class AnalysisCompleted
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Whether the resource is continuously analyzed.
  module ContinuousAnalysis
    # Unknown.
    CONTINUOUS_ANALYSIS_UNSPECIFIED = 0

    # The resource is continuously analyzed.
    ACTIVE = 1

    # The resource is ignored for continuous analysis.
    INACTIVE = 2
  end

  # Analysis status for a resource. Currently for initial analysis only (not
  # updated in continuous analysis).
  module AnalysisStatus
    # Unknown.
    ANALYSIS_STATUS_UNSPECIFIED = 0

    # Resource is known but no action has been taken yet.
    PENDING = 1

    # Resource is being analyzed.
    SCANNING = 2

    # Analysis has finished successfully.
    FINISHED_SUCCESS = 3

    # Analysis has completed.
    COMPLETE = 3

    # Analysis has finished unsuccessfully, the analysis itself is in a bad
    # state.
    FINISHED_FAILED = 4

    # The resource is known not to be supported.
    FINISHED_UNSUPPORTED = 5
  end
end

#continuous_analysis::Grafeas::V1::DiscoveryOccurrence::ContinuousAnalysis

Returns Whether the resource is continuously analyzed.

Returns:



61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# File 'proto_docs/grafeas/v1/discovery.rb', line 61

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

  # Indicates which analysis completed successfully. Multiple types of
  # analysis can be performed on a single resource.
  # @!attribute [rw] analysis_type
  #   @return [::Array<::String>]
  class AnalysisCompleted
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Whether the resource is continuously analyzed.
  module ContinuousAnalysis
    # Unknown.
    CONTINUOUS_ANALYSIS_UNSPECIFIED = 0

    # The resource is continuously analyzed.
    ACTIVE = 1

    # The resource is ignored for continuous analysis.
    INACTIVE = 2
  end

  # Analysis status for a resource. Currently for initial analysis only (not
  # updated in continuous analysis).
  module AnalysisStatus
    # Unknown.
    ANALYSIS_STATUS_UNSPECIFIED = 0

    # Resource is known but no action has been taken yet.
    PENDING = 1

    # Resource is being analyzed.
    SCANNING = 2

    # Analysis has finished successfully.
    FINISHED_SUCCESS = 3

    # Analysis has completed.
    COMPLETE = 3

    # Analysis has finished unsuccessfully, the analysis itself is in a bad
    # state.
    FINISHED_FAILED = 4

    # The resource is known not to be supported.
    FINISHED_UNSUPPORTED = 5
  end
end

#cpe::String

Returns The CPE of the resource being scanned.

Returns:

  • (::String)

    The CPE of the resource being scanned.



61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# File 'proto_docs/grafeas/v1/discovery.rb', line 61

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

  # Indicates which analysis completed successfully. Multiple types of
  # analysis can be performed on a single resource.
  # @!attribute [rw] analysis_type
  #   @return [::Array<::String>]
  class AnalysisCompleted
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Whether the resource is continuously analyzed.
  module ContinuousAnalysis
    # Unknown.
    CONTINUOUS_ANALYSIS_UNSPECIFIED = 0

    # The resource is continuously analyzed.
    ACTIVE = 1

    # The resource is ignored for continuous analysis.
    INACTIVE = 2
  end

  # Analysis status for a resource. Currently for initial analysis only (not
  # updated in continuous analysis).
  module AnalysisStatus
    # Unknown.
    ANALYSIS_STATUS_UNSPECIFIED = 0

    # Resource is known but no action has been taken yet.
    PENDING = 1

    # Resource is being analyzed.
    SCANNING = 2

    # Analysis has finished successfully.
    FINISHED_SUCCESS = 3

    # Analysis has completed.
    COMPLETE = 3

    # Analysis has finished unsuccessfully, the analysis itself is in a bad
    # state.
    FINISHED_FAILED = 4

    # The resource is known not to be supported.
    FINISHED_UNSUPPORTED = 5
  end
end

#last_scan_time::Google::Protobuf::Timestamp

Returns The last time this resource was scanned.

Returns:



61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# File 'proto_docs/grafeas/v1/discovery.rb', line 61

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

  # Indicates which analysis completed successfully. Multiple types of
  # analysis can be performed on a single resource.
  # @!attribute [rw] analysis_type
  #   @return [::Array<::String>]
  class AnalysisCompleted
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Whether the resource is continuously analyzed.
  module ContinuousAnalysis
    # Unknown.
    CONTINUOUS_ANALYSIS_UNSPECIFIED = 0

    # The resource is continuously analyzed.
    ACTIVE = 1

    # The resource is ignored for continuous analysis.
    INACTIVE = 2
  end

  # Analysis status for a resource. Currently for initial analysis only (not
  # updated in continuous analysis).
  module AnalysisStatus
    # Unknown.
    ANALYSIS_STATUS_UNSPECIFIED = 0

    # Resource is known but no action has been taken yet.
    PENDING = 1

    # Resource is being analyzed.
    SCANNING = 2

    # Analysis has finished successfully.
    FINISHED_SUCCESS = 3

    # Analysis has completed.
    COMPLETE = 3

    # Analysis has finished unsuccessfully, the analysis itself is in a bad
    # state.
    FINISHED_FAILED = 4

    # The resource is known not to be supported.
    FINISHED_UNSUPPORTED = 5
  end
end