interface FilterCriteriaProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.InspectorV2.CfnFilter.FilterCriteriaProperty |
Java | software.amazon.awscdk.services.inspectorv2.CfnFilter.FilterCriteriaProperty |
Python | aws_cdk.aws_inspectorv2.CfnFilter.FilterCriteriaProperty |
TypeScript | @aws-cdk/aws-inspectorv2 » CfnFilter » FilterCriteriaProperty |
Details on the criteria used to define the filter.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as inspectorv2 from '@aws-cdk/aws-inspectorv2';
const filterCriteriaProperty: inspectorv2.CfnFilter.FilterCriteriaProperty = {
awsAccountId: [{
comparison: 'comparison',
value: 'value',
}],
componentId: [{
comparison: 'comparison',
value: 'value',
}],
componentType: [{
comparison: 'comparison',
value: 'value',
}],
ec2InstanceImageId: [{
comparison: 'comparison',
value: 'value',
}],
ec2InstanceSubnetId: [{
comparison: 'comparison',
value: 'value',
}],
ec2InstanceVpcId: [{
comparison: 'comparison',
value: 'value',
}],
ecrImageArchitecture: [{
comparison: 'comparison',
value: 'value',
}],
ecrImageHash: [{
comparison: 'comparison',
value: 'value',
}],
ecrImagePushedAt: [{
endInclusive: 123,
startInclusive: 123,
}],
ecrImageRegistry: [{
comparison: 'comparison',
value: 'value',
}],
ecrImageRepositoryName: [{
comparison: 'comparison',
value: 'value',
}],
ecrImageTags: [{
comparison: 'comparison',
value: 'value',
}],
findingArn: [{
comparison: 'comparison',
value: 'value',
}],
findingStatus: [{
comparison: 'comparison',
value: 'value',
}],
findingType: [{
comparison: 'comparison',
value: 'value',
}],
firstObservedAt: [{
endInclusive: 123,
startInclusive: 123,
}],
inspectorScore: [{
lowerInclusive: 123,
upperInclusive: 123,
}],
lastObservedAt: [{
endInclusive: 123,
startInclusive: 123,
}],
networkProtocol: [{
comparison: 'comparison',
value: 'value',
}],
portRange: [{
beginInclusive: 123,
endInclusive: 123,
}],
relatedVulnerabilities: [{
comparison: 'comparison',
value: 'value',
}],
resourceId: [{
comparison: 'comparison',
value: 'value',
}],
resourceTags: [{
comparison: 'comparison',
// the properties below are optional
key: 'key',
value: 'value',
}],
resourceType: [{
comparison: 'comparison',
value: 'value',
}],
severity: [{
comparison: 'comparison',
value: 'value',
}],
title: [{
comparison: 'comparison',
value: 'value',
}],
updatedAt: [{
endInclusive: 123,
startInclusive: 123,
}],
vendorSeverity: [{
comparison: 'comparison',
value: 'value',
}],
vulnerabilityId: [{
comparison: 'comparison',
value: 'value',
}],
vulnerabilitySource: [{
comparison: 'comparison',
value: 'value',
}],
vulnerablePackages: [{
architecture: {
comparison: 'comparison',
value: 'value',
},
epoch: {
lowerInclusive: 123,
upperInclusive: 123,
},
name: {
comparison: 'comparison',
value: 'value',
},
release: {
comparison: 'comparison',
value: 'value',
},
sourceLayerHash: {
comparison: 'comparison',
value: 'value',
},
version: {
comparison: 'comparison',
value: 'value',
},
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| aws | IResolvable | IResolvable | String[] | Details of the AWS account IDs used to filter findings. |
| component | IResolvable | IResolvable | String[] | Details of the component IDs used to filter findings. |
| component | IResolvable | IResolvable | String[] | Details of the component types used to filter findings. |
| ec2 | IResolvable | IResolvable | String[] | Details of the Amazon EC2 instance image IDs used to filter findings. |
| ec2 | IResolvable | IResolvable | String[] | Details of the Amazon EC2 instance subnet IDs used to filter findings. |
| ec2 | IResolvable | IResolvable | String[] | Details of the Amazon EC2 instance VPC IDs used to filter findings. |
| ecr | IResolvable | IResolvable | String[] | Details of the Amazon ECR image architecture types used to filter findings. |
| ecr | IResolvable | IResolvable | String[] | Details of the Amazon ECR image hashes used to filter findings. |
| ecr | IResolvable | IResolvable | Date[] | Details on the Amazon ECR image push date and time used to filter findings. |
| ecr | IResolvable | IResolvable | String[] | Details on the Amazon ECR registry used to filter findings. |
| ecr | IResolvable | IResolvable | String[] | Details on the name of the Amazon ECR repository used to filter findings. |
| ecr | IResolvable | IResolvable | String[] | The tags attached to the Amazon ECR container image. |
| finding | IResolvable | IResolvable | String[] | Details on the finding ARNs used to filter findings. |
| finding | IResolvable | IResolvable | String[] | Details on the finding status types used to filter findings. |
| finding | IResolvable | IResolvable | String[] | Details on the finding types used to filter findings. |
| first | IResolvable | IResolvable | Date[] | Details on the date and time a finding was first seen used to filter findings. |
| inspector | IResolvable | IResolvable | Number[] | The Amazon Inspector score to filter on. |
| last | IResolvable | IResolvable | Date[] | Details on the date and time a finding was last seen used to filter findings. |
| network | IResolvable | IResolvable | String[] | Details on the ingress source addresses used to filter findings. |
| port | IResolvable | IResolvable | Port[] | Details on the port ranges used to filter findings. |
| related | IResolvable | IResolvable | String[] | Details on the related vulnerabilities used to filter findings. |
| resource | IResolvable | IResolvable | String[] | Details on the resource IDs used to filter findings. |
| resource | IResolvable | IResolvable | Map[] | Details on the resource tags used to filter findings. |
| resource | IResolvable | IResolvable | String[] | Details on the resource types used to filter findings. |
| severity? | IResolvable | IResolvable | String[] | Details on the severity used to filter findings. |
| title? | IResolvable | IResolvable | String[] | Details on the finding title used to filter findings. |
| updated | IResolvable | IResolvable | Date[] | Details on the date and time a finding was last updated at used to filter findings. |
| vendor | IResolvable | IResolvable | String[] | Details on the vendor severity used to filter findings. |
| vulnerability | IResolvable | IResolvable | String[] | Details on the vulnerability ID used to filter findings. |
| vulnerability | IResolvable | IResolvable | String[] | Details on the vulnerability score to filter findings by. |
| vulnerable | IResolvable | IResolvable | Package[] | Details on the vulnerable packages used to filter findings. |
awsAccountId?
Type:
IResolvable | IResolvable | String[]
(optional)
Details of the AWS account IDs used to filter findings.
componentId?
Type:
IResolvable | IResolvable | String[]
(optional)
Details of the component IDs used to filter findings.
componentType?
Type:
IResolvable | IResolvable | String[]
(optional)
Details of the component types used to filter findings.
ec2InstanceImageId?
Type:
IResolvable | IResolvable | String[]
(optional)
Details of the Amazon EC2 instance image IDs used to filter findings.
ec2InstanceSubnetId?
Type:
IResolvable | IResolvable | String[]
(optional)
Details of the Amazon EC2 instance subnet IDs used to filter findings.
ec2InstanceVpcId?
Type:
IResolvable | IResolvable | String[]
(optional)
Details of the Amazon EC2 instance VPC IDs used to filter findings.
ecrImageArchitecture?
Type:
IResolvable | IResolvable | String[]
(optional)
Details of the Amazon ECR image architecture types used to filter findings.
ecrImageHash?
Type:
IResolvable | IResolvable | String[]
(optional)
Details of the Amazon ECR image hashes used to filter findings.
ecrImagePushedAt?
Type:
IResolvable | IResolvable | Date[]
(optional)
Details on the Amazon ECR image push date and time used to filter findings.
ecrImageRegistry?
Type:
IResolvable | IResolvable | String[]
(optional)
Details on the Amazon ECR registry used to filter findings.
ecrImageRepositoryName?
Type:
IResolvable | IResolvable | String[]
(optional)
Details on the name of the Amazon ECR repository used to filter findings.
ecrImageTags?
Type:
IResolvable | IResolvable | String[]
(optional)
The tags attached to the Amazon ECR container image.
findingArn?
Type:
IResolvable | IResolvable | String[]
(optional)
Details on the finding ARNs used to filter findings.
findingStatus?
Type:
IResolvable | IResolvable | String[]
(optional)
Details on the finding status types used to filter findings.
findingType?
Type:
IResolvable | IResolvable | String[]
(optional)
Details on the finding types used to filter findings.
firstObservedAt?
Type:
IResolvable | IResolvable | Date[]
(optional)
Details on the date and time a finding was first seen used to filter findings.
inspectorScore?
Type:
IResolvable | IResolvable | Number[]
(optional)
The Amazon Inspector score to filter on.
lastObservedAt?
Type:
IResolvable | IResolvable | Date[]
(optional)
Details on the date and time a finding was last seen used to filter findings.
networkProtocol?
Type:
IResolvable | IResolvable | String[]
(optional)
Details on the ingress source addresses used to filter findings.
portRange?
Type:
IResolvable | IResolvable | Port[]
(optional)
Details on the port ranges used to filter findings.
relatedVulnerabilities?
Type:
IResolvable | IResolvable | String[]
(optional)
Details on the related vulnerabilities used to filter findings.
resourceId?
Type:
IResolvable | IResolvable | String[]
(optional)
Details on the resource IDs used to filter findings.
resourceTags?
Type:
IResolvable | IResolvable | Map[]
(optional)
Details on the resource tags used to filter findings.
resourceType?
Type:
IResolvable | IResolvable | String[]
(optional)
Details on the resource types used to filter findings.
severity?
Type:
IResolvable | IResolvable | String[]
(optional)
Details on the severity used to filter findings.
title?
Type:
IResolvable | IResolvable | String[]
(optional)
Details on the finding title used to filter findings.
updatedAt?
Type:
IResolvable | IResolvable | Date[]
(optional)
Details on the date and time a finding was last updated at used to filter findings.
vendorSeverity?
Type:
IResolvable | IResolvable | String[]
(optional)
Details on the vendor severity used to filter findings.
vulnerabilityId?
Type:
IResolvable | IResolvable | String[]
(optional)
Details on the vulnerability ID used to filter findings.
vulnerabilitySource?
Type:
IResolvable | IResolvable | String[]
(optional)
Details on the vulnerability score to filter findings by.
vulnerablePackages?
Type:
IResolvable | IResolvable | Package[]
(optional)
Details on the vulnerable packages used to filter findings.

.NET
Java
Python
TypeScript