Trustblock API route to get a project’s security state
cURL
curl --request GET \ --url https://api.trustblock.run/v1/project/security \ --header 'Authorization: Bearer <token>'
{ "extra": { "requestId": "<string>" }, "name": "<string>", "domain": "<string>", "audits": [ { "date": 123, "url": "<string>", "auditor": { "name": "<string>", "url": "<string>" } } ], "url": "<string>", "isDeemedDangerous": false, "activeIssues": [ { "name": "<string>", "description": "<string>", "status": "<string>", "severity": "<string>" } ], "activeRekts": [ { "name": "<string>", "description": "<string>", "rektAt": 123 } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A detailed view of the project's security state.
The response is of type object.
object