The resource name of the attack path simulation result that contains the
details regarding this attack exposure score.
Example: organizations/123/simulations/456/attackExposureResults/789
A number between 0 (inclusive) and infinity that represents how important
this finding is to remediate. The higher the score, the more important it
is to remediate.
[[["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\u003eAttackExposure\u003c/code\u003e class in the Security Command Center v2 API represents the results of an attack path simulation run.\u003c/p\u003e\n"],["\u003cp\u003eIt provides details on exposed resources, including counts for high, medium, and low value resources that are vulnerable due to the finding.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAttackExposure\u003c/code\u003e class includes a score, indicating the severity of the finding, with higher scores suggesting more critical vulnerabilities to remediate.\u003c/p\u003e\n"],["\u003cp\u003eThe class tracks the latest calculation time for attack exposure updates and captures the current state of the attack exposure calculation.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eAttackExposure\u003c/code\u003e is available in two versions, 1.0.0 and 1.1.0, the latter being the latest version.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class AttackExposure (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.AttackExposure)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.AttackExposure)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.AttackExposure) \n\n public sealed class AttackExposure : IMessage\u003cAttackExposure\u003e, IEquatable\u003cAttackExposure\u003e, IDeepCloneable\u003cAttackExposure\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class AttackExposure.\n\nAn attack exposure contains the results of an attack path simulation run. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AttackExposure \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AttackExposure](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.AttackExposure), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AttackExposure](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.AttackExposure), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AttackExposure](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.AttackExposure), [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### AttackExposure()\n\n public AttackExposure()\n\n### AttackExposure(AttackExposure)\n\n public AttackExposure(AttackExposure other)\n\nProperties\n----------\n\n### AttackExposureResult\n\n public string AttackExposureResult { get; set; }\n\nThe resource name of the attack path simulation result that contains the\ndetails regarding this attack exposure score.\nExample: `organizations/123/simulations/456/attackExposureResults/789`\n\n### ExposedHighValueResourcesCount\n\n public int ExposedHighValueResourcesCount { get; set; }\n\nThe number of high value resources that are exposed as a result of this\nfinding.\n\n### ExposedLowValueResourcesCount\n\n public int ExposedLowValueResourcesCount { get; set; }\n\nThe number of high value resources that are exposed as a result of this\nfinding.\n\n### ExposedMediumValueResourcesCount\n\n public int ExposedMediumValueResourcesCount { get; set; }\n\nThe number of medium value resources that are exposed as a result of this\nfinding.\n\n### LatestCalculationTime\n\n public Timestamp LatestCalculationTime { get; set; }\n\nThe most recent time the attack exposure was updated on this finding.\n\n### Score\n\n public double Score { get; set; }\n\nA number between 0 (inclusive) and infinity that represents how important\nthis finding is to remediate. The higher the score, the more important it\nis to remediate.\n\n### State\n\n public AttackExposure.Types.State State { get; set; }\n\nOutput only. What state this AttackExposure is in. This captures whether or\nnot an attack exposure has been calculated or not."]]