Class: Grafeas::V1::DiscoveryOccurrence

Inherits:
Object
  • Object
show all
Defined in:
lib/grafeas/v1/doc/grafeas/v1/discovery.rb

Overview

Provides information about the analysis status of a discovered resource.

Defined Under Namespace

Modules: AnalysisStatus, ContinuousAnalysis

Instance Attribute Summary collapse

Instance Attribute Details

#analysis_statusGrafeas::V1::DiscoveryOccurrence::AnalysisStatus



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/grafeas/v1/doc/grafeas/v1/discovery.rb', line 45

class DiscoveryOccurrence
  # 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 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

  # 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
end

#analysis_status_errorGoogle::Rpc::Status



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/grafeas/v1/doc/grafeas/v1/discovery.rb', line 45

class DiscoveryOccurrence
  # 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 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

  # 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
end

#continuous_analysisGrafeas::V1::DiscoveryOccurrence::ContinuousAnalysis



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/grafeas/v1/doc/grafeas/v1/discovery.rb', line 45

class DiscoveryOccurrence
  # 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 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

  # 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
end

#cpeString



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/grafeas/v1/doc/grafeas/v1/discovery.rb', line 45

class DiscoveryOccurrence
  # 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 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

  # 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
end

#last_scan_timeGoogle::Protobuf::Timestamp



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/grafeas/v1/doc/grafeas/v1/discovery.rb', line 45

class DiscoveryOccurrence
  # 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 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

  # 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
end