BaselineStrategyProps
Properties for defining a BaselineStrategy.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-baselinestrategy
Initializer
import com.aliyun.ros.cdk.threatdetection.BaselineStrategyProps;
BaselineStrategyProps.builder()
.baselineStrategyName(java.lang.String)
.baselineStrategyName(IResolvable)
.customType(java.lang.String)
.customType(IResolvable)
.cycleDays(java.lang.Number)
.cycleDays(IResolvable)
.endTime(java.lang.String)
.endTime(IResolvable)
.riskSubTypeName(java.lang.String)
.riskSubTypeName(IResolvable)
.startTime(java.lang.String)
.startTime(IResolvable)
.targetType(java.lang.String)
.targetType(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
baselineStrategyName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property baselineStrategyName: The new name of the baseline check policy. |
customType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property customType: The type of the baseline check policy. |
cycleDays | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property cycleDays: The new interval of the baseline check. |
endTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property endTime: The time when the baseline check based on the baseline check policy ends. |
riskSubTypeName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property riskSubTypeName: The subtype of the baselines. |
startTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property startTime: The time when the baseline check based on the baseline check policy starts. |
targetType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property targetType: The method that is used to apply the baseline check policy. |
baselineStrategyNameRequired
public java.lang.Object getBaselineStrategyName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property baselineStrategyName: The new name of the baseline check policy.
customTypeRequired
public java.lang.Object getCustomType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property customType: The type of the baseline check policy.
Valid values:
- custom: a custom baseline check policy
- common: a standard baseline check policy.
cycleDaysRequired
public java.lang.Object getCycleDays();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property cycleDays: The new interval of the baseline check.
Valid values:
- 1: every 2 days
- 3: every 4 days
- 7: every 8 days
- 30: every 31 days.
endTimeRequired
public java.lang.Object getEndTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property endTime: The time when the baseline check based on the baseline check policy ends.
Specify the time in the hh:mm:ss format.
riskSubTypeNameRequired
public java.lang.Object getRiskSubTypeName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property riskSubTypeName: The subtype of the baselines.
startTimeRequired
public java.lang.Object getStartTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property startTime: The time when the baseline check based on the baseline check policy starts.
Specify the time in the hh:mm:ss format.
targetTypeRequired
public java.lang.Object getTargetType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property targetType: The method that is used to apply the baseline check policy.
Valid values:
- groupId: asset groups
- uuid: assets.