https://api.bitsighttech.com/sovereign/observations/companies/kpis/
See observation distinct company counts for each supported filter.
This endpoint is only available for users with access to the National Cybersecurity app. It only returns information for countries you subscribe to.
Parameters
Scope Filtering
If no scope is set, your country is used as scope. An IP or a country-industry can be alternatively used, but not both (country & IP or country & country-industry) simultaneously.
Parameter | Values | |
---|---|---|
country_codes [Query] Filter by multiple countries. |
[Array] Comma-separated 2-letter country codes. | |
Date Filter by dates. To get historical data between two dates, ensure the |
||
end_date [Query] Filter by end date. |
[String] YYYY-MM-DD |
|
start_date [Query] Filter by start date. |
[String] YYYY-MM-DD |
|
date_interval [Query] Filter by date interval. |
[String]
|
|
industries [Query] Filter by multiple industries. |
[Array] Comma-separated industry names. Use GET: Industries with the show_all parameter set to true [/v1/industries?show_all=true ]. |
|
ips [Query] Filter by multiple IPV4 or IPV6 addresses. |
[Array] Comma-separated IP addresses.
|
|
limit [Query] Set the maximum number of results. |
[Integer] A number greater than 0 (zero). |
Data Filtering
Parameter | Values |
---|---|
categories [Query] Filter by file sharing category (User Behavior). |
[Array] Comma-separated File Sharing category names. |
infections [Query] Filter by infections. |
[Array] Comma-separated infection names. See infections in GET: National Cybersecurity Observation Details by Risk Type. |
open_ports [Query] Filter by network services. |
[Array] Comma-separated port numbers or service names. See This is case-sensitive. |
risk_types [Query] Filter by risk types. |
[Array] Comma-separated risk type slug names. See risk types. |
vulnerabilities [Query] Filter by vulnerabilities. |
[String] Comma-separated vulnerability names or CVE ID. |
vulnerability_classification [Query] Filter by vulnerability confidence level. Only applicable with the |
[String]
|
Example Request
curl 'https://api.bitsighttech.com/sovereign/observations/companies/kpis/' -u api_token:
Example Response
{ "scope":{ "type":"country", "value":"A1", "date_interval":"7d", "end_date":"2021-10-20" }, "included_companies":3, "total_companies":3, "companies":[ { "company":{ "name":"Saperix, Inc.", "guid":"a940bb61-33c4-42c9-9231-c8194c305db3", "industry_sector":"Telecommunications", "in_portfolio":false, "sub_industry":"Telecommunications" }, "count":12345 } ] }
Response Attributes
Field | Description | |||
---|---|---|---|---|
scopeObject |
Company KPI details of the requested country. | |||
typeString |
For internal Bitsight use. | |||
valueString |
The 2-letter country code of the requested country. | |||
date_intervalString |
The date interval. | |||
end_dateString [ YYYY‑MM‑DD ] |
The ending date of the interval. | |||
included_companiesInteger |
The number of queried companies. | |||
total_companiesInteger |
The total number of companies in the country. | |||
companiesArray |
Company KPI details. | |||
Object | A company. | |||
companyObject |
Details of this company. | |||
nameString |
The name of this company. | |||
guidString [ entity_guid ] |
The unique identifier of this company. | |||
industry_sectorString |
The industry of this company. | |||
in_portfolioBoolean |
true = You are subscribed to this company and it’s in your portfolio. |
|||
sub_industryString |
The sub-industry of this company. | |||
countInteger |
The total number of results. |
- December 5, 2023: How to get the industry name.
- November 8, 2021: Published.
Feedback
0 comments
Please sign in to leave a comment.