Get Asset Discovery Statistics
GET/discovery/assets/stats/
Call auditlog tasks if applicable to query.
Responses
- 200
- 400
- 401
- 404
- 500
- application/json
- Schema
- Example (from schema)
Schema
discovery_assets_count integerrequired
Total number of assets discovered so far.
new_state_discovery_assets_count integerrequired
Total number of discovered assets marked as new, i.e., needing analysis.
scanned_discovery_assets_percentage integerrequired
Percentage of discovered assets added as targets and scanned.
high_risk_discovery_assets_percentage integerrequired
Percentage of discovered assets added as targets, scanned, and identified as High
risk.
low_score_discovery_assets_percentage integerrequired
Percentage of assets with a Security Headers assessment score of C
or less.
{
"discovery_assets_count": 0,
"new_state_discovery_assets_count": 0,
"scanned_discovery_assets_percentage": 0,
"high_risk_discovery_assets_percentage": 0,
"low_score_discovery_assets_percentage": 0
}
- application/json
- Schema
- Example (from schema)
Schema
<field name> string[]
non_field_errors string[]
{
"<field name>": [
"Errors related to field <field name>."
],
"non_field_errors": [
"Errors not related to any field specific field."
]
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "Not found."
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "Unexpected error while handling your request."
}
Loading...