OBJECT

FindingQuery

Query the finding subsystem

link GraphQL Schema definition

  • type FindingQuery {
  • # Aggregate findings.
  • # Note: The default bucket count for all bucket aggregations is 10, if more than
  • # 10 buckets are needed please use maxBucketCount in the 'aggregations' input.
  • #
  • # Arguments
  • # aggregations: Specify aggregation buckets
  • # filter: Optional filter
  • aggregateFindings(
  • aggregations: [FindingAggregationInput!]!,
  • filter: FindingFilterInput
  • ): FindingAggregations!
  • # Query findings
  • #
  • # Arguments
  • # after: Return records after the given cursor, as per GraphQL
  • # Relay spec
  • # filter: Optional filter
  • # first: Return first N records in a paged response, as per
  • # GraphQL Relay spec
  • # sort: Sort order for results in the connection
  • #
  • # Supported sort fields are:
  • #
  • # category
  • #
  • # type
  • #
  • # name
  • #
  • # source
  • #
  • # policyId
  • #
  • # groupId
  • #
  • # runId
  • #
  • # severity
  • #
  • # attentionScore
  • #
  • # context
  • #
  • # projectId
  • #
  • # provider
  • #
  • # managementEndpointId
  • #
  • # region
  • #
  • # service
  • #
  • # entityId
  • #
  • # entityName
  • #
  • # status
  • #
  • # resolveReason
  • #
  • # tagKey
  • #
  • # tagValue
  • #
  • # propertyName
  • #
  • # propertyValues
  • #
  • # relatedFindingsId
  • #
  • # relatedFindingsType
  • #
  • # relatedFindingsSource
  • #
  • # creationTime
  • #
  • # lastUpdateTime
  • #
  • # system
  • #
  • # entityType
  • queryFindings(
  • after: String,
  • filter: FindingFilterInput,
  • first: Int,
  • sort: [QuerySort!]
  • ): FindingConnection!
  • # Query Report Configurations
  • #
  • # Arguments
  • # after: Return records after the given cursor, as per GraphQL
  • # Relay spec
  • # filter: Optional filter
  • # first: Return first N records in a paged response, as per
  • # GraphQL Relay spec
  • queryReportConfigurations(
  • after: String,
  • filter: FindingReportConfigurationFilterInput,
  • first: Int
  • ): FindingReportConfigurationConnection!
  • # Query All Report Types.
  • #
  • # **NOTE:** This API/functionality is in Alpha, This functionality can be unstable
  • # and schema elements may change over future iterations.
  • queryReportTypes: [FindingReportTypeInfo!]
  • # Query Reports
  • #
  • # **NOTE:** This API/functionality is in Alpha, This functionality can be unstable
  • # and schema elements may change over future iterations.
  • #
  • # Arguments
  • # after: Return records after the given cursor, as per GraphQL
  • # Relay spec
  • # filter: Report filter
  • # first: Return first N records in a paged response, as per
  • # GraphQL Relay spec
  • queryReports(
  • after: String,
  • filter: FindingReportFilterInput!,
  • first: Int
  • ): FindingReportConnection!
  • }

link Require by