You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resource/aws_inspector2_filter: Support `code_repository_project_name`, `code_repository_provider_type`, `ecr_image_in_use_count`, and `ecr_image_last_in_use_at` in `filter_criteria`
Copy file name to clipboardExpand all lines: website/docs/r/inspector2_filter.html.markdown
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,8 @@ This resource exports the following attributes in addition to the arguments abov
54
54
The `filter_criteria` configuration block supports the following attributes:
55
55
56
56
*`aws_account_id` - (Optional) The AWS account ID in which the finding was generated. [Documented below](#string-filter).
57
+
*`code_repository_project_name` - (Optional) The project name in a code repository. [Documented below](#string-filter).
58
+
*`code_repository_provider_type` - (Optional) The repository provider type (such as GitHub, GitLab, etc.) [Documented below](#string-filter).
57
59
*`code_vulnerability_detector_name` - (Optional) The ID of the component. [Documented below](#string-filter).
58
60
*`code_vulnerability_detector_tags` - (Optional) The ID of the component. [Documented below](#string-filter).
59
61
*`code_vulnerability_file_path` - (Optional) The ID of the component. [Documented below](#string-filter).
@@ -63,6 +65,8 @@ The `filter_criteria` configuration block supports the following attributes:
63
65
*`ec2_instance_subnet_id` - (Optional) The ID of the subnet. [Documented below](#string-filter).
64
66
*`ec2_instance_vpc_id` - (Optional) The ID of the VPC. [Documented below](#string-filter).
65
67
*`ecr_image_architecture` - (Optional) The architecture of the ECR image. [Documented below](#string-filter).
68
+
*`ecr_image_in_use_count` - (Optional) The number of the ECR images in use. [Documented below](#number-filter).
69
+
*`ecr_image_last_in_use_at` - (Optional) The date range when an ECR image was last used in an ECS cluster task or EKS cluster pod. [Documented below](#date-filter).
66
70
*`ecr_image_hash` - (Optional) The SHA256 hash of the ECR image. [Documented below](#string-filter).
67
71
*`ecr_image_pushed_at` - (Optional) The date range when the image was pushed. [Documented below](#date-filter).
68
72
*`ecr_image_registry` - (Optional) The registry of the ECR image. [Documented below](#string-filter).
0 commit comments