GET /v2/events?q=type:audit.app.ssh-unauthorized
Name | Description | Valid Values | Example Values |
---|---|---|---|
q |
Parameters used to filter the result set. Format queries as <filter><op><value> Valid ops: : >= <= < > IN Valid filters: timestamp, type, actee |
|
|
page | Page of results to fetch |
|
|
results-per-page | Number of results per page |
|
|
order-direction | Order of the results: asc (default) or desc |
|
|
inline-relations-depth | 0 - don't inline any relations and return URLs. Otherwise, inline to depth N. |
|
|
orphan-relations | 0 - de-duplicate object entries in response |
|
|
exclude-relations | comma-delimited list of relations to drop from response |
|
|
include-relations | comma-delimited list of the only relations to include in response |
|
|
q: type:audit.app.ssh-unauthorized
Name | Description | Default | Valid Values | Example Values |
---|---|---|---|---|
guid | The guid of the event. |
|
|
|
type | The type of the event. |
|
|
|
actor | The GUID of the actor. |
|
|
|
actor_type | The actor type. |
|
|
|
actor_name | The name of the actor. |
|
|
|
actee | The GUID of the actee. |
|
|
|
actee_type | The actee type. |
|
|
|
actee_name | The name of the actee. |
|
|
|
timestamp | The event creation time. |
|
|
|
metadata | The additional information about event. | {} |
|
|
space_guid | The guid of the associated space. |
|
|
|
organization_guid | The guid of the associated organization. |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY3IiwiZW1haWwiOiJlbWFpbC0zNkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ0MjYwNjM3fQ.VaEXdtNnXpborj2nUPeElEy6X8cm9gStdMbqgdaM9LE Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/events?q=type:audit.app.ssh-unauthorized" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY3IiwiZW1haWwiOiJlbWFpbC0zNkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ0MjYwNjM3fQ.VaEXdtNnXpborj2nUPeElEy6X8cm9gStdMbqgdaM9LE" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "d0bcdbfe-bf85-4045-b37e-a60ea1ea6c7d", "url": "/v2/events/d0bcdbfe-bf85-4045-b37e-a60ea1ea6c7d", "created_at": "2015-09-30T23:30:37Z", "updated_at": null }, "entity": { "type": "audit.app.ssh-unauthorized", "actor": "uaa-id-66", "actor_type": "user", "actor_name": "user@example.com", "actee": "0498e660-88d6-4faf-a2ba-5b0d66eac077", "actee_type": "app", "actee_name": "name-937", "timestamp": "2015-09-30T23:30:37Z", "metadata": { "index": 1 }, "space_guid": "62849b44-30f8-4931-8bd1-b0710faab574", "organization_guid": "978b95f1-025b-4650-8024-22dbe8e77800" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 1af216c1-a448-45cc-8588-891574414ebc Content-Length: 865 X-Content-Type-Options: nosniff