Get an attack surface
Changed onRetrieve an attack surface for your organization. Use the literal 'default' in place of the attack surface ID to retrieve your organization's attack surface.<br><br>This endpoint does not cost credits to execute.
Request
- Base URLhttps://api.platform.censys.io
- URLhttps://api.platform.censys.io/v1/attacksurfaces/{attack_surface_id}
- AuthHTTP bearer
Path parameters
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.
Query parameters
The ID of a Censys organization to associate the request with. See the Getting Started docs for more information.
Headers
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.
Response
Attack surface retrieved successfully
Example response
{
"result": {
"id": "11111111-2222-3333-4444-555555555555"
}
}Changes
- info
endpoint added
- info