package awsinspectorv2 // 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 "github.com/aws/aws-cdk-go/awscdk" // // filterCriteriaProperty := &FilterCriteriaProperty{ // AwsAccountId: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // ComponentId: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // ComponentType: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // Ec2InstanceImageId: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // Ec2InstanceSubnetId: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // Ec2InstanceVpcId: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // EcrImageArchitecture: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // EcrImageHash: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // EcrImagePushedAt: []interface{}{ // &DateFilterProperty{ // EndInclusive: jsii.Number(123), // StartInclusive: jsii.Number(123), // }, // }, // EcrImageRegistry: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // EcrImageRepositoryName: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // EcrImageTags: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // FindingArn: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // FindingStatus: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // FindingType: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // FirstObservedAt: []interface{}{ // &DateFilterProperty{ // EndInclusive: jsii.Number(123), // StartInclusive: jsii.Number(123), // }, // }, // InspectorScore: []interface{}{ // &NumberFilterProperty{ // LowerInclusive: jsii.Number(123), // UpperInclusive: jsii.Number(123), // }, // }, // LastObservedAt: []interface{}{ // &DateFilterProperty{ // EndInclusive: jsii.Number(123), // StartInclusive: jsii.Number(123), // }, // }, // NetworkProtocol: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // PortRange: []interface{}{ // &PortRangeFilterProperty{ // BeginInclusive: jsii.Number(123), // EndInclusive: jsii.Number(123), // }, // }, // RelatedVulnerabilities: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // ResourceId: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // ResourceTags: []interface{}{ // &MapFilterProperty{ // Comparison: jsii.String("comparison"), // // // the properties below are optional // Key: jsii.String("key"), // Value: jsii.String("value"), // }, // }, // ResourceType: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // Severity: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // Title: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // UpdatedAt: []interface{}{ // &DateFilterProperty{ // EndInclusive: jsii.Number(123), // StartInclusive: jsii.Number(123), // }, // }, // VendorSeverity: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // VulnerabilityId: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // VulnerabilitySource: []interface{}{ // &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // VulnerablePackages: []interface{}{ // &PackageFilterProperty{ // Architecture: &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // Epoch: &NumberFilterProperty{ // LowerInclusive: jsii.Number(123), // UpperInclusive: jsii.Number(123), // }, // Name: &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // Release: &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // SourceLayerHash: &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // Version: &StringFilterProperty{ // Comparison: jsii.String("comparison"), // Value: jsii.String("value"), // }, // }, // }, // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html // type CfnFilter_FilterCriteriaProperty struct { // Details of the AWS account IDs used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-awsaccountid // AwsAccountId interface{} `field:"optional" json:"awsAccountId" yaml:"awsAccountId"` // Details of the component IDs used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-componentid // ComponentId interface{} `field:"optional" json:"componentId" yaml:"componentId"` // Details of the component types used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-componenttype // ComponentType interface{} `field:"optional" json:"componentType" yaml:"componentType"` // Details of the Amazon EC2 instance image IDs used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ec2instanceimageid // Ec2InstanceImageId interface{} `field:"optional" json:"ec2InstanceImageId" yaml:"ec2InstanceImageId"` // Details of the Amazon EC2 instance subnet IDs used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ec2instancesubnetid // Ec2InstanceSubnetId interface{} `field:"optional" json:"ec2InstanceSubnetId" yaml:"ec2InstanceSubnetId"` // Details of the Amazon EC2 instance VPC IDs used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ec2instancevpcid // Ec2InstanceVpcId interface{} `field:"optional" json:"ec2InstanceVpcId" yaml:"ec2InstanceVpcId"` // Details of the Amazon ECR image architecture types used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ecrimagearchitecture // EcrImageArchitecture interface{} `field:"optional" json:"ecrImageArchitecture" yaml:"ecrImageArchitecture"` // Details of the Amazon ECR image hashes used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ecrimagehash // EcrImageHash interface{} `field:"optional" json:"ecrImageHash" yaml:"ecrImageHash"` // Details on the Amazon ECR image push date and time used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ecrimagepushedat // EcrImagePushedAt interface{} `field:"optional" json:"ecrImagePushedAt" yaml:"ecrImagePushedAt"` // Details on the Amazon ECR registry used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ecrimageregistry // EcrImageRegistry interface{} `field:"optional" json:"ecrImageRegistry" yaml:"ecrImageRegistry"` // Details on the name of the Amazon ECR repository used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ecrimagerepositoryname // EcrImageRepositoryName interface{} `field:"optional" json:"ecrImageRepositoryName" yaml:"ecrImageRepositoryName"` // The tags attached to the Amazon ECR container image. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ecrimagetags // EcrImageTags interface{} `field:"optional" json:"ecrImageTags" yaml:"ecrImageTags"` // Details on the finding ARNs used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-findingarn // FindingArn interface{} `field:"optional" json:"findingArn" yaml:"findingArn"` // Details on the finding status types used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-findingstatus // FindingStatus interface{} `field:"optional" json:"findingStatus" yaml:"findingStatus"` // Details on the finding types used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-findingtype // FindingType interface{} `field:"optional" json:"findingType" yaml:"findingType"` // Details on the date and time a finding was first seen used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-firstobservedat // FirstObservedAt interface{} `field:"optional" json:"firstObservedAt" yaml:"firstObservedAt"` // The Amazon Inspector score to filter on. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-inspectorscore // InspectorScore interface{} `field:"optional" json:"inspectorScore" yaml:"inspectorScore"` // Details on the date and time a finding was last seen used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-lastobservedat // LastObservedAt interface{} `field:"optional" json:"lastObservedAt" yaml:"lastObservedAt"` // Details on network protocol used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-networkprotocol // NetworkProtocol interface{} `field:"optional" json:"networkProtocol" yaml:"networkProtocol"` // Details on the port ranges used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-portrange // PortRange interface{} `field:"optional" json:"portRange" yaml:"portRange"` // Details on the related vulnerabilities used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-relatedvulnerabilities // RelatedVulnerabilities interface{} `field:"optional" json:"relatedVulnerabilities" yaml:"relatedVulnerabilities"` // Details on the resource IDs used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-resourceid // ResourceId interface{} `field:"optional" json:"resourceId" yaml:"resourceId"` // Details on the resource tags used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-resourcetags // ResourceTags interface{} `field:"optional" json:"resourceTags" yaml:"resourceTags"` // Details on the resource types used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-resourcetype // ResourceType interface{} `field:"optional" json:"resourceType" yaml:"resourceType"` // Details on the severity used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-severity // Severity interface{} `field:"optional" json:"severity" yaml:"severity"` // Details on the finding title used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-title // Title interface{} `field:"optional" json:"title" yaml:"title"` // Details on the date and time a finding was last updated at used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-updatedat // UpdatedAt interface{} `field:"optional" json:"updatedAt" yaml:"updatedAt"` // Details on the vendor severity used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-vendorseverity // VendorSeverity interface{} `field:"optional" json:"vendorSeverity" yaml:"vendorSeverity"` // Details on the vulnerability ID used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-vulnerabilityid // VulnerabilityId interface{} `field:"optional" json:"vulnerabilityId" yaml:"vulnerabilityId"` // Details on the vulnerability score to filter findings by. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-vulnerabilitysource // VulnerabilitySource interface{} `field:"optional" json:"vulnerabilitySource" yaml:"vulnerabilitySource"` // Details on the vulnerable packages used to filter findings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-vulnerablepackages // VulnerablePackages interface{} `field:"optional" json:"vulnerablePackages" yaml:"vulnerablePackages"` }