Class: Grafeas::V1::DiscoveryOccurrence::VulnerabilityAttestation
- Inherits:
-
Object
- Object
- Grafeas::V1::DiscoveryOccurrence::VulnerabilityAttestation
- Extended by:
- Google::Protobuf::MessageExts::ClassMethods
- Includes:
- Google::Protobuf::MessageExts
- Defined in:
- proto_docs/grafeas/v1/discovery.rb
Overview
The status of an vulnerability attestation generation.
Defined Under Namespace
Modules: VulnerabilityAttestationState
Instance Attribute Summary collapse
-
#error ⇒ ::String
If failure, the error reason for why the attestation generation failed.
-
#last_attempt_time ⇒ ::Google::Protobuf::Timestamp
The last time we attempted to generate an attestation.
-
#state ⇒ ::Grafeas::V1::DiscoveryOccurrence::VulnerabilityAttestation::VulnerabilityAttestationState
The success/failure state of the latest attestation attempt.
Instance Attribute Details
#error ⇒ ::String
Returns If failure, the error reason for why the attestation generation failed.
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 |
# File 'proto_docs/grafeas/v1/discovery.rb', line 115 class VulnerabilityAttestation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # An enum indicating the state of the attestation generation. module VulnerabilityAttestationState # Default unknown state. VULNERABILITY_ATTESTATION_STATE_UNSPECIFIED = 0 # Attestation was successfully generated and stored. SUCCESS = 1 # Attestation was unsuccessfully generated and stored. FAILURE = 2 end end |
#last_attempt_time ⇒ ::Google::Protobuf::Timestamp
Returns The last time we attempted to generate an attestation.
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 |
# File 'proto_docs/grafeas/v1/discovery.rb', line 115 class VulnerabilityAttestation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # An enum indicating the state of the attestation generation. module VulnerabilityAttestationState # Default unknown state. VULNERABILITY_ATTESTATION_STATE_UNSPECIFIED = 0 # Attestation was successfully generated and stored. SUCCESS = 1 # Attestation was unsuccessfully generated and stored. FAILURE = 2 end end |
#state ⇒ ::Grafeas::V1::DiscoveryOccurrence::VulnerabilityAttestation::VulnerabilityAttestationState
Returns The success/failure state of the latest attestation attempt.
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 |
# File 'proto_docs/grafeas/v1/discovery.rb', line 115 class VulnerabilityAttestation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # An enum indicating the state of the attestation generation. module VulnerabilityAttestationState # Default unknown state. VULNERABILITY_ATTESTATION_STATE_UNSPECIFIED = 0 # Attestation was successfully generated and stored. SUCCESS = 1 # Attestation was unsuccessfully generated and stored. FAILURE = 2 end end |