Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

GET /health_data/security_data_count

 

Retrieves count of security artifacts in JSA

Retrieves count of security artifacts in JSA

Table 1: GET /health_data/security_data_count Resource Details

MIME Type

application/json

Table 2: GET /health_data/security_data_count Request Parameter Details

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.

Table 3: GET /health_data/security_data_count Response Codes

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

An array of SecurityDataCount objects. A SecurityDataCount object contains the following fields:

  • 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