ON THIS PAGE
GET /health_data/security_data_count
SUMMARY Retrieves count of security artifacts in JSA.
Retrieves count of security artifacts in JSA.
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
fields |
query |
Optional |
String |
text/plain |
Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas. |
HTTP Response Code | Unique Code | Description |
---|---|---|
200 |
The security count were retrieved. |
|
403 |
1009 |
Access Forbidden for Non Admin users. |
422 |
1005 |
Unprocessable Entity. Invalid field parameter. |
Response Description
- assets - Int - The number of assets in the system.
- offenses - Int - The number of offenses in the system.
- rules - Int - The number of rules in the system.
- log_sources - Int - The number of log sources in the system.
- vulnerabilities - Int - The number of vulnerabilities in the system.
Response Sample
{ "assets": 42, "log_sources": 42, "offenses": 42, "rules": 42, "vulnerabilities": 42 }