[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eVulnerability\u003c/code\u003e class in the Security Command Center v2 API represents common vulnerability details like CVE, CVSS, and CWE.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVulnerability\u003c/code\u003e class provides constructors for creating new instances, including one for cloning existing \u003ccode\u003eVulnerability\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties such as \u003ccode\u003eCve\u003c/code\u003e, \u003ccode\u003eFixedPackage\u003c/code\u003e, \u003ccode\u003eOffendingPackage\u003c/code\u003e, and \u003ccode\u003eSecurityBulletin\u003c/code\u003e, each representing different aspects of a vulnerability.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVulnerability\u003c/code\u003e class is contained within the \u003ccode\u003eGoogle.Cloud.SecurityCenter.V2\u003c/code\u003e namespace, found in the \u003ccode\u003eGoogle.Cloud.SecurityCenter.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class Vulnerability (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Vulnerability)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.Vulnerability)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.Vulnerability) \n\n public sealed class Vulnerability : IMessage\u003cVulnerability\u003e, IEquatable\u003cVulnerability\u003e, IDeepCloneable\u003cVulnerability\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class Vulnerability.\n\nRefers to common vulnerability fields e.g. cve, cvss, cwe etc. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Vulnerability \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Vulnerability](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Vulnerability), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Vulnerability](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Vulnerability), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Vulnerability](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Vulnerability), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.SecurityCenter.V2](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V2.dll\n\nConstructors\n------------\n\n### Vulnerability()\n\n public Vulnerability()\n\n### Vulnerability(Vulnerability)\n\n public Vulnerability(Vulnerability other)\n\nProperties\n----------\n\n### Cve\n\n public Cve Cve { get; set; }\n\nCVE stands for Common Vulnerabilities and Exposures\n(\u003chttps://cve.mitre.org/about/\u003e)\n\n### Cwes\n\n public RepeatedField\u003cCwe\u003e Cwes { get; }\n\nRepresents one or more Common Weakness Enumeration (CWE) information on\nthis vulnerability.\n\n### FixedPackage\n\n public Package FixedPackage { get; set; }\n\nThe fixed package is relevant to the finding.\n\n### OffendingPackage\n\n public Package OffendingPackage { get; set; }\n\nThe offending package is relevant to the finding.\n\n### ProviderRiskScore\n\n public long ProviderRiskScore { get; set; }\n\nProvider provided risk_score based on multiple factors. The higher the risk\nscore, the more risky the vulnerability is.\n\n### Reachable\n\n public bool Reachable { get; set; }\n\nRepresents whether the vulnerability is reachable (detected via static\nanalysis)\n\n### SecurityBulletin\n\n public SecurityBulletin SecurityBulletin { get; set; }\n\nThe security bulletin is relevant to this finding."]]