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!
  • # Aggregate finding suppressions.
  • # 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.
  • #
  • # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
  • # for a stable API but we reserve the right to fix issues including modifying the
  • # schema if required.
  • #
  • # Arguments
  • # aggregations: Specify aggregation buckets
  • # filter: Optional filter
  • aggregateSuppressions(
  • aggregations: [FindingSuppressionAggregationInput!]!,
  • filter: FindingSuppressionsFilterInput
  • ): FindingSuppressionAggregations!
  • # 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!
  • # Query suppression reason template
  • #
  • # **NOTE:** This API/functionality is in Alpha, This functionality can be unstable
  • # and schema elements may change over future iterations.
  • querySuppressionTemplate: FindingSuppressionTemplate
  • # Query finding suppressions
  • #
  • # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
  • # for a stable API but we reserve the right to fix issues including modifying the
  • # schema if required.
  • #
  • # 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.
  • querySuppressions(
  • after: String,
  • filter: FindingSuppressionsFilterInput,
  • first: Int,
  • sort: [QuerySort!]
  • ): FindingSuppressionsConnection!
  • }

link Require by