Implementation
factory AwsSecurityFindingFilters.fromJson(Map<String, dynamic> json) {
return AwsSecurityFindingFilters(
awsAccountId: (json['AwsAccountId'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
companyName: (json['CompanyName'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
complianceStatus: (json['ComplianceStatus'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
confidence: (json['Confidence'] as List?)
?.whereNotNull()
.map((e) => NumberFilter.fromJson(e as Map<String, dynamic>))
.toList(),
createdAt: (json['CreatedAt'] as List?)
?.whereNotNull()
.map((e) => DateFilter.fromJson(e as Map<String, dynamic>))
.toList(),
criticality: (json['Criticality'] as List?)
?.whereNotNull()
.map((e) => NumberFilter.fromJson(e as Map<String, dynamic>))
.toList(),
description: (json['Description'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
firstObservedAt: (json['FirstObservedAt'] as List?)
?.whereNotNull()
.map((e) => DateFilter.fromJson(e as Map<String, dynamic>))
.toList(),
generatorId: (json['GeneratorId'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
id: (json['Id'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
keyword: (json['Keyword'] as List?)
?.whereNotNull()
.map((e) => KeywordFilter.fromJson(e as Map<String, dynamic>))
.toList(),
lastObservedAt: (json['LastObservedAt'] as List?)
?.whereNotNull()
.map((e) => DateFilter.fromJson(e as Map<String, dynamic>))
.toList(),
malwareName: (json['MalwareName'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
malwarePath: (json['MalwarePath'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
malwareState: (json['MalwareState'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
malwareType: (json['MalwareType'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
networkDestinationDomain: (json['NetworkDestinationDomain'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
networkDestinationIpV4: (json['NetworkDestinationIpV4'] as List?)
?.whereNotNull()
.map((e) => IpFilter.fromJson(e as Map<String, dynamic>))
.toList(),
networkDestinationIpV6: (json['NetworkDestinationIpV6'] as List?)
?.whereNotNull()
.map((e) => IpFilter.fromJson(e as Map<String, dynamic>))
.toList(),
networkDestinationPort: (json['NetworkDestinationPort'] as List?)
?.whereNotNull()
.map((e) => NumberFilter.fromJson(e as Map<String, dynamic>))
.toList(),
networkDirection: (json['NetworkDirection'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
networkProtocol: (json['NetworkProtocol'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
networkSourceDomain: (json['NetworkSourceDomain'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
networkSourceIpV4: (json['NetworkSourceIpV4'] as List?)
?.whereNotNull()
.map((e) => IpFilter.fromJson(e as Map<String, dynamic>))
.toList(),
networkSourceIpV6: (json['NetworkSourceIpV6'] as List?)
?.whereNotNull()
.map((e) => IpFilter.fromJson(e as Map<String, dynamic>))
.toList(),
networkSourceMac: (json['NetworkSourceMac'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
networkSourcePort: (json['NetworkSourcePort'] as List?)
?.whereNotNull()
.map((e) => NumberFilter.fromJson(e as Map<String, dynamic>))
.toList(),
noteText: (json['NoteText'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
noteUpdatedAt: (json['NoteUpdatedAt'] as List?)
?.whereNotNull()
.map((e) => DateFilter.fromJson(e as Map<String, dynamic>))
.toList(),
noteUpdatedBy: (json['NoteUpdatedBy'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
processLaunchedAt: (json['ProcessLaunchedAt'] as List?)
?.whereNotNull()
.map((e) => DateFilter.fromJson(e as Map<String, dynamic>))
.toList(),
processName: (json['ProcessName'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
processParentPid: (json['ProcessParentPid'] as List?)
?.whereNotNull()
.map((e) => NumberFilter.fromJson(e as Map<String, dynamic>))
.toList(),
processPath: (json['ProcessPath'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
processPid: (json['ProcessPid'] as List?)
?.whereNotNull()
.map((e) => NumberFilter.fromJson(e as Map<String, dynamic>))
.toList(),
processTerminatedAt: (json['ProcessTerminatedAt'] as List?)
?.whereNotNull()
.map((e) => DateFilter.fromJson(e as Map<String, dynamic>))
.toList(),
productArn: (json['ProductArn'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
productFields: (json['ProductFields'] as List?)
?.whereNotNull()
.map((e) => MapFilter.fromJson(e as Map<String, dynamic>))
.toList(),
productName: (json['ProductName'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
recommendationText: (json['RecommendationText'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
recordState: (json['RecordState'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
relatedFindingsId: (json['RelatedFindingsId'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
relatedFindingsProductArn: (json['RelatedFindingsProductArn'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceAwsEc2InstanceIamInstanceProfileArn:
(json['ResourceAwsEc2InstanceIamInstanceProfileArn'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceAwsEc2InstanceImageId:
(json['ResourceAwsEc2InstanceImageId'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceAwsEc2InstanceIpV4Addresses:
(json['ResourceAwsEc2InstanceIpV4Addresses'] as List?)
?.whereNotNull()
.map((e) => IpFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceAwsEc2InstanceIpV6Addresses:
(json['ResourceAwsEc2InstanceIpV6Addresses'] as List?)
?.whereNotNull()
.map((e) => IpFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceAwsEc2InstanceKeyName:
(json['ResourceAwsEc2InstanceKeyName'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceAwsEc2InstanceLaunchedAt:
(json['ResourceAwsEc2InstanceLaunchedAt'] as List?)
?.whereNotNull()
.map((e) => DateFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceAwsEc2InstanceSubnetId:
(json['ResourceAwsEc2InstanceSubnetId'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceAwsEc2InstanceType: (json['ResourceAwsEc2InstanceType'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceAwsEc2InstanceVpcId:
(json['ResourceAwsEc2InstanceVpcId'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceAwsIamAccessKeyCreatedAt:
(json['ResourceAwsIamAccessKeyCreatedAt'] as List?)
?.whereNotNull()
.map((e) => DateFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceAwsIamAccessKeyStatus:
(json['ResourceAwsIamAccessKeyStatus'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceAwsIamAccessKeyUserName:
(json['ResourceAwsIamAccessKeyUserName'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceAwsS3BucketOwnerId: (json['ResourceAwsS3BucketOwnerId'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceAwsS3BucketOwnerName:
(json['ResourceAwsS3BucketOwnerName'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceContainerImageId: (json['ResourceContainerImageId'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceContainerImageName: (json['ResourceContainerImageName'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceContainerLaunchedAt:
(json['ResourceContainerLaunchedAt'] as List?)
?.whereNotNull()
.map((e) => DateFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceContainerName: (json['ResourceContainerName'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceDetailsOther: (json['ResourceDetailsOther'] as List?)
?.whereNotNull()
.map((e) => MapFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceId: (json['ResourceId'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourcePartition: (json['ResourcePartition'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceRegion: (json['ResourceRegion'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceTags: (json['ResourceTags'] as List?)
?.whereNotNull()
.map((e) => MapFilter.fromJson(e as Map<String, dynamic>))
.toList(),
resourceType: (json['ResourceType'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
severityLabel: (json['SeverityLabel'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
severityNormalized: (json['SeverityNormalized'] as List?)
?.whereNotNull()
.map((e) => NumberFilter.fromJson(e as Map<String, dynamic>))
.toList(),
severityProduct: (json['SeverityProduct'] as List?)
?.whereNotNull()
.map((e) => NumberFilter.fromJson(e as Map<String, dynamic>))
.toList(),
sourceUrl: (json['SourceUrl'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
threatIntelIndicatorCategory:
(json['ThreatIntelIndicatorCategory'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
threatIntelIndicatorLastObservedAt:
(json['ThreatIntelIndicatorLastObservedAt'] as List?)
?.whereNotNull()
.map((e) => DateFilter.fromJson(e as Map<String, dynamic>))
.toList(),
threatIntelIndicatorSource: (json['ThreatIntelIndicatorSource'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
threatIntelIndicatorSourceUrl:
(json['ThreatIntelIndicatorSourceUrl'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
threatIntelIndicatorType: (json['ThreatIntelIndicatorType'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
threatIntelIndicatorValue: (json['ThreatIntelIndicatorValue'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
title: (json['Title'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
type: (json['Type'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
updatedAt: (json['UpdatedAt'] as List?)
?.whereNotNull()
.map((e) => DateFilter.fromJson(e as Map<String, dynamic>))
.toList(),
userDefinedFields: (json['UserDefinedFields'] as List?)
?.whereNotNull()
.map((e) => MapFilter.fromJson(e as Map<String, dynamic>))
.toList(),
verificationState: (json['VerificationState'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
workflowState: (json['WorkflowState'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
workflowStatus: (json['WorkflowStatus'] as List?)
?.whereNotNull()
.map((e) => StringFilter.fromJson(e as Map<String, dynamic>))
.toList(),
);
}