Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::DiscoveryOccurrence::VulnerabilityAttestation.
The status of an vulnerability attestation generation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#error
def error() -> ::String
Returns
- (::String) — If failure, the error reason for why the attestation generation failed.
#error=
def error=(value) -> ::String
Parameter
- value (::String) — If failure, the error reason for why the attestation generation failed.
Returns
- (::String) — If failure, the error reason for why the attestation generation failed.
#last_attempt_time
def last_attempt_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The last time we attempted to generate an attestation.
#last_attempt_time=
def last_attempt_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The last time we attempted to generate an attestation.
Returns
- (::Google::Protobuf::Timestamp) — The last time we attempted to generate an attestation.
#state
def state() -> ::Grafeas::V1::DiscoveryOccurrence::VulnerabilityAttestation::VulnerabilityAttestationState
Returns
- (::Grafeas::V1::DiscoveryOccurrence::VulnerabilityAttestation::VulnerabilityAttestationState) — The success/failure state of the latest attestation attempt.
#state=
def state=(value) -> ::Grafeas::V1::DiscoveryOccurrence::VulnerabilityAttestation::VulnerabilityAttestationState
Parameter
- value (::Grafeas::V1::DiscoveryOccurrence::VulnerabilityAttestation::VulnerabilityAttestationState) — The success/failure state of the latest attestation attempt.
Returns
- (::Grafeas::V1::DiscoveryOccurrence::VulnerabilityAttestation::VulnerabilityAttestationState) — The success/failure state of the latest attestation attempt.