Skip to content

IScanRule

Represents a ScanRule.

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node for this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
stack ros_cdk_core.Stack The stack in which this resource is defined.
attr_create_time typing.Union[str, ros_cdk_core.IResolvable] Attribute CreateTime: Creation time of the scan rule.
attr_instance_id typing.Union[str, ros_cdk_core.IResolvable] Attribute InstanceId: ACR Instance ID.
attr_namespaces typing.Union[str, ros_cdk_core.IResolvable] Attribute Namespaces: The list of namespaces.
attr_repo_names typing.Union[str, ros_cdk_core.IResolvable] Attribute RepoNames: The list of repositories.
attr_repo_tag_filter_pattern typing.Union[str, ros_cdk_core.IResolvable] Attribute RepoTagFilterPattern: The tag that triggers the scan matches the regular expression.
attr_rule_name typing.Union[str, ros_cdk_core.IResolvable] Attribute RuleName: The scan rule name.
attr_scan_rule_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ScanRuleId: The ID of the scan rule.
attr_scan_scope typing.Union[str, ros_cdk_core.IResolvable] Attribute ScanScope: The scan scope.
attr_scan_type typing.Union[str, ros_cdk_core.IResolvable] Attribute ScanType: The scan type.
attr_trigger_type typing.Union[str, ros_cdk_core.IResolvable] Attribute TriggerType: Trigger type.
attr_update_time typing.Union[str, ros_cdk_core.IResolvable] Attribute UpdateTime: Change time of the scan rule.
props ScanRuleProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node for this construct.


envRequired

env: IResourceEnvironment
  • Type: ros_cdk_core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


stackRequired

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


attr_create_timeRequired

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

Attribute CreateTime: Creation time of the scan rule.


attr_instance_idRequired

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

Attribute InstanceId: ACR Instance ID.


attr_namespacesRequired

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

Attribute Namespaces: The list of namespaces.


attr_repo_namesRequired

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

Attribute RepoNames: The list of repositories.


attr_repo_tag_filter_patternRequired

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

Attribute RepoTagFilterPattern: The tag that triggers the scan matches the regular expression.


attr_rule_nameRequired

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

Attribute RuleName: The scan rule name.


attr_scan_rule_idRequired

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

Attribute ScanRuleId: The ID of the scan rule.


attr_scan_scopeRequired

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

Attribute ScanScope: The scan scope.


attr_scan_typeRequired

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

Attribute ScanType: The scan type.


attr_trigger_typeRequired

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

Attribute TriggerType: Trigger type.


attr_update_timeRequired

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

Attribute UpdateTime: Change time of the scan rule.


propsRequired

props: ScanRuleProps