https://api.bitsighttech.com/ratings/v1/companies/company_guid/findings/summary
See the presence of infection, server software, or vulnerability findings in a company during the following time periods:
- 7 days back → Present day
- 14 days back → Present day
- 2 months back → 14 days back
Due to the output including several time periods, findings may be seen in multiple time periods.
Parameters
* Required.
Parameter | Values |
---|---|
company_guid * [Path] Identify the company to query. |
[String] Company unique identifier [entity_guid ]. See GET: Portfolio Details. |
type [Query] Filter by finding type. |
[String]
|
confidence [Query] Filter by risk confidence. Applicable only to vulnerabilities ( |
[String]
|
history [Query] Set the format of the response data. |
[Boolean]
|
Example Request
curl https://api.bitsighttech.com/ratings/v1/companies/a940bb61-33c4-42c9-9231-c8194c305db3/findings/summary -u api_token:
Example Response
[ { "start_date":"2021-10-10", "end_date":"2021-12-09", "stats":[ […] { "id":"CVE-2020-28949", "name":"CVE-2020-28949", "first_seen":"2021-01-05", "event_count":1, "host_count":1, "severity":null, "confidence":"HIGH", "severity_category":null } ] } ]
Response Attributes
Field | Description | |
---|---|---|
start_dateString [ YYYY-MM-DD ] |
The start date when findings were observed. | |
end_dateString [ YYYY-MM-DD ] |
The end date when findings were observed. | |
statsArray |
Findings within this company. | |
idString |
Identification for the finding.
|
|
nameString |
The name of the finding.
|
|
first_seenString [ YYYY-MM-DD ] |
The date when this finding was first observed. | |
event_countInteger |
The number of times this finding was observed. | |
host_countInteger |
The number of affected hosts. | |
severityInteger |
If the finding is an infection (?type=infection ), this is the severity of the finding. See Bitsight severity. |
|
confidenceString |
If the finding is a vulnerability (
|
|
severity_categoryString |
If the finding is an infection (?type=infection ), this is the severity of the finding. See Bitsight severity. |
Errors and Status Codes
See the common errors and status codes.
Code | Description |
---|---|
200 – Okay |
Everything worked as expected. |
400 – Bad request |
This can often be due to missing a required parameter. |
401 – No Authentication |
No valid API token was provided. |
403 – Not Authorized |
You do not have permission to access this resource. |
404 – Not Found |
The company does not exist. |
Publication Date – January 13, 2021
Feedback
0 comments
Please sign in to leave a comment.