Class ThresholdCondition
java.lang.Object
hudson.model.AbstractDescribableImpl<ThresholdCondition>
com.aspectsecurity.contrast.contrastjenkins.ThresholdCondition
- All Implemented Interfaces:
Describable<ThresholdCondition>
ThresholdCondition class contains the variables and logic to populate the conditions when verifying for vulnerabilities.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionThresholdCondition(Integer thresholdCount, String thresholdSeverity, String thresholdVulnType, int applicationState, ApplicationDefinition applicationDefinition, String applicationId, boolean autoRemediated, boolean confirmed, boolean suspicious, boolean notAProblem, boolean remediated, boolean reported, boolean fixed, boolean beingTracked, boolean untracked) -
Method Summary
Modifier and TypeMethodDescriptionBackground: Some configurations can make the Application ID to be stored as 'AppName (AppId)' This is a getter that only returns the actual application id.Returns the description of a condition that has been overridden with a job outcome policy.voidsetApplicationId(String applicationId) toString()Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
ThresholdCondition
@DataBoundConstructor public ThresholdCondition(Integer thresholdCount, String thresholdSeverity, String thresholdVulnType, int applicationState, ApplicationDefinition applicationDefinition, String applicationId, boolean autoRemediated, boolean confirmed, boolean suspicious, boolean notAProblem, boolean remediated, boolean reported, boolean fixed, boolean beingTracked, boolean untracked)
-
-
Method Details
-
setApplicationId
-
toString
-
getStringForOverriden
Returns the description of a condition that has been overridden with a job outcome policy.- Returns:
-
getPreparedApplicationId
Background: Some configurations can make the Application ID to be stored as 'AppName (AppId)' This is a getter that only returns the actual application id. Returns a proper application Id.- Returns:
- Returns the app id without the name attached
-
getVulnerabilityStatuses
-