Class: Grafeas::V1::DiscoveryOccurrence
- Inherits:
-
Object
- Object
- Grafeas::V1::DiscoveryOccurrence
- 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
-
#analysis_status ⇒ Grafeas::V1::DiscoveryOccurrence::AnalysisStatus
The status of discovery for the resource.
-
#analysis_status_error ⇒ Google::Rpc::Status
When an error is encountered this will contain a LocalizedMessage under details to show to the user.
-
#continuous_analysis ⇒ Grafeas::V1::DiscoveryOccurrence::ContinuousAnalysis
Whether the resource is continuously analyzed.
-
#cpe ⇒ String
The CPE of the resource being scanned.
-
#last_scan_time ⇒ Google::Protobuf::Timestamp
The last time this resource was scanned.
Instance Attribute Details
#analysis_status ⇒ Grafeas::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_error ⇒ Google::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_analysis ⇒ Grafeas::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 |
#cpe ⇒ String
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_time ⇒ Google::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 |