# Get the masking data risk report.

Endpoint: GET /reporting/data-risk-report
Version: 3.23.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Query parameters:

  - `limit` (integer)
    Maximum number of objects to return per query. The value must be between 1 and 1000. Default is 10000.

  - `cursor` (string)
    Cursor to fetch the next or previous page of results. The value of this property must be extracted from the 'prev_cursor' or 'next_cursor' property of a PaginatedResponseMetadata which is contained in the response of list and search API endpoints.

  - `sort` (string)
    The field to sort results by. A property name with a prepended '-' signifies descending order.

## Response 200:

  - `200` (unknown)
    Returns a list of DataRisk data.

## Response 200 fields (application/json):

  - `items` (array)

  - `items.connector_id` (string)
    The DCT id of the connector. This is an opaque string.
    Example: 1-DATABASE-15

  - `items.engine_connector_id` (integer)
    The ID of the connector as found on the compliance engine.
    Example: 15

  - `items.connector_name` (string)
    Name of the connector.
    Example: Dev Database

  - `items.connector_type` (string)
    Type of the connector.
    Enum: "DATABASE", "FILE", "MAINFRAME_DATASET"

  - `items.last_profiled_date` (string)
    Date this connector was last profiled.
    Example: 2022-11-30T08:51:34.148000+00:00

  - `items.last_masked_date` (string)
    Date this connector last had a masking job run.
    Example: 2022-11-30T08:51:34.148000+00:00

  - `items.engine_id` (string)
    The entity ID of the masking engine.
    Example: 4ed2357d-f1a7-410c-b951-90f0edc1a0f6

  - `items.engine_name` (string)
    The name of the masking engine.
    Example: Development Engine

  - `items.is_profiled` (boolean)
    If this connector has been profiled.
    Example: true

  - `items.is_sensitive_data` (boolean)
    If this connector has sensitive data.
    Example: true

  - `items.is_masked` (boolean)
    If this connector has had a successful masking job run.
    Example: false

  - `items.is_at_risk` (boolean)
    If this connector has sensitive data that have not been masked.
    Example: true

  - `items.data_elements_total` (integer)
    The total number of data elements of this connector.
    Example: 1000

  - `items.data_elements_not_sensitive` (integer)
    The number of data elements categorized as not sensitive.
    Example: 400

  - `items.data_elements_sensitive_masked` (integer)
    The number of sensitive data elements that have been masked.
    Example: 500

  - `items.data_elements_sensitive_unmasked` (integer)
    The number of sensitive data elements that have not been masked.
    Example: 100

  - `items.records_total` (integer)
    The total number of records from this connector.
    Example: 10000

  - `items.records_not_sensitive` (integer)
    The number of records found to be not sensitive.
    Example: 4000

  - `items.records_sensitive_masked` (integer)
    The number of records found to be sensitive and have been masked.
    Example: 5000

  - `items.records_sensitive_unmasked` (integer)
    The number of records found to be sensitive and have not been masked.
    Example: 1000

  - `items.tags` (array)
    The tags of the connector.

  - `items.tags.key` (string, required)
    Key of the tag
    Example: key-1

  - `items.tags.value` (string, required)
    Value of the tag
    Example: value-1

  - `response_metadata` (object)

  - `response_metadata.prev_cursor` (string)
    Pointer to the previous page of results. Use this value as a cursor query parameter in a subsequent request, along with limit, to navigate through the collection by virtual page.

  - `response_metadata.next_cursor` (string)
    Pointer to the next page of results. Use this value as a cursor query parameter in a subsequent request, along with limit, to navigate through the collection by virtual page.

  - `response_metadata.total` (integer)
    The total number of results. This value may not be provided.

  - `totals` (object)
    The global totals of masking data risk metrics across all connectors.

  - `totals.connector_total` (integer)
    The total number of connectors.
    Example: 10

  - `totals.profiled_connector_count` (integer)
    The number of connectors that have been profiled.
    Example: 8

  - `totals.sensitive_connector_count` (integer)
    The number of connectors found to have sensitive data.
    Example: 5

  - `totals.masked_connector_count` (integer)
    The number of connectors having had a successfully run masking job.
    Example: 3

  - `totals.at_risk_connector_count` (integer)
    The number of connectors with sensitive data that have not been masked.
    Example: 2

  - `totals.data_elements_total` (integer)
    The total number of data elements across connectors.
    Example: 1000

  - `totals.data_elements_not_sensitive` (integer)
    The number of data elements categorized as not sensitive.
    Example: 400

  - `totals.data_elements_sensitive_masked` (integer)
    The number of sensitive data elements that have been masked.
    Example: 500

  - `totals.data_elements_sensitive_unmasked` (integer)
    The number of sensitive data elements that have not been masked.
    Example: 100

  - `totals.records_total` (integer)
    The total number of records across connectors.
    Example: 10000

  - `totals.records_not_sensitive` (integer)
    The number of records found to be not sensitive.
    Example: 4000

  - `totals.records_sensitive_masked` (integer)
    The number of sensitive records that have been masked.
    Example: 5000

  - `totals.records_sensitive_unmasked` (integer)
    The number of sensitive records that have not been masked.
    Example: 1000

  - `totals.records_coverage_missing_reason` (string)
    An explanation if the records coverage is not provided.

