Skip to content

Sensitive Data: High number of Custom Scalars

Identifier: high_number_of_custom_scalars

Scanner(s) Support

GraphQL Scanner REST Scanner WebApp Scanner

Description

A response contains more than defined threshold of custom scalars with a sensitivity greater than MEDIUM.

Configuration

Example

Example configuration:

---
security_tests:
  high_number_of_custom_scalars:
    assets_allowed:
    - REST
    - GRAPHQL
    - WEBAPP
    detection_threshold: 4
    skip: false

Reference

assets_allowed

Type : List[AssetType]*

List of assets that this check will cover.

detection_threshold

Type : integer

Threshold to trigger alert if the number of values found.

skip

Type : boolean

Skip the test if true.