1. Packages
  2. AWS Native
  3. API Docs
  4. inspectorv2
  5. Filter

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.101.0 published on Thursday, Apr 11, 2024 by Pulumi

aws-native.inspectorv2.Filter

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.101.0 published on Thursday, Apr 11, 2024 by Pulumi

    Inspector Filter resource schema

    Create Filter Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Filter(name: string, args: FilterArgs, opts?: CustomResourceOptions);
    @overload
    def Filter(resource_name: str,
               args: FilterArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Filter(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               filter_action: Optional[FilterAction] = None,
               filter_criteria: Optional[FilterCriteriaArgs] = None,
               description: Optional[str] = None,
               name: Optional[str] = None)
    func NewFilter(ctx *Context, name string, args FilterArgs, opts ...ResourceOption) (*Filter, error)
    public Filter(string name, FilterArgs args, CustomResourceOptions? opts = null)
    public Filter(String name, FilterArgs args)
    public Filter(String name, FilterArgs args, CustomResourceOptions options)
    
    type: aws-native:inspectorv2:Filter
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args FilterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FilterArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FilterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FilterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FilterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const aws_nativeFilterResource = new aws_native.inspectorv2.Filter("aws-nativeFilterResource", {
        filterAction: aws_native.inspectorv2.FilterAction.None,
        filterCriteria: {
            awsAccountId: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            componentId: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            componentType: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            ec2InstanceImageId: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            ec2InstanceSubnetId: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            ec2InstanceVpcId: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            ecrImageArchitecture: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            ecrImageHash: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            ecrImagePushedAt: [{
                endInclusive: 0,
                startInclusive: 0,
            }],
            ecrImageRegistry: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            ecrImageRepositoryName: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            ecrImageTags: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            findingArn: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            findingStatus: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            findingType: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            firstObservedAt: [{
                endInclusive: 0,
                startInclusive: 0,
            }],
            inspectorScore: [{
                lowerInclusive: 0,
                upperInclusive: 0,
            }],
            lastObservedAt: [{
                endInclusive: 0,
                startInclusive: 0,
            }],
            networkProtocol: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            portRange: [{
                beginInclusive: 0,
                endInclusive: 0,
            }],
            relatedVulnerabilities: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            resourceId: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            resourceTags: [{
                comparison: aws_native.inspectorv2.FilterMapComparison.Equals,
                key: "string",
                value: "string",
            }],
            resourceType: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            severity: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            title: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            updatedAt: [{
                endInclusive: 0,
                startInclusive: 0,
            }],
            vendorSeverity: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            vulnerabilityId: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            vulnerabilitySource: [{
                comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                value: "string",
            }],
            vulnerablePackages: [{
                architecture: {
                    comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                    value: "string",
                },
                epoch: {
                    lowerInclusive: 0,
                    upperInclusive: 0,
                },
                name: {
                    comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                    value: "string",
                },
                release: {
                    comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                    value: "string",
                },
                sourceLayerHash: {
                    comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                    value: "string",
                },
                version: {
                    comparison: aws_native.inspectorv2.FilterStringComparison.Equals,
                    value: "string",
                },
            }],
        },
        description: "string",
        name: "string",
    });
    
    Coming soon!
    

    Filter Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Filter resource accepts the following input properties:

    FilterAction Pulumi.AwsNative.InspectorV2.FilterAction
    Findings filter action.
    FilterCriteria Pulumi.AwsNative.InspectorV2.Inputs.FilterCriteria
    Findings filter criteria.
    Description string
    Findings filter description.
    Name string
    Findings filter name.
    FilterAction FilterAction
    Findings filter action.
    FilterCriteria FilterCriteriaArgs
    Findings filter criteria.
    Description string
    Findings filter description.
    Name string
    Findings filter name.
    filterAction FilterAction
    Findings filter action.
    filterCriteria FilterCriteria
    Findings filter criteria.
    description String
    Findings filter description.
    name String
    Findings filter name.
    filterAction FilterAction
    Findings filter action.
    filterCriteria FilterCriteria
    Findings filter criteria.
    description string
    Findings filter description.
    name string
    Findings filter name.
    filter_action FilterAction
    Findings filter action.
    filter_criteria FilterCriteriaArgs
    Findings filter criteria.
    description str
    Findings filter description.
    name str
    Findings filter name.
    filterAction "NONE" | "SUPPRESS"
    Findings filter action.
    filterCriteria Property Map
    Findings filter criteria.
    description String
    Findings filter description.
    name String
    Findings filter name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Filter resource produces the following output properties:

    Arn string
    Findings filter ARN.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    Findings filter ARN.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    Findings filter ARN.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    Findings filter ARN.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    Findings filter ARN.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    Findings filter ARN.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    FilterAction, FilterActionArgs

    None
    NONE
    Suppress
    SUPPRESS
    FilterActionNone
    NONE
    FilterActionSuppress
    SUPPRESS
    None
    NONE
    Suppress
    SUPPRESS
    None
    NONE
    Suppress
    SUPPRESS
    NONE
    NONE
    SUPPRESS
    SUPPRESS
    "NONE"
    NONE
    "SUPPRESS"
    SUPPRESS

    FilterCriteria, FilterCriteriaArgs

    AwsAccountId List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    ComponentId List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    ComponentType List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    Ec2InstanceImageId List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    Ec2InstanceSubnetId List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    Ec2InstanceVpcId List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    EcrImageArchitecture List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    EcrImageHash List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    EcrImagePushedAt List<Pulumi.AwsNative.InspectorV2.Inputs.FilterDateFilter>
    EcrImageRegistry List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    EcrImageRepositoryName List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    EcrImageTags List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    FindingArn List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    FindingStatus List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    FindingType List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    FirstObservedAt List<Pulumi.AwsNative.InspectorV2.Inputs.FilterDateFilter>
    InspectorScore List<Pulumi.AwsNative.InspectorV2.Inputs.FilterNumberFilter>
    LastObservedAt List<Pulumi.AwsNative.InspectorV2.Inputs.FilterDateFilter>
    NetworkProtocol List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    PortRange List<Pulumi.AwsNative.InspectorV2.Inputs.FilterPortRangeFilter>
    RelatedVulnerabilities List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    ResourceId List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    ResourceTags List<Pulumi.AwsNative.InspectorV2.Inputs.FilterMapFilter>
    ResourceType List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    Severity List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    Title List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    UpdatedAt List<Pulumi.AwsNative.InspectorV2.Inputs.FilterDateFilter>
    VendorSeverity List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    VulnerabilityId List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    VulnerabilitySource List<Pulumi.AwsNative.InspectorV2.Inputs.FilterStringFilter>
    VulnerablePackages List<Pulumi.AwsNative.InspectorV2.Inputs.FilterPackageFilter>
    AwsAccountId []FilterStringFilter
    ComponentId []FilterStringFilter
    ComponentType []FilterStringFilter
    Ec2InstanceImageId []FilterStringFilter
    Ec2InstanceSubnetId []FilterStringFilter
    Ec2InstanceVpcId []FilterStringFilter
    EcrImageArchitecture []FilterStringFilter
    EcrImageHash []FilterStringFilter
    EcrImagePushedAt []FilterDateFilter
    EcrImageRegistry []FilterStringFilter
    EcrImageRepositoryName []FilterStringFilter
    EcrImageTags []FilterStringFilter
    FindingArn []FilterStringFilter
    FindingStatus []FilterStringFilter
    FindingType []FilterStringFilter
    FirstObservedAt []FilterDateFilter
    InspectorScore []FilterNumberFilter
    LastObservedAt []FilterDateFilter
    NetworkProtocol []FilterStringFilter
    PortRange []FilterPortRangeFilter
    RelatedVulnerabilities []FilterStringFilter
    ResourceId []FilterStringFilter
    ResourceTags []FilterMapFilter
    ResourceType []FilterStringFilter
    Severity []FilterStringFilter
    Title []FilterStringFilter
    UpdatedAt []FilterDateFilter
    VendorSeverity []FilterStringFilter
    VulnerabilityId []FilterStringFilter
    VulnerabilitySource []FilterStringFilter
    VulnerablePackages []FilterPackageFilter
    awsAccountId List<FilterStringFilter>
    componentId List<FilterStringFilter>
    componentType List<FilterStringFilter>
    ec2InstanceImageId List<FilterStringFilter>
    ec2InstanceSubnetId List<FilterStringFilter>
    ec2InstanceVpcId List<FilterStringFilter>
    ecrImageArchitecture List<FilterStringFilter>
    ecrImageHash List<FilterStringFilter>
    ecrImagePushedAt List<FilterDateFilter>
    ecrImageRegistry List<FilterStringFilter>
    ecrImageRepositoryName List<FilterStringFilter>
    ecrImageTags List<FilterStringFilter>
    findingArn List<FilterStringFilter>
    findingStatus List<FilterStringFilter>
    findingType List<FilterStringFilter>
    firstObservedAt List<FilterDateFilter>
    inspectorScore List<FilterNumberFilter>
    lastObservedAt List<FilterDateFilter>
    networkProtocol List<FilterStringFilter>
    portRange List<FilterPortRangeFilter>
    relatedVulnerabilities List<FilterStringFilter>
    resourceId List<FilterStringFilter>
    resourceTags List<FilterMapFilter>
    resourceType List<FilterStringFilter>
    severity List<FilterStringFilter>
    title List<FilterStringFilter>
    updatedAt List<FilterDateFilter>
    vendorSeverity List<FilterStringFilter>
    vulnerabilityId List<FilterStringFilter>
    vulnerabilitySource List<FilterStringFilter>
    vulnerablePackages List<FilterPackageFilter>
    awsAccountId FilterStringFilter[]
    componentId FilterStringFilter[]
    componentType FilterStringFilter[]
    ec2InstanceImageId FilterStringFilter[]
    ec2InstanceSubnetId FilterStringFilter[]
    ec2InstanceVpcId FilterStringFilter[]
    ecrImageArchitecture FilterStringFilter[]
    ecrImageHash FilterStringFilter[]
    ecrImagePushedAt FilterDateFilter[]
    ecrImageRegistry FilterStringFilter[]
    ecrImageRepositoryName FilterStringFilter[]
    ecrImageTags FilterStringFilter[]
    findingArn FilterStringFilter[]
    findingStatus FilterStringFilter[]
    findingType FilterStringFilter[]
    firstObservedAt FilterDateFilter[]
    inspectorScore FilterNumberFilter[]
    lastObservedAt FilterDateFilter[]
    networkProtocol FilterStringFilter[]
    portRange FilterPortRangeFilter[]
    relatedVulnerabilities FilterStringFilter[]
    resourceId FilterStringFilter[]
    resourceTags FilterMapFilter[]
    resourceType FilterStringFilter[]
    severity FilterStringFilter[]
    title FilterStringFilter[]
    updatedAt FilterDateFilter[]
    vendorSeverity FilterStringFilter[]
    vulnerabilityId FilterStringFilter[]
    vulnerabilitySource FilterStringFilter[]
    vulnerablePackages FilterPackageFilter[]
    aws_account_id Sequence[FilterStringFilter]
    component_id Sequence[FilterStringFilter]
    component_type Sequence[FilterStringFilter]
    ec2_instance_image_id Sequence[FilterStringFilter]
    ec2_instance_subnet_id Sequence[FilterStringFilter]
    ec2_instance_vpc_id Sequence[FilterStringFilter]
    ecr_image_architecture Sequence[FilterStringFilter]
    ecr_image_hash Sequence[FilterStringFilter]
    ecr_image_pushed_at Sequence[FilterDateFilter]
    ecr_image_registry Sequence[FilterStringFilter]
    ecr_image_repository_name Sequence[FilterStringFilter]
    ecr_image_tags Sequence[FilterStringFilter]
    finding_arn Sequence[FilterStringFilter]
    finding_status Sequence[FilterStringFilter]
    finding_type Sequence[FilterStringFilter]
    first_observed_at Sequence[FilterDateFilter]
    inspector_score Sequence[FilterNumberFilter]
    last_observed_at Sequence[FilterDateFilter]
    network_protocol Sequence[FilterStringFilter]
    port_range Sequence[FilterPortRangeFilter]
    related_vulnerabilities Sequence[FilterStringFilter]
    resource_id Sequence[FilterStringFilter]
    resource_tags Sequence[FilterMapFilter]
    resource_type Sequence[FilterStringFilter]
    severity Sequence[FilterStringFilter]
    title Sequence[FilterStringFilter]
    updated_at Sequence[FilterDateFilter]
    vendor_severity Sequence[FilterStringFilter]
    vulnerability_id Sequence[FilterStringFilter]
    vulnerability_source Sequence[FilterStringFilter]
    vulnerable_packages Sequence[FilterPackageFilter]
    awsAccountId List<Property Map>
    componentId List<Property Map>
    componentType List<Property Map>
    ec2InstanceImageId List<Property Map>
    ec2InstanceSubnetId List<Property Map>
    ec2InstanceVpcId List<Property Map>
    ecrImageArchitecture List<Property Map>
    ecrImageHash List<Property Map>
    ecrImagePushedAt List<Property Map>
    ecrImageRegistry List<Property Map>
    ecrImageRepositoryName List<Property Map>
    ecrImageTags List<Property Map>
    findingArn List<Property Map>
    findingStatus List<Property Map>
    findingType List<Property Map>
    firstObservedAt List<Property Map>
    inspectorScore List<Property Map>
    lastObservedAt List<Property Map>
    networkProtocol List<Property Map>
    portRange List<Property Map>
    relatedVulnerabilities List<Property Map>
    resourceId List<Property Map>
    resourceTags List<Property Map>
    resourceType List<Property Map>
    severity List<Property Map>
    title List<Property Map>
    updatedAt List<Property Map>
    vendorSeverity List<Property Map>
    vulnerabilityId List<Property Map>
    vulnerabilitySource List<Property Map>
    vulnerablePackages List<Property Map>

    FilterDateFilter, FilterDateFilterArgs

    FilterMapComparison, FilterMapComparisonArgs

    EqualsValue
    EQUALS
    FilterMapComparisonEquals
    EQUALS
    Equals
    EQUALS
    Equals
    EQUALS
    EQUALS
    EQUALS
    "EQUALS"
    EQUALS

    FilterMapFilter, FilterMapFilterArgs

    FilterNumberFilter, FilterNumberFilterArgs

    FilterPackageFilter, FilterPackageFilterArgs

    FilterPortRangeFilter, FilterPortRangeFilterArgs

    FilterStringComparison, FilterStringComparisonArgs

    EqualsValue
    EQUALS
    Prefix
    PREFIX
    NotEquals
    NOT_EQUALS
    FilterStringComparisonEquals
    EQUALS
    FilterStringComparisonPrefix
    PREFIX
    FilterStringComparisonNotEquals
    NOT_EQUALS
    Equals
    EQUALS
    Prefix
    PREFIX
    NotEquals
    NOT_EQUALS
    Equals
    EQUALS
    Prefix
    PREFIX
    NotEquals
    NOT_EQUALS
    EQUALS
    EQUALS
    PREFIX
    PREFIX
    NOT_EQUALS
    NOT_EQUALS
    "EQUALS"
    EQUALS
    "PREFIX"
    PREFIX
    "NOT_EQUALS"
    NOT_EQUALS

    FilterStringFilter, FilterStringFilterArgs

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.101.0 published on Thursday, Apr 11, 2024 by Pulumi