Skip to content

BaselineStrategyProps

Properties for defining a BaselineStrategy.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-baselinestrategy

Initializer

import ros_cdk_threatdetection
ros_cdk_threatdetection.BaselineStrategyProps(
  baseline_strategy_name: typing.Union[str, IResolvable],
  custom_type: typing.Union[str, IResolvable],
  cycle_days: typing.Union[typing.Union[int, float], IResolvable],
  end_time: typing.Union[str, IResolvable],
  risk_sub_type_name: typing.Union[str, IResolvable],
  start_time: typing.Union[str, IResolvable],
  target_type: typing.Union[str, IResolvable]
)

Properties

Name Type Description
baseline_strategy_name typing.Union[str, ros_cdk_core.IResolvable] Property baselineStrategyName: The new name of the baseline check policy.
custom_type typing.Union[str, ros_cdk_core.IResolvable] Property customType: The type of the baseline check policy.
cycle_days typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property cycleDays: The new interval of the baseline check.
end_time typing.Union[str, ros_cdk_core.IResolvable] Property endTime: The time when the baseline check based on the baseline check policy ends.
risk_sub_type_name typing.Union[str, ros_cdk_core.IResolvable] Property riskSubTypeName: The subtype of the baselines.
start_time typing.Union[str, ros_cdk_core.IResolvable] Property startTime: The time when the baseline check based on the baseline check policy starts.
target_type typing.Union[str, ros_cdk_core.IResolvable] Property targetType: The method that is used to apply the baseline check policy.

baseline_strategy_nameRequired

baseline_strategy_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property baselineStrategyName: The new name of the baseline check policy.


custom_typeRequired

custom_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.

cycle_daysRequired

cycle_days: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], 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.

end_timeRequired

end_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


risk_sub_type_nameRequired

risk_sub_type_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property riskSubTypeName: The subtype of the baselines.


start_timeRequired

start_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


target_typeRequired

target_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property targetType: The method that is used to apply the baseline check policy.

Valid values:

  • groupId: asset groups
  • uuid: assets.