Exposure Management
Aggregate attack surface assets
Changed onAggregate the assets of your attack surface by a given field.<br><br>This functionality is equivalent to the Report Builder in the Platform UI.
post/v1/attacksurfaces/{attack_surface_id}/aggregate
Request
- Base URLhttps://api.platform.censys.io
- URLhttps://api.platform.censys.io/v1/attacksurfaces/{attack_surface_id}/aggregate
- AuthHTTP bearer
Path parameters
attack_surface_idstring required
The ID of the attack surface, or the literal 'default' for your organization's attack surface. Obtain the attack surface ID using the list attack surfaces endpoint.
Example:11111111-2222-3333-4444-555555555555
Query parameters
organization_idstring uuid required
The ID of a Censys organization to associate the request with. See the Getting Started docs for more information.
Example:11111111-2222-3333-4444-555555555555
Headers
X-Organization-IDstring uuid
The ID of a Censys organization to associate the request with. See the Getting Started docs for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field via the query parameter.
Example:11111111-2222-3333-4444-555555555555
Request body
Example request
{
"field": "host.services.port",
"query": "host.services.protocol=SSH"
}Response
Assets aggregated successfully
Changes
- info
endpoint added
- info