Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AttackExposure

import type { AttackExposure } from "https://googleapis.deno.dev/v1/securitycenter:v1.ts";

An attack exposure contains the results of an attack path simulation run.

interface AttackExposure {
attackExposureResult?: string;
exposedHighValueResourcesCount?: number;
exposedLowValueResourcesCount?: number;
exposedMediumValueResourcesCount?: number;
latestCalculationTime?: Date;
score?: number;
state?: "STATE_UNSPECIFIED" | "CALCULATED" | "NOT_CALCULATED";
}

§Properties

§
attackExposureResult?: string
[src]

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

§
exposedHighValueResourcesCount?: number
[src]

The number of high value resources that are exposed as a result of this finding.

§
exposedLowValueResourcesCount?: number
[src]

The number of high value resources that are exposed as a result of this finding.

§
exposedMediumValueResourcesCount?: number
[src]

The number of medium value resources that are exposed as a result of this finding.

§
latestCalculationTime?: Date
[src]

The most recent time the attack exposure was updated on this finding.

§
score?: number
[src]

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.

§
state?: "STATE_UNSPECIFIED" | "CALCULATED" | "NOT_CALCULATED"
[src]

What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.