Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::Vulnerability.
Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cve
def cve() -> ::Google::Cloud::SecurityCenter::V2::Cve
Returns
- (::Google::Cloud::SecurityCenter::V2::Cve) — CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
#cve=
def cve=(value) -> ::Google::Cloud::SecurityCenter::V2::Cve
Parameter
- value (::Google::Cloud::SecurityCenter::V2::Cve) — CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
Returns
- (::Google::Cloud::SecurityCenter::V2::Cve) — CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
#cwes
def cwes() -> ::Array<::Google::Cloud::SecurityCenter::V2::Cwe>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Cwe>) — Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
#cwes=
def cwes=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::Cwe>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V2::Cwe>) — Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Cwe>) — Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
#fixed_package
def fixed_package() -> ::Google::Cloud::SecurityCenter::V2::Package
Returns
- (::Google::Cloud::SecurityCenter::V2::Package) — The fixed package is relevant to the finding.
#fixed_package=
def fixed_package=(value) -> ::Google::Cloud::SecurityCenter::V2::Package
Parameter
- value (::Google::Cloud::SecurityCenter::V2::Package) — The fixed package is relevant to the finding.
Returns
- (::Google::Cloud::SecurityCenter::V2::Package) — The fixed package is relevant to the finding.
#offending_package
def offending_package() -> ::Google::Cloud::SecurityCenter::V2::Package
Returns
- (::Google::Cloud::SecurityCenter::V2::Package) — The offending package is relevant to the finding.
#offending_package=
def offending_package=(value) -> ::Google::Cloud::SecurityCenter::V2::Package
Parameter
- value (::Google::Cloud::SecurityCenter::V2::Package) — The offending package is relevant to the finding.
Returns
- (::Google::Cloud::SecurityCenter::V2::Package) — The offending package is relevant to the finding.
#provider_risk_score
def provider_risk_score() -> ::Integer
Returns
- (::Integer) — Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
#provider_risk_score=
def provider_risk_score=(value) -> ::Integer
Parameter
- value (::Integer) — Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
Returns
- (::Integer) — Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
#reachable
def reachable() -> ::Boolean
Returns
- (::Boolean) — Represents whether the vulnerability is reachable (detected via static analysis)
#reachable=
def reachable=(value) -> ::Boolean
Parameter
- value (::Boolean) — Represents whether the vulnerability is reachable (detected via static analysis)
Returns
- (::Boolean) — Represents whether the vulnerability is reachable (detected via static analysis)
#security_bulletin
def security_bulletin() -> ::Google::Cloud::SecurityCenter::V2::SecurityBulletin
Returns
- (::Google::Cloud::SecurityCenter::V2::SecurityBulletin) — The security bulletin is relevant to this finding.
#security_bulletin=
def security_bulletin=(value) -> ::Google::Cloud::SecurityCenter::V2::SecurityBulletin
Parameter
- value (::Google::Cloud::SecurityCenter::V2::SecurityBulletin) — The security bulletin is relevant to this finding.
Returns
- (::Google::Cloud::SecurityCenter::V2::SecurityBulletin) — The security bulletin is relevant to this finding.