{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-security-hub/json-schema/aws-security-hub-get-findings-request-schema.json",
  "title": "GetFindingsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-security-hub-findings-api-openapi.yml#/components/schemas/GetFindingsRequest",
  "type": "object",
  "properties": {
    "Filters": {
      "$ref": "#/$defs/AwsSecurityFindingFilters"
    },
    "SortCriteria": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SortCriterion"
      },
      "description": "The finding attributes used to sort the list of returned findings."
    },
    "NextToken": {
      "type": "string",
      "description": "The token that is required for pagination. On your first call to the GetFindings operation, set the value of this parameter to NULL. For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of findings to return."
    }
  },
  "$defs": {
    "AwsSecurityFindingFilters": {
      "type": "object",
      "properties": {
        "ProductArn": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The ARN generated by Security Hub CSPM that uniquely identifies a third-party company (security findings provider) after this provider's product (solution that generates findings) is registered with Security Hub CSPM."
        },
        "AwsAccountId": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The Amazon Web Services account ID in which a finding is generated."
        },
        "Id": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The security findings provider-specific identifier for a finding."
        },
        "GeneratorId": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The identifier for the solution-specific component (a discrete unit of logic) that generated a finding. In various security findings providers' solutions, this generator can be called a rule, a check, a detector, a plugin, etc."
        },
        "Region": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The Region from which the finding was generated."
        },
        "Type": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "A finding type in the format of namespace/category/classifier that classifies a finding."
        },
        "FirstObservedAt": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DateFilter"
          },
          "description": "A timestamp that indicates when the security findings provider first observed the potential security issue that a finding captured. For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps."
        },
        "LastObservedAt": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DateFilter"
          },
          "description": "A timestamp that indicates when the security findings provider most recently observed a change in the resource that is involved in the finding. For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps."
        },
        "CreatedAt": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DateFilter"
          },
          "description": "A timestamp that indicates when the security findings provider created the potential security issue that a finding reflects. For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps."
        },
        "UpdatedAt": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DateFilter"
          },
          "description": "A timestamp that indicates when the security findings provider last updated the finding record. For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps."
        },
        "SeverityProduct": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NumberFilter"
          },
          "description": "The native severity as defined by the security findings provider's solution that generated the finding."
        },
        "SeverityNormalized": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NumberFilter"
          },
          "description": "The normalized severity of a finding."
        },
        "SeverityLabel": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The label of a finding's severity."
        },
        "Confidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NumberFilter"
          },
          "description": "A finding's confidence. Confidence is defined as the likelihood that a finding accurately identifies the behavior or issue that it was intended to identify. Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent confidence and 100 means 100 percent confidence."
        },
        "Criticality": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NumberFilter"
          },
          "description": "The level of importance assigned to the resources associated with the finding. A score of 0 means that the underlying resources have no criticality, and a score of 100 is reserved for the most critical resources."
        },
        "Title": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "A finding's title."
        },
        "Description": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "A finding's description."
        },
        "RecommendationText": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The recommendation of what to do about the issue described in a finding."
        },
        "SourceUrl": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "A URL that links to a page about the current finding in the security findings provider's solution."
        },
        "ProductFields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MapFilter"
          },
          "description": "A data type where security findings providers can include additional solution-specific details that aren't part of the defined AwsSecurityFinding format."
        },
        "ProductName": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The name of the solution (product) that generates findings."
        },
        "CompanyName": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The name of the findings provider (company) that owns the solution (product) that generates findings."
        },
        "UserDefinedFields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MapFilter"
          },
          "description": "A list of name/value string pairs associated with the finding. These are custom, user-defined fields added to a finding."
        },
        "MalwareName": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The name of the malware that was observed."
        },
        "MalwareType": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The type of the malware that was observed."
        },
        "MalwarePath": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The filesystem path of the malware that was observed."
        },
        "MalwareState": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The state of the malware that was observed."
        },
        "NetworkDirection": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "Indicates the direction of network traffic associated with a finding."
        },
        "NetworkProtocol": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The protocol of network-related information about a finding."
        },
        "NetworkSourceIpV4": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/IpFilter"
          },
          "description": "The source IPv4 address of network-related information about a finding."
        },
        "NetworkSourceIpV6": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/IpFilter"
          },
          "description": "The source IPv6 address of network-related information about a finding."
        },
        "NetworkSourcePort": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NumberFilter"
          },
          "description": "The source port of network-related information about a finding."
        },
        "NetworkSourceDomain": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The source domain of network-related information about a finding."
        },
        "NetworkSourceMac": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The source media access control (MAC) address of network-related information about a finding."
        },
        "NetworkDestinationIpV4": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/IpFilter"
          },
          "description": "The destination IPv4 address of network-related information about a finding."
        },
        "NetworkDestinationIpV6": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/IpFilter"
          },
          "description": "The destination IPv6 address of network-related information about a finding."
        },
        "NetworkDestinationPort": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NumberFilter"
          },
          "description": "The destination port of network-related information about a finding."
        },
        "NetworkDestinationDomain": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The destination domain of network-related information about a finding."
        },
        "ProcessName": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The name of the process."
        },
        "ProcessPath": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The path to the process executable."
        },
        "ProcessPid": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NumberFilter"
          },
          "description": "The process ID."
        },
        "ProcessParentPid": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NumberFilter"
          },
          "description": "The parent process ID. This field accepts positive integers between O and 2147483647."
        },
        "ProcessLaunchedAt": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DateFilter"
          },
          "description": "A timestamp that identifies when the process was launched. For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps."
        },
        "ProcessTerminatedAt": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DateFilter"
          },
          "description": "A timestamp that identifies when the process was terminated. For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps."
        },
        "ThreatIntelIndicatorType": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The type of a threat intelligence indicator."
        },
        "ThreatIntelIndicatorValue": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The value of a threat intelligence indicator."
        },
        "ThreatIntelIndicatorCategory": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The category of a threat intelligence indicator."
        },
        "ThreatIntelIndicatorLastObservedAt": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DateFilter"
          },
          "description": "A timestamp that identifies the last observation of a threat intelligence indicator. For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps."
        },
        "ThreatIntelIndicatorSource": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The source of the threat intelligence."
        },
        "ThreatIntelIndicatorSourceUrl": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The URL for more details from the source of the threat intelligence."
        },
        "ResourceType": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "Specifies the type of the resource that details are provided for."
        },
        "ResourceId": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The canonical identifier for the given resource type."
        },
        "ResourcePartition": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The canonical Amazon Web Services partition name that the Region is assigned to."
        },
        "ResourceRegion": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The canonical Amazon Web Services external Region name where this resource is located."
        },
        "ResourceTags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MapFilter"
          },
          "description": "A list of Amazon Web Services tags associated with a resource at the time the finding was processed."
        },
        "ResourceAwsEc2InstanceType": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The instance type of the instance."
        },
        "ResourceAwsEc2InstanceImageId": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The Amazon Machine Image (AMI) ID of the instance."
        },
        "ResourceAwsEc2InstanceIpV4Addresses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/IpFilter"
          },
          "description": "The IPv4 addresses associated with the instance."
        },
        "ResourceAwsEc2InstanceIpV6Addresses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/IpFilter"
          },
          "description": "The IPv6 addresses associated with the instance."
        },
        "ResourceAwsEc2InstanceKeyName": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The key name associated with the instance."
        },
        "ResourceAwsEc2InstanceIamInstanceProfileArn": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The IAM profile ARN of the instance."
        },
        "ResourceAwsEc2InstanceVpcId": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The identifier of the VPC that the instance was launched in."
        },
        "ResourceAwsEc2InstanceSubnetId": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The identifier of the subnet that the instance was launched in."
        },
        "ResourceAwsEc2InstanceLaunchedAt": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DateFilter"
          },
          "description": "The date and time the instance was launched."
        },
        "ResourceAwsS3BucketOwnerId": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The canonical user ID of the owner of the S3 bucket."
        },
        "ResourceAwsS3BucketOwnerName": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The display name of the owner of the S3 bucket."
        },
        "ResourceAwsIamAccessKeyUserName": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The user associated with the IAM access key related to a finding."
        },
        "ResourceAwsIamAccessKeyPrincipalName": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The name of the principal that is associated with an IAM access key."
        },
        "ResourceAwsIamAccessKeyStatus": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The status of the IAM access key related to a finding."
        },
        "ResourceAwsIamAccessKeyCreatedAt": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DateFilter"
          },
          "description": "The creation date/time of the IAM access key related to a finding."
        },
        "ResourceAwsIamUserUserName": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The name of an IAM user."
        },
        "ResourceContainerName": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The name of the container related to a finding."
        },
        "ResourceContainerImageId": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The identifier of the image related to a finding."
        },
        "ResourceContainerImageName": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The name of the image related to a finding."
        },
        "ResourceContainerLaunchedAt": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DateFilter"
          },
          "description": "A timestamp that identifies when the container was started. For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps."
        },
        "ResourceDetailsOther": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MapFilter"
          },
          "description": "The details of a resource that doesn't have a specific subfield for the resource type defined."
        },
        "ComplianceStatus": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "Exclusive to findings that are generated as the result of a check run against a specific rule in a supported standard, such as CIS Amazon Web Services Foundations. Contains security standard-related finding details."
        },
        "VerificationState": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The veracity of a finding."
        },
        "WorkflowState": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The workflow state of a finding. Note that this field is deprecated. To search for a finding based on its workflow status, use WorkflowStatus."
        },
        "WorkflowStatus": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The status of the investigation into a finding. Allowed values are the following. NEW - The initial state of a finding, before it is reviewed. Security Hub CSPM also resets the workflow status from NOTIFIED or RESOLVED to NEW in the following cases: RecordState changes from ARCHIVED to ACTIVE. Compliance.Status changes from PASSED to either WARNING, FAILED, or NOT_AVAILABLE. NOTIFIED - Indicates that the resource owner has been notified about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner. If one of the following occ"
        },
        "RecordState": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The updated record state for the finding."
        },
        "RelatedFindingsProductArn": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The ARN of the solution that generated a related finding."
        },
        "RelatedFindingsId": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The solution-generated identifier for a related finding."
        },
        "NoteText": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The text of a note."
        },
        "NoteUpdatedAt": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DateFilter"
          },
          "description": "The timestamp of when the note was updated."
        },
        "NoteUpdatedBy": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The principal that created a note."
        },
        "Keyword": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/KeywordFilter"
          },
          "description": "A keyword for a finding."
        },
        "FindingProviderFieldsConfidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NumberFilter"
          },
          "description": "The finding provider value for the finding confidence. Confidence is defined as the likelihood that a finding accurately identifies the behavior or issue that it was intended to identify. Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent confidence and 100 means 100 percent confidence."
        },
        "FindingProviderFieldsCriticality": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NumberFilter"
          },
          "description": "The finding provider value for the level of importance assigned to the resources associated with the findings. A score of 0 means that the underlying resources have no criticality, and a score of 100 is reserved for the most critical resources."
        },
        "FindingProviderFieldsRelatedFindingsId": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The finding identifier of a related finding that is identified by the finding provider."
        },
        "FindingProviderFieldsRelatedFindingsProductArn": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The ARN of the solution that generated a related finding that is identified by the finding provider."
        },
        "FindingProviderFieldsSeverityLabel": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The finding provider value for the severity label."
        },
        "FindingProviderFieldsSeverityOriginal": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The finding provider's original value for the severity."
        },
        "FindingProviderFieldsTypes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "One or more finding types that the finding provider assigned to the finding. Uses the format of namespace/category/classifier that classify a finding. Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors | Sensitive Data Identifications"
        },
        "Sample": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BooleanFilter"
          },
          "description": "Indicates whether or not sample findings are included in the filter results."
        },
        "ComplianceSecurityControlId": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The unique identifier of a control across standards. Values for this field typically consist of an Amazon Web Services service and a number, such as APIGateway.5."
        },
        "ComplianceAssociatedStandardsId": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The unique identifier of a standard in which a control is enabled. This field consists of the resource portion of the Amazon Resource Name (ARN) returned for a standard in the DescribeStandards API response."
        },
        "VulnerabilitiesExploitAvailable": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "Indicates whether a software vulnerability in your environment has a known exploit. You can filter findings by this field only if you use Security Hub CSPM and Amazon Inspector."
        },
        "VulnerabilitiesFixAvailable": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "Indicates whether a vulnerability is fixed in a newer version of the affected software packages. You can filter findings by this field only if you use Security Hub CSPM and Amazon Inspector."
        },
        "ComplianceSecurityControlParametersName": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The name of a security control parameter."
        },
        "ComplianceSecurityControlParametersValue": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The current value of a security control parameter."
        },
        "AwsAccountName": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The name of the Amazon Web Services account in which a finding is generated."
        },
        "ResourceApplicationName": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The name of the application that is related to a finding."
        },
        "ResourceApplicationArn": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The ARN of the application that is related to a finding."
        },
        "ResourceOwnerAccountId": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The unique identifier of the account that owns the resource that the finding applies to, for example, Azure Subscription Id or Amazon Web Services Account Id"
        },
        "ResourceOwnerOrgId": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The unique identifier of the organization that owns the resource that the finding applies to, for example, Azure Tenant Id"
        },
        "ResourceProvider": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "The cloud provider that the resource belongs to. Valid values are AWS and Azure."
        }
      }
    },
    "BooleanFilter": {
      "type": "object",
      "properties": {
        "Value": {
          "type": "boolean",
          "description": "The value of the boolean."
        }
      }
    },
    "DateFilter": {
      "type": "object",
      "properties": {
        "Start": {
          "type": "string",
          "description": "A timestamp that provides the start date for the date filter. For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps."
        },
        "End": {
          "type": "string",
          "description": "A timestamp that provides the end date for the date filter. For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps."
        },
        "DateRange": {
          "$ref": "#/$defs/DateRange"
        }
      }
    },
    "DateRange": {
      "type": "object",
      "properties": {
        "Value": {
          "type": "integer",
          "description": "A date range value for the date filter."
        },
        "Unit": {
          "type": "string",
          "enum": [
            "DAYS"
          ],
          "description": "A date range unit for the date filter."
        },
        "Comparison": {
          "type": "string",
          "enum": [
            "WITHIN",
            "OLDER_THAN"
          ],
          "description": "The condition to apply to a date range filter. If you specify WITHIN, Security Hub filters for dates within the specified date range. If you specify OLDER_THAN, Security Hub filters for dates before the specified date range. If you don't specify a value, the default is WITHIN."
        }
      }
    },
    "IpFilter": {
      "type": "object",
      "properties": {
        "Cidr": {
          "type": "string",
          "description": "A finding's CIDR value."
        }
      }
    },
    "KeywordFilter": {
      "type": "object",
      "properties": {
        "Value": {
          "type": "string",
          "description": "A value for the keyword."
        }
      }
    },
    "MapFilter": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the map filter. For example, for ResourceTags, Key identifies the name of the tag. For UserDefinedFields, Key is the name of the field."
        },
        "Value": {
          "type": "string",
          "description": "The value for the key in the map filter. Filter values are case sensitive. For example, one of the values for a tag called Department might be Security. If you provide security as the filter value, then there's no match."
        },
        "Comparison": {
          "type": "string",
          "enum": [
            "EQUALS",
            "NOT_EQUALS",
            "CONTAINS",
            "NOT_CONTAINS"
          ],
          "description": "The condition to apply to the key value when filtering Security Hub CSPM findings with a map filter. To search for values that have the filter value, use one of the following comparison operators: To search for values that include the filter value, use CONTAINS. For example, for the ResourceTags field, the filter Department CONTAINS Security matches findings that include the value Security for the Department tag. In the same example, a finding with a value of Security team for the Department tag is a match. To search for values that exactly match the filter value, use EQUALS. For example, for "
        }
      }
    },
    "NumberFilter": {
      "type": "object",
      "properties": {
        "Gte": {
          "type": "number",
          "description": "The greater-than-equal condition to be applied to a single field when querying for findings."
        },
        "Lte": {
          "type": "number",
          "description": "The less-than-equal condition to be applied to a single field when querying for findings."
        },
        "Eq": {
          "type": "number",
          "description": "The equal-to condition to be applied to a single field when querying for findings."
        },
        "Gt": {
          "type": "number",
          "description": "The greater-than condition to be applied to a single field when querying for findings."
        },
        "Lt": {
          "type": "number",
          "description": "The less-than condition to be applied to a single field when querying for findings."
        }
      }
    },
    "SortCriterion": {
      "type": "object",
      "properties": {
        "Field": {
          "type": "string",
          "description": "The finding attribute used to sort findings."
        },
        "SortOrder": {
          "type": "string",
          "enum": [
            "asc",
            "desc"
          ],
          "description": "The order used to sort findings."
        }
      }
    },
    "StringFilter": {
      "type": "object",
      "properties": {
        "Value": {
          "type": "string",
          "description": "The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub CSPM. If you provide security hub as the filter value, there's no match."
        },
        "Comparison": {
          "type": "string",
          "enum": [
            "EQUALS",
            "PREFIX",
            "NOT_EQUALS",
            "PREFIX_NOT_EQUALS",
            "CONTAINS",
            "NOT_CONTAINS",
            "CONTAINS_WORD"
          ],
          "description": "The condition to apply to a string value when filtering Security Hub CSPM findings. To search for values that have the filter value, use one of the following comparison operators: To search for values that include the filter value, use CONTAINS. For example, the filter Title CONTAINS CloudFront matches findings that have a Title that includes the string CloudFront. To search for values that contain a word matching the filter value, regardless of case, use CONTAINS_WORD. For example, the filter Title CONTAINS_WORD lambda matches a finding whose Title is GuardDuty Lambda Protection, because the "
        }
      }
    }
  }
}