All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.securitycenter.v1.model.AttackExposure Maven / Gradle / Ivy

There is a newer version: v1-rev20241111-2.0.0
Show newest version
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.securitycenter.v1.model;

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

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Security Command Center API. For a detailed * explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class AttackExposure extends com.google.api.client.json.GenericJson { /** * 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` * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String attackExposureResult; /** * The number of high value resources that are exposed as a result of this finding. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer exposedHighValueResourcesCount; /** * The number of high value resources that are exposed as a result of this finding. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer exposedLowValueResourcesCount; /** * The number of medium value resources that are exposed as a result of this finding. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer exposedMediumValueResourcesCount; /** * The most recent time the attack exposure was updated on this finding. * The value may be {@code null}. */ @com.google.api.client.util.Key private String latestCalculationTime; /** * 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. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Double score; /** * What state this AttackExposure is in. This captures whether or not an attack exposure has been * calculated or not. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String state; /** * 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` * @return value or {@code null} for none */ public java.lang.String getAttackExposureResult() { return attackExposureResult; } /** * 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` * @param attackExposureResult attackExposureResult or {@code null} for none */ public AttackExposure setAttackExposureResult(java.lang.String attackExposureResult) { this.attackExposureResult = attackExposureResult; return this; } /** * The number of high value resources that are exposed as a result of this finding. * @return value or {@code null} for none */ public java.lang.Integer getExposedHighValueResourcesCount() { return exposedHighValueResourcesCount; } /** * The number of high value resources that are exposed as a result of this finding. * @param exposedHighValueResourcesCount exposedHighValueResourcesCount or {@code null} for none */ public AttackExposure setExposedHighValueResourcesCount(java.lang.Integer exposedHighValueResourcesCount) { this.exposedHighValueResourcesCount = exposedHighValueResourcesCount; return this; } /** * The number of high value resources that are exposed as a result of this finding. * @return value or {@code null} for none */ public java.lang.Integer getExposedLowValueResourcesCount() { return exposedLowValueResourcesCount; } /** * The number of high value resources that are exposed as a result of this finding. * @param exposedLowValueResourcesCount exposedLowValueResourcesCount or {@code null} for none */ public AttackExposure setExposedLowValueResourcesCount(java.lang.Integer exposedLowValueResourcesCount) { this.exposedLowValueResourcesCount = exposedLowValueResourcesCount; return this; } /** * The number of medium value resources that are exposed as a result of this finding. * @return value or {@code null} for none */ public java.lang.Integer getExposedMediumValueResourcesCount() { return exposedMediumValueResourcesCount; } /** * The number of medium value resources that are exposed as a result of this finding. * @param exposedMediumValueResourcesCount exposedMediumValueResourcesCount or {@code null} for none */ public AttackExposure setExposedMediumValueResourcesCount(java.lang.Integer exposedMediumValueResourcesCount) { this.exposedMediumValueResourcesCount = exposedMediumValueResourcesCount; return this; } /** * The most recent time the attack exposure was updated on this finding. * @return value or {@code null} for none */ public String getLatestCalculationTime() { return latestCalculationTime; } /** * The most recent time the attack exposure was updated on this finding. * @param latestCalculationTime latestCalculationTime or {@code null} for none */ public AttackExposure setLatestCalculationTime(String latestCalculationTime) { this.latestCalculationTime = latestCalculationTime; return this; } /** * 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. * @return value or {@code null} for none */ public java.lang.Double getScore() { return score; } /** * 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. * @param score score or {@code null} for none */ public AttackExposure setScore(java.lang.Double score) { this.score = score; return this; } /** * What state this AttackExposure is in. This captures whether or not an attack exposure has been * calculated or not. * @return value or {@code null} for none */ public java.lang.String getState() { return state; } /** * What state this AttackExposure is in. This captures whether or not an attack exposure has been * calculated or not. * @param state state or {@code null} for none */ public AttackExposure setState(java.lang.String state) { this.state = state; return this; } @Override public AttackExposure set(String fieldName, Object value) { return (AttackExposure) super.set(fieldName, value); } @Override public AttackExposure clone() { return (AttackExposure) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy