aws-cdk-lib.aws_inspectorv2.CfnFilter.FilterCriteriaProperty

interface FilterCriteriaProperty

LanguageType name
.NETAmazon.CDK.AWS.InspectorV2.CfnFilter.FilterCriteriaProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsinspectorv2#CfnFilter_FilterCriteriaProperty
Javasoftware.amazon.awscdk.services.inspectorv2.CfnFilter.FilterCriteriaProperty
Pythonaws_cdk.aws_inspectorv2.CfnFilter.FilterCriteriaProperty
TypeScript aws-cdk-lib » 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 { aws_inspectorv2 as inspectorv2 } from 'aws-cdk-lib';
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

NameTypeDescription
awsAccountId?IResolvable | IResolvable | StringFilterProperty[]Details of the AWS account IDs used to filter findings.
componentId?IResolvable | IResolvable | StringFilterProperty[]Details of the component IDs used to filter findings.
componentType?IResolvable | IResolvable | StringFilterProperty[]Details of the component types used to filter findings.
ec2InstanceImageId?IResolvable | IResolvable | StringFilterProperty[]Details of the Amazon EC2 instance image IDs used to filter findings.
ec2InstanceSubnetId?IResolvable | IResolvable | StringFilterProperty[]Details of the Amazon EC2 instance subnet IDs used to filter findings.
ec2InstanceVpcId?IResolvable | IResolvable | StringFilterProperty[]Details of the Amazon EC2 instance VPC IDs used to filter findings.
ecrImageArchitecture?IResolvable | IResolvable | StringFilterProperty[]Details of the Amazon ECR image architecture types used to filter findings.
ecrImageHash?IResolvable | IResolvable | StringFilterProperty[]Details of the Amazon ECR image hashes used to filter findings.
ecrImagePushedAt?IResolvable | IResolvable | DateFilterProperty[]Details on the Amazon ECR image push date and time used to filter findings.
ecrImageRegistry?IResolvable | IResolvable | StringFilterProperty[]Details on the Amazon ECR registry used to filter findings.
ecrImageRepositoryName?IResolvable | IResolvable | StringFilterProperty[]Details on the name of the Amazon ECR repository used to filter findings.
ecrImageTags?IResolvable | IResolvable | StringFilterProperty[]The tags attached to the Amazon ECR container image.
findingArn?IResolvable | IResolvable | StringFilterProperty[]Details on the finding ARNs used to filter findings.
findingStatus?IResolvable | IResolvable | StringFilterProperty[]Details on the finding status types used to filter findings.
findingType?IResolvable | IResolvable | StringFilterProperty[]Details on the finding types used to filter findings.
firstObservedAt?IResolvable | IResolvable | DateFilterProperty[]Details on the date and time a finding was first seen used to filter findings.
inspectorScore?IResolvable | IResolvable | NumberFilterProperty[]The Amazon Inspector score to filter on.
lastObservedAt?IResolvable | IResolvable | DateFilterProperty[]Details on the date and time a finding was last seen used to filter findings.
networkProtocol?IResolvable | IResolvable | StringFilterProperty[]Details on network protocol used to filter findings.
portRange?IResolvable | IResolvable | PortRangeFilterProperty[]Details on the port ranges used to filter findings.
relatedVulnerabilities?IResolvable | IResolvable | StringFilterProperty[]Details on the related vulnerabilities used to filter findings.
resourceId?IResolvable | IResolvable | StringFilterProperty[]Details on the resource IDs used to filter findings.
resourceTags?IResolvable | IResolvable | MapFilterProperty[]Details on the resource tags used to filter findings.
resourceType?IResolvable | IResolvable | StringFilterProperty[]Details on the resource types used to filter findings.
severity?IResolvable | IResolvable | StringFilterProperty[]Details on the severity used to filter findings.
title?IResolvable | IResolvable | StringFilterProperty[]Details on the finding title used to filter findings.
updatedAt?IResolvable | IResolvable | DateFilterProperty[]Details on the date and time a finding was last updated at used to filter findings.
vendorSeverity?IResolvable | IResolvable | StringFilterProperty[]Details on the vendor severity used to filter findings.
vulnerabilityId?IResolvable | IResolvable | StringFilterProperty[]Details on the vulnerability ID used to filter findings.
vulnerabilitySource?IResolvable | IResolvable | StringFilterProperty[]Details on the vulnerability score to filter findings by.
vulnerablePackages?IResolvable | IResolvable | PackageFilterProperty[]Details on the vulnerable packages used to filter findings.

awsAccountId?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details of the AWS account IDs used to filter findings.


componentId?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details of the component IDs used to filter findings.


componentType?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details of the component types used to filter findings.


ec2InstanceImageId?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details of the Amazon EC2 instance image IDs used to filter findings.


ec2InstanceSubnetId?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details of the Amazon EC2 instance subnet IDs used to filter findings.


ec2InstanceVpcId?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details of the Amazon EC2 instance VPC IDs used to filter findings.


ecrImageArchitecture?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details of the Amazon ECR image architecture types used to filter findings.


ecrImageHash?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details of the Amazon ECR image hashes used to filter findings.


ecrImagePushedAt?

Type: IResolvable | IResolvable | DateFilterProperty[] (optional)

Details on the Amazon ECR image push date and time used to filter findings.


ecrImageRegistry?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details on the Amazon ECR registry used to filter findings.


ecrImageRepositoryName?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details on the name of the Amazon ECR repository used to filter findings.


ecrImageTags?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

The tags attached to the Amazon ECR container image.


findingArn?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details on the finding ARNs used to filter findings.


findingStatus?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details on the finding status types used to filter findings.


findingType?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details on the finding types used to filter findings.


firstObservedAt?

Type: IResolvable | IResolvable | DateFilterProperty[] (optional)

Details on the date and time a finding was first seen used to filter findings.


inspectorScore?

Type: IResolvable | IResolvable | NumberFilterProperty[] (optional)

The Amazon Inspector score to filter on.


lastObservedAt?

Type: IResolvable | IResolvable | DateFilterProperty[] (optional)

Details on the date and time a finding was last seen used to filter findings.


networkProtocol?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details on network protocol used to filter findings.


portRange?

Type: IResolvable | IResolvable | PortRangeFilterProperty[] (optional)

Details on the port ranges used to filter findings.


relatedVulnerabilities?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details on the related vulnerabilities used to filter findings.


resourceId?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details on the resource IDs used to filter findings.


resourceTags?

Type: IResolvable | IResolvable | MapFilterProperty[] (optional)

Details on the resource tags used to filter findings.


resourceType?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details on the resource types used to filter findings.


severity?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details on the severity used to filter findings.


title?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details on the finding title used to filter findings.


updatedAt?

Type: IResolvable | IResolvable | DateFilterProperty[] (optional)

Details on the date and time a finding was last updated at used to filter findings.


vendorSeverity?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details on the vendor severity used to filter findings.


vulnerabilityId?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details on the vulnerability ID used to filter findings.


vulnerabilitySource?

Type: IResolvable | IResolvable | StringFilterProperty[] (optional)

Details on the vulnerability score to filter findings by.


vulnerablePackages?

Type: IResolvable | IResolvable | PackageFilterProperty[] (optional)

Details on the vulnerable packages used to filter findings.