Public REST API: Bypass restrictions, download attachments, and more
Bypass field data restrictions when creating models and findings
You can now create models and findings via the public API using legacy values that may not currently be valid. A new boolean parameter, strict_custom_field_validation, controls whether custom fields are validated strictly for both findings and inventory models.
This change provides more flexibility when importing or managing legacy data.
Download attachments
You can now download attachments using a new public /vm/api/v1/assets endpoint.
Reporting support
Two new public API endpoints are available for accessing reporting data:
GET /vm/api/v1/reporting/datasetslets you list available datasets.GET /vm/api/v1/reporting/datasets/{id}/dataallows you to retrieve raw dataset data.
Additionally, the analytics query builder now includes additional methods for accessing raw data.
Regenerate your own API keys
Return all custom finding fields in public API
The public API for model findings now returns all custom finding fields in its responses. Prior to this update, custom fields were missing from the response data.
Add finding status
The public API has been updated to allow the creation of findings with initial statuses. Additionally, you can now use an optional field, status_cuid, in the model findings endpoint in the API.
POST /models/{inventory_model_cuid}/findings/{finding_type_cuid}
Bug fixes
Return all custom finding fields in public API
The public API for model findings now returns all custom finding fields in its responses. Prior to this update, custom fields were missing from the response data.
