Get vendors statistics

Get vendors stats given inclusion and exclusion arrays

Securitybearer
Request
query Parameters
includeScopes
Array of strings or null

Allow list to include stats

Enum: "businessUnits" "hasPii" "impactLevel" "isCritical" "subprocessors" "passwordPolicy" "reminder" "risk" "status" "type"
Example: includeScopes=reminder&includeScopes=passwordPolicy
excludeScopes
Array of strings or null

List to exclude stats with less precedence than include list

Enum: "businessUnits" "hasPii" "impactLevel" "isCritical" "subprocessors" "passwordPolicy" "reminder" "risk" "status" "type"
Example: excludeScopes=businessUnits&excludeScopes=passwordPolicy
Responses
200
400

Malformed data and/or validation errors

401

Invalid Authorization

403

You are not allowed to perform this action

404

Record Not Found

500

Internal server error

default

Response Code: 412

You must accept the Drata terms and conditions to use the API

get/public/vendors/stats
Request samples
Response samples
application/json
{
  • "reminder": [
    • {
      • "key": "RENEWAL_DUE",
      • "amount": 1
      },
    • {
      • "key": "RENEWAL_DUE_SOON",
      • "amount": 1
      }
    ],
  • "hasPii": [
    • {
      • "key": "true",
      • "amount": 1
      },
    • {
      • "key": "false",
      • "amount": 1
      }
    ],
  • "businessUnits": [
    • {
      • "key": "ENGINEERING",
      • "amount": 118
      },
    • {
      • "key": "PRODUCT",
      • "amount": 2
      }
    ],
  • "passwordPolicy": [
    • {
      • "key": "USERNAME_PASSWORD",
      • "amount": 118
      },
    • {
      • "key": "SSO",
      • "amount": 2
      },
    • {
      • "key": "NONE",
      • "amount": 2
      },
    • {
      • "key": "LDAP",
      • "amount": 2
      }
    ],
  • "status": [
    • {
      • "key": "ACTIVE",
      • "amount": 118
      },
    • {
      • "key": "UNDER_REVIEW",
      • "amount": 1
      }
    ],
  • "isCritical": [
    • {
      • "key": "Yes",
      • "amount": 10
      },
    • {
      • "key": "No",
      • "amount": 20
      }
    ],
  • "isSubProcessor": [
    • {
      • "key": "true",
      • "amount": 10
      },
    • {
      • "key": "false",
      • "amount": 20
      }
    ],
  • "type": [
    • {
      • "key": "CONTRACTOR",
      • "amount": 1
      },
    • {
      • "key": "NONE",
      • "amount": 2
      },
    • {
      • "key": "OTHER",
      • "amount": 3
      },
    • {
      • "key": "PARTNER",
      • "amount": 4
      },
    • {
      • "key": "SUPPLIER",
      • "amount": 4
      },
    • {
      • "key": "VENDOR",
      • "amount": 5
      }
    ],
  • "risk": [
    • {
      • "key": "HIGH",
      • "amount": 118
      },
    • {
      • "key": "MODERATE",
      • "amount": 2
      },
    • {
      • "key": "LOW",
      • "amount": 2
      },
    • {
      • "key": "NONE",
      • "amount": 2
      }
    ],
  • "impactLevel": [
    • {
      • "key": "CRITICAL",
      • "amount": 7
      },
    • {
      • "key": "MAJOR",
      • "amount": 12
      },
    • {
      • "key": "MODERATE",
      • "amount": 1
      },
    • {
      • "key": "MINOR",
      • "amount": 5
      },
    • {
      • "key": "INSIGNIFICANT",
      • "amount": 21
      },
    • {
      • "key": "UNSCORED",
      • "amount": 0
      }
    ]
}