Interface CfnFilter.FilterCriteriaProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnFilter.FilterCriteriaProperty.Jsii$Proxy
Enclosing class:
CfnFilter

@Stability(Stable) public static interface CfnFilter.FilterCriteriaProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.inspectorv2.*;
 FilterCriteriaProperty filterCriteriaProperty = FilterCriteriaProperty.builder()
         .awsAccountId(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .componentId(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .componentType(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .ec2InstanceImageId(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .ec2InstanceSubnetId(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .ec2InstanceVpcId(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .ecrImageArchitecture(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .ecrImageHash(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .ecrImagePushedAt(List.of(DateFilterProperty.builder()
                 .endInclusive(123)
                 .startInclusive(123)
                 .build()))
         .ecrImageRegistry(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .ecrImageRepositoryName(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .ecrImageTags(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .findingArn(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .findingStatus(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .findingType(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .firstObservedAt(List.of(DateFilterProperty.builder()
                 .endInclusive(123)
                 .startInclusive(123)
                 .build()))
         .inspectorScore(List.of(NumberFilterProperty.builder()
                 .lowerInclusive(123)
                 .upperInclusive(123)
                 .build()))
         .lastObservedAt(List.of(DateFilterProperty.builder()
                 .endInclusive(123)
                 .startInclusive(123)
                 .build()))
         .networkProtocol(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .portRange(List.of(PortRangeFilterProperty.builder()
                 .beginInclusive(123)
                 .endInclusive(123)
                 .build()))
         .relatedVulnerabilities(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .resourceId(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .resourceTags(List.of(MapFilterProperty.builder()
                 .comparison("comparison")
                 // the properties below are optional
                 .key("key")
                 .value("value")
                 .build()))
         .resourceType(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .severity(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .title(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .updatedAt(List.of(DateFilterProperty.builder()
                 .endInclusive(123)
                 .startInclusive(123)
                 .build()))
         .vendorSeverity(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .vulnerabilityId(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .vulnerabilitySource(List.of(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build()))
         .vulnerablePackages(List.of(PackageFilterProperty.builder()
                 .architecture(StringFilterProperty.builder()
                         .comparison("comparison")
                         .value("value")
                         .build())
                 .epoch(NumberFilterProperty.builder()
                         .lowerInclusive(123)
                         .upperInclusive(123)
                         .build())
                 .name(StringFilterProperty.builder()
                         .comparison("comparison")
                         .value("value")
                         .build())
                 .release(StringFilterProperty.builder()
                         .comparison("comparison")
                         .value("value")
                         .build())
                 .sourceLayerHash(StringFilterProperty.builder()
                         .comparison("comparison")
                         .value("value")
                         .build())
                 .version(StringFilterProperty.builder()
                         .comparison("comparison")
                         .value("value")
                         .build())
                 .build()))
         .build();
 
  • Method Details

    • getAwsAccountId

      @Stability(Stable) @Nullable default Object getAwsAccountId()
      Details of the AWS account IDs used to filter findings.
    • getComponentId

      @Stability(Stable) @Nullable default Object getComponentId()
      Details of the component IDs used to filter findings.
    • getComponentType

      @Stability(Stable) @Nullable default Object getComponentType()
      Details of the component types used to filter findings.
    • getEc2InstanceImageId

      @Stability(Stable) @Nullable default Object getEc2InstanceImageId()
      Details of the Amazon EC2 instance image IDs used to filter findings.
    • getEc2InstanceSubnetId

      @Stability(Stable) @Nullable default Object getEc2InstanceSubnetId()
      Details of the Amazon EC2 instance subnet IDs used to filter findings.
    • getEc2InstanceVpcId

      @Stability(Stable) @Nullable default Object getEc2InstanceVpcId()
      Details of the Amazon EC2 instance VPC IDs used to filter findings.
    • getEcrImageArchitecture

      @Stability(Stable) @Nullable default Object getEcrImageArchitecture()
      Details of the Amazon ECR image architecture types used to filter findings.
    • getEcrImageHash

      @Stability(Stable) @Nullable default Object getEcrImageHash()
      Details of the Amazon ECR image hashes used to filter findings.
    • getEcrImagePushedAt

      @Stability(Stable) @Nullable default Object getEcrImagePushedAt()
      Details on the Amazon ECR image push date and time used to filter findings.
    • getEcrImageRegistry

      @Stability(Stable) @Nullable default Object getEcrImageRegistry()
      Details on the Amazon ECR registry used to filter findings.
    • getEcrImageRepositoryName

      @Stability(Stable) @Nullable default Object getEcrImageRepositoryName()
      Details on the name of the Amazon ECR repository used to filter findings.
    • getEcrImageTags

      @Stability(Stable) @Nullable default Object getEcrImageTags()
      The tags attached to the Amazon ECR container image.
    • getFindingArn

      @Stability(Stable) @Nullable default Object getFindingArn()
      Details on the finding ARNs used to filter findings.
    • getFindingStatus

      @Stability(Stable) @Nullable default Object getFindingStatus()
      Details on the finding status types used to filter findings.
    • getFindingType

      @Stability(Stable) @Nullable default Object getFindingType()
      Details on the finding types used to filter findings.
    • getFirstObservedAt

      @Stability(Stable) @Nullable default Object getFirstObservedAt()
      Details on the date and time a finding was first seen used to filter findings.
    • getInspectorScore

      @Stability(Stable) @Nullable default Object getInspectorScore()
      The Amazon Inspector score to filter on.
    • getLastObservedAt

      @Stability(Stable) @Nullable default Object getLastObservedAt()
      Details on the date and time a finding was last seen used to filter findings.
    • getNetworkProtocol

      @Stability(Stable) @Nullable default Object getNetworkProtocol()
      Details on the ingress source addresses used to filter findings.
    • getPortRange

      @Stability(Stable) @Nullable default Object getPortRange()
      Details on the port ranges used to filter findings.
    • getRelatedVulnerabilities

      @Stability(Stable) @Nullable default Object getRelatedVulnerabilities()
      Details on the related vulnerabilities used to filter findings.
    • getResourceId

      @Stability(Stable) @Nullable default Object getResourceId()
      Details on the resource IDs used to filter findings.
    • getResourceTags

      @Stability(Stable) @Nullable default Object getResourceTags()
      Details on the resource tags used to filter findings.
    • getResourceType

      @Stability(Stable) @Nullable default Object getResourceType()
      Details on the resource types used to filter findings.
    • getSeverity

      @Stability(Stable) @Nullable default Object getSeverity()
      Details on the severity used to filter findings.
    • getTitle

      @Stability(Stable) @Nullable default Object getTitle()
      Details on the finding title used to filter findings.
    • getUpdatedAt

      @Stability(Stable) @Nullable default Object getUpdatedAt()
      Details on the date and time a finding was last updated at used to filter findings.
    • getVendorSeverity

      @Stability(Stable) @Nullable default Object getVendorSeverity()
      Details on the vendor severity used to filter findings.
    • getVulnerabilityId

      @Stability(Stable) @Nullable default Object getVulnerabilityId()
      Details on the vulnerability ID used to filter findings.
    • getVulnerabilitySource

      @Stability(Stable) @Nullable default Object getVulnerabilitySource()
      Details on the vulnerability score to filter findings by.
    • getVulnerablePackages

      @Stability(Stable) @Nullable default Object getVulnerablePackages()
      Details on the vulnerable packages used to filter findings.
    • builder

      @Stability(Stable) static CfnFilter.FilterCriteriaProperty.Builder builder()
      Returns:
      a CfnFilter.FilterCriteriaProperty.Builder of CfnFilter.FilterCriteriaProperty